| Your Rating: |
![]() ![]() ![]() ![]()
|
Results: |
![]() ![]() ![]() ![]()
|
1 | rates |
The AVM2 instruction descriptions follow the following format.
Operation
Brief description of the instruction.
Format
A description of the instruction with any operands that appear with it in the code.
instruction
operand1
operand2
...
Forms
instruction = opcode
Stack
A description of the stack before and after the instruction is executed. The stack top is on the right; portions marked ... are not altered by the instruction.
..., value1, value2 => ..., value3
Description
A detailed description of the instruction, including information about the effect on the stack, information of the operands, result of the instruction, etc.
Runtime exceptions
A description of any errors that may be thrown by this instruction. A number of these instructions may invoke operations behind the scene. For example, name resolution can fail to find a name or it can resolve it ambiguously; value conversion can run arbitrary user code that may fail and therefore throw exceptions. To the program it will appear as if the instruction threw those exceptions, but they will not be noted in the description of the instruction.
Notes
Additional information that may be useful.
