Difference between revisions of "VM for transfer"

From Apertium
Jump to navigation Jump to search
Line 4: Line 4:
 
! Mnemonic !! Opcode<br>''(in hex)'' !! Other bytes !! Stack<br>[before]&rarr;[after] !! Description
 
! Mnemonic !! Opcode<br>''(in hex)'' !! Other bytes !! Stack<br>[before]&rarr;[after] !! Description
 
|-
 
|-
| cell || cell || cell || cell || cell
+
| push || - || value || -> value || Pushes a value in the stack
 
|-
 
|-
| cell || cell || cell || cell || cell
+
| jmp || - || || label -> || Jumps to the label
 
|}
 
|}

Revision as of 05:31, 7 May 2010

Instruction Sets

Mnemonic Opcode
(in hex)
Other bytes Stack
[before]→[after]
Description
push - value -> value Pushes a value in the stack
jmp - label -> Jumps to the label