Instructions by Name
| Name |
Opcode |
Bytes |
Description |
| ACI |
0x24 |
2 |
add immediate to A with carry |
| ACM |
0x25 |
2 |
add memory to A with carry |
| ADI |
0x20 |
2 |
add immediate to A |
| ADM |
0x21 |
2 |
add memory to A |
| ASL |
0x0a |
1 |
arithmetic shift left A |
| CLF |
0x0c |
1 |
clear carry and zero flags |
| CPI |
0x28 |
2 |
compare immediate to A |
| CPM |
0x29 |
2 |
compare memory to A |
| CYN |
0x3f |
1 |
can you not |
| DCA |
0x08 |
1 |
decrement A |
| DCS |
0x1e |
1 |
decrement SP |
| INA |
0x07 |
1 |
increment A |
| INS |
0x1d |
1 |
increment SP |
| JC |
0x11 |
2 |
jump on Carry |
| JEQ |
0x12 |
2 |
jump if equal |
| JGE |
0x11 |
2 |
jump if greater or equal |
| JLT |
0x13 |
2 |
jump if less than |
| JMP |
0x10 |
2 |
jump unconditional |
| JNC |
0x13 |
2 |
jump on no Carry |
| JNE |
0x14 |
2 |
jump if not equal |
| JNZ |
0x14 |
2 |
jump on no Zero |
| JSR |
0x17 |
2 |
jump to subroutine |
| JZ |
0x12 |
2 |
jump on Zero |
| LAI |
0x02 |
2 |
load A immediate |
| LAM |
0x03 |
2 |
load A from memory |
| LAX |
0x0e |
1 |
load A indexed by SP |
| NOP |
0x00 |
1 |
no operation |
| NOT |
0x09 |
1 |
NOT A |
| OUT |
0x01 |
1 |
output A |
| PHA |
0x15 |
1 |
push A |
| PLA |
0x16 |
1 |
pull A |
| RC |
0x19 |
1 |
return if carry |
| REQ |
0x1a |
1 |
return if equal |
| RGE |
0x19 |
1 |
return if greater or equal |
| RLT |
0x1b |
1 |
return if less than |
| RNC |
0x1b |
1 |
return if not carry |
| RNE |
0x1c |
1 |
return if not equal |
| RNZ |
0x1c |
1 |
return if not zero |
| RTS |
0x18 |
1 |
return from subroutine |
| RZ |
0x1a |
1 |
return if zero |
| SAM |
0x04 |
2 |
store A to memory |
| SAX |
0x0f |
1 |
store A indexed by SP |
| SBI |
0x22 |
2 |
subtract immediate from A |
| SBM |
0x23 |
2 |
subtract memory from A |
| SCI |
0x26 |
2 |
subtract immediate from A with carry |
| SCM |
0x27 |
2 |
subtract memory from A with carry |
| SEF |
0x0d |
1 |
set carry and zero flags |
| TAS |
0x05 |
1 |
transfer A to SP |
| TSA |
0x06 |
1 |
transfer SP to A |
| TST |
0x0b |
1 |
test A |
Instructions by Opcode
| Opcode |
Name |
Bytes |
Description |
| 0x00 |
NOP |
1 |
no operation |
| 0x01 |
OUT |
1 |
output A |
| 0x02 |
LAI |
2 |
load A immediate |
| 0x03 |
LAM |
2 |
load A from memory |
| 0x04 |
SAM |
2 |
store A to memory |
| 0x05 |
TAS |
1 |
transfer A to SP |
| 0x06 |
TSA |
1 |
transfer SP to A |
| 0x07 |
INA |
1 |
increment A |
| 0x08 |
DCA |
1 |
decrement A |
| 0x09 |
NOT |
1 |
NOT A |
| 0x0a |
ASL |
1 |
arithmetic shift left A |
| 0x0b |
TST |
1 |
test A |
| 0x0c |
CLF |
1 |
clear carry and zero flags |
| 0x0d |
SEF |
1 |
set carry and zero flags |
| 0x0e |
LAX |
1 |
load A indexed by SP |
| 0x0f |
SAX |
1 |
store A indexed by SP |
| 0x10 |
JMP |
2 |
jump unconditional |
| 0x11 |
JC |
2 |
jump on Carry |
| 0x11 |
JGE |
2 |
jump if greater or equal |
| 0x12 |
JZ |
2 |
jump on Zero |
| 0x12 |
JEQ |
2 |
jump if equal |
| 0x13 |
JNC |
2 |
jump on no Carry |
| 0x13 |
JLT |
2 |
jump if less than |
| 0x14 |
JNZ |
2 |
jump on no Zero |
| 0x14 |
JNE |
2 |
jump if not equal |
| 0x15 |
PHA |
1 |
push A |
| 0x16 |
PLA |
1 |
pull A |
| 0x17 |
JSR |
2 |
jump to subroutine |
| 0x18 |
RTS |
1 |
return from subroutine |
| 0x19 |
RC |
1 |
return if carry |
| 0x19 |
RGE |
1 |
return if greater or equal |
| 0x1a |
RZ |
1 |
return if zero |
| 0x1a |
REQ |
1 |
return if equal |
| 0x1b |
RNC |
1 |
return if not carry |
| 0x1b |
RLT |
1 |
return if less than |
| 0x1c |
RNZ |
1 |
return if not zero |
| 0x1c |
RNE |
1 |
return if not equal |
| 0x1d |
INS |
1 |
increment SP |
| 0x1e |
DCS |
1 |
decrement SP |
| 0x20 |
ADI |
2 |
add immediate to A |
| 0x21 |
ADM |
2 |
add memory to A |
| 0x22 |
SBI |
2 |
subtract immediate from A |
| 0x23 |
SBM |
2 |
subtract memory from A |
| 0x24 |
ACI |
2 |
add immediate to A with carry |
| 0x25 |
ACM |
2 |
add memory to A with carry |
| 0x26 |
SCI |
2 |
subtract immediate from A with carry |
| 0x27 |
SCM |
2 |
subtract memory from A with carry |
| 0x28 |
CPI |
2 |
compare immediate to A |
| 0x29 |
CPM |
2 |
compare memory to A |
| 0x3f |
CYN |
1 |
can you not |
this file was generated by sap-plus-instructions.py at 19-Jul-2025 23:21:16