Tabulka 29.32. Tabulka instrukcí Nagro VM
kód | instr. | slovo | PSP efekt | RSP efekt | popis |
---|---|---|---|---|---|
0 | NOP | nop | does nothing | ||
1 | LIT | nop | push a literal to the stack | ||
2 | DUP | dup | duplicate the top value on the stack | ||
3 | DROP |
| |||
4 | SWAP |
| |||
5 | PUSH | >R | |||
6 | POP | R> | |||
7 | CALL |
| |||
8 | JUMP |
| |||
9 | ; |
| return from a subroutine | ||
10 | >JUMP |
| |||
11 | <JUMP |
| |||
12 | !JUMP |
| |||
13 | =JUMP |
| |||
14 | @ |
| |||
15 | ! |
| |||
16 | + |
| |||
17 | - |
| |||
18 | * |
| |||
19 | /MOD |
| |||
20 | AND |
| |||
21 | OR |
| |||
22 | XOR |
| |||
23 | << |
| |||
24 | >> |
| |||
25 | 0; |
| |||
26 | 1+ |
| |||
27 | 1- |
| |||
28 | IN |
| |||
29 | OUT |
| |||
30 | WAIT |
|