Difference between revisions of "VM for transfer"

From Apertium
Jump to navigation Jump to search
Line 2: Line 2:


{| class="wikitable" border="1"
{| class="wikitable" border="1"
! Mnemonic !! Opcode<br>''(in hex)'' !! Other bytes !! Stack<br>[before]&rarr;[after] !! Description
! Mnemonic !! Opcode<br>''(in hex)'' !! Other operands !! Stack<br>[before]&rarr;[after] !! Description
|-
|-
| push || - || value || &rarr; value || Pushes a value in the stack
| push || - || value || &rarr; value || Pushes a value in the stack

Revision as of 05:39, 7 May 2010

Instruction Sets

Mnemonic Opcode
(in hex)
Other operands Stack
[before]→[after]
Description
push - value → value Pushes a value in the stack
jmp - N/A label → Jumps to the label
hlt - N/A Halts the program