FIXME:
Tabulka 11.1. MuP21 Instruction Set
opcode | name | assembly | alternative |
---|---|---|---|
00 | JUMP | _jmp | jump, else, repeat, skip, .;' |
01 | ;' | _ret | |
02 | T=0 | _jz | if, while, until |
03 | C=0 | _jcz | -if, -while, -until |
04 | CALL | _call | <words defined by ':> |
05 | |||
06 | |||
07 | |||
08 | |||
09 | @+ | _ldp | |
0A | n | _lit | |
0B | @ | _ld | |
0C | |||
0D | !+ | _stp | |
0E | |||
0F | ! | _st | |
10 | COM | _com | |
11 | 2* | _shl | |
12 | 2/ | _shr | |
13 | +N | _addn | |
14 | -OR | _xor | |
15 | AND | _and | |
16 | |||
17 | + | _add | |
18 | POP | _pop | |
19 | A | _lda | |
1A | DUP | _dup | |
1B | |||
1C | PUSH | _push | |
1D | A! | _sta | |
1E | NOP | _nop | |
1F | DROP | _drop |