| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | General Opcodes | |||||||||||||||||||||||||
2 | Code | Name | Description | |||||||||||||||||||||||
3 | 0 | J | Jump with operand offset from instruction pointer | |||||||||||||||||||||||
4 | 1 | LDLP | Load pointer from an address relative to the workspace pointer | |||||||||||||||||||||||
5 | 2 | PFIX | Prefix the lower nibble of the next instruction | |||||||||||||||||||||||
6 | 3 | LDNL | Load data from an address relative to the top of the stack | |||||||||||||||||||||||
7 | 4 | LDC | Load a constant value | |||||||||||||||||||||||
8 | 5 | LDNLP | Load pointer from an address relative to the top of the stack | |||||||||||||||||||||||
9 | 6 | NFIX | Prefix and negate the lower nibble of the next instruction | |||||||||||||||||||||||
10 | 7 | LDL | Load data from an address relative to the workspace pointer | |||||||||||||||||||||||
11 | 8 | ADC | Add a constant to the topmost element | |||||||||||||||||||||||
12 | 9 | CALL | Push instruction pointer and perform a jump | |||||||||||||||||||||||
13 | A | CJ | Perform a conditional jump based on the topmost element | |||||||||||||||||||||||
14 | B | AJW | Adjust workspace | |||||||||||||||||||||||
15 | C | EQC | Test if the topmost element equals a constant | |||||||||||||||||||||||
16 | D | STL | Store data to an address relative to the workspace pointer | |||||||||||||||||||||||
17 | E | STNL | Store the topmost element to an address relative to the top of the stack | |||||||||||||||||||||||
18 | F | OPR | Used to execute zero-operand instructions which are listed below | |||||||||||||||||||||||
19 | ||||||||||||||||||||||||||
20 | OPR Codes | |||||||||||||||||||||||||
21 | Code | Name | Description | |||||||||||||||||||||||
22 | 00 | REV | Swap the two topmost elements | |||||||||||||||||||||||
23 | 01 | LB | Load byte | |||||||||||||||||||||||
24 | 02 | BSUB | Byte subscript | |||||||||||||||||||||||
25 | 03 | ENDP | End process | |||||||||||||||||||||||
26 | 04 | DIFF | Find the difference between the two topmost elements | |||||||||||||||||||||||
27 | 05 | ADD | Add the two topmost elements | |||||||||||||||||||||||
28 | 06 | GCALL | Perform a CALL on the topmost element | |||||||||||||||||||||||
29 | 07 | IN | Load from input | |||||||||||||||||||||||
30 | 08 | PROD | Find the product of the two topmost elements | |||||||||||||||||||||||
31 | 09 | GT | Perform a greater-than operation on the two topmost elements | |||||||||||||||||||||||
32 | 0A | WSUB | Word subscript | |||||||||||||||||||||||
33 | 0B | OUT | Store to output | |||||||||||||||||||||||
34 | 0C | SUB | Subtract the two topmost elements | |||||||||||||||||||||||
35 | 0D | STARTP | Start process | |||||||||||||||||||||||
36 | 0E | OUTB | Store byte to output | |||||||||||||||||||||||
37 | 0F | OUTW | Store word to output | |||||||||||||||||||||||
38 | ||||||||||||||||||||||||||
39 | Extended OPR Codes | |||||||||||||||||||||||||
40 | Code | Name | Description | |||||||||||||||||||||||
41 | 10 | NOR | Perform a bitwise NOR on the two topmost elements | |||||||||||||||||||||||
42 | 11 | OR | Perform a bitwise OR on the two topmost elements | |||||||||||||||||||||||
43 | 12 | AND | Perform a bitwise AND on the two topmost elements | |||||||||||||||||||||||
44 | 13 | XOR | Perform a bitwise XOR on the two topmost elements | |||||||||||||||||||||||
45 | 14 | SHR | Perform a bitwise right shift on the topmost element | |||||||||||||||||||||||
46 | ||||||||||||||||||||||||||
47 | ||||||||||||||||||||||||||
48 | ||||||||||||||||||||||||||
49 | ||||||||||||||||||||||||||
50 | ||||||||||||||||||||||||||
51 | ||||||||||||||||||||||||||
52 | ||||||||||||||||||||||||||
53 | ||||||||||||||||||||||||||
54 | ||||||||||||||||||||||||||
55 | ||||||||||||||||||||||||||
56 | ||||||||||||||||||||||||||
57 | ||||||||||||||||||||||||||
58 | ||||||||||||||||||||||||||
59 | ||||||||||||||||||||||||||
60 | ||||||||||||||||||||||||||
61 | ||||||||||||||||||||||||||
62 | ||||||||||||||||||||||||||
63 | ||||||||||||||||||||||||||
64 | ||||||||||||||||||||||||||
65 | ||||||||||||||||||||||||||
66 | ||||||||||||||||||||||||||
67 | ||||||||||||||||||||||||||
68 | ||||||||||||||||||||||||||
69 | ||||||||||||||||||||||||||
70 | ||||||||||||||||||||||||||
71 | ||||||||||||||||||||||||||
72 | ||||||||||||||||||||||||||
73 | ||||||||||||||||||||||||||
74 | ||||||||||||||||||||||||||
75 | ||||||||||||||||||||||||||
76 | ||||||||||||||||||||||||||
77 | ||||||||||||||||||||||||||
78 | ||||||||||||||||||||||||||
79 | ||||||||||||||||||||||||||
80 | ||||||||||||||||||||||||||
81 | ||||||||||||||||||||||||||
82 | ||||||||||||||||||||||||||
83 | ||||||||||||||||||||||||||
84 | ||||||||||||||||||||||||||
85 | ||||||||||||||||||||||||||
86 | ||||||||||||||||||||||||||
87 | ||||||||||||||||||||||||||
88 | ||||||||||||||||||||||||||
89 | ||||||||||||||||||||||||||
90 | ||||||||||||||||||||||||||
91 | ||||||||||||||||||||||||||
92 | ||||||||||||||||||||||||||
93 | ||||||||||||||||||||||||||
94 | ||||||||||||||||||||||||||
95 | ||||||||||||||||||||||||||
96 | ||||||||||||||||||||||||||
97 | ||||||||||||||||||||||||||
98 | ||||||||||||||||||||||||||
99 | ||||||||||||||||||||||||||
100 | ||||||||||||||||||||||||||