sadisasm -input FILE [-external FILE] -output PATH -opcode FILE [-text FILE] [-data FILE] [-nowait] [-split none|missions|threads]
Threads, missions & externals are contained in blocks (thread|mission|extern NAME ... end). Variables defined outside of these blocks become globals, those defined inside become locals. Variables are defined with: int|float|name|string|timer NAME, NAME, .... Labels are defined by a name followed by a colon (NAME:).
Commands are given by either a keyword or a hexadecimal opcode number (preceded by an exclamation mark to negate), followed by its parameters. These parameters can be variable names, label names, mission names, external names, integers, floats (containing a decimal point), model names (preceded by a percent sign), names (enclosed in double quotes) or strings (enclosed in single quotes).
The ini file contains a single section ('[opcodes]'). This section has lines in the following format: HexOpcode=NumParams,OpcodeName,ParamName,ParamName,...
The parameter names are optional. The first character of a parameter name should indicate its type: