iasl —
Intel ASL compiler and disassembler (iASL)
  
    | iasl | [options] ⟨input
      file⟩ | 
The iasl is a fully-featured compiler for the ACPI
  Source Language (ASL). It translates ASL to ACPI Machine Language (AML), but
  iasl can also act as a disassembler, translating AML
  to ASL.
  - -@file
- Specify command file.
- -Idir
- Specify additional include directory.
 
  - -pprefix
- Specify a path or filename prefix for all output
      files.
- -va
- Disable all errors and warnings in the summary.
- -vi
- Use less verbose errors and warnings.
- -vo
- Enable optimization comments.
- -vr
- Disable remarks.
- -vs
- Disable signon.
- -w1 | 2 |
    3
- Set warning reporting level.
 
  - -sa | c
- Create AML in assembler (*.asm) or C
      (*.c) source file.
- -ia | c
- Create assembler (*.inc) or C
      (*.h) include file.
- -ta | c
- Create AML in assembler or C hex table
    (*.hex).
 
  - -oa
- Disable all optimizations (compatibility mode).
- -of
- Disable constant folding.
- -oi
- Disable integer optimization to operation codes.
- -on
- Disable named reference string optimization.
- -rrevision
- Override table header revision (1-255).
 
  - -l
- Create mixed, ASL and AML, listing file
    (*.lst).
- -ln
- Create namespace file (*.nsp).
- -ls
- Create combined source file (*.src).
 
  - -dfile
- Disassemble binary ACPI table to a file
      (*.dsl).
- -dcfile
- Disassemble AML and immediately compile it.
- -ef1, f2
- Include ACPI table(s) for external symbol resolution.
- -2
- Emit ACPI 2.0 compatible ASL code.
- -g
- Get ACPI tables and write to files (*.dat).
 
  - -h
- Display additional help and compiler debug options.
- -hc
- Display operators allowed in constant expressions.
- -hr
- Display ACPI reserved method names.
 
The iasl compiler/disassembler is part of the Intel ACPI
  Component Architecture (ACPICA). It first appeared in NetBSD
  6.0.