eZ80
®
CPU
User Manual
UM007714-0908 CPU Instruction Set
54
eZ80
®
CPU Instruction Classes
Mmn A 24-bit immediate data value
(Mmn) A 24-bit value indicating a location in memory at this
address
mn A 16-bit immediate data value
(mn) A 16-bit value indicating a location in memory at this
address
n 8-bit immediate data value
r or r’ 8-bit CPU register A, B, C, D, E, H, or L
rr 16- or 24-bit CPU register BC, DE, or HL
rxy 16- or 24-bit CPU register BC, DE, IX or IY
s 8-bit value
SP Stack Pointer. Indicates either the Stack Pointer Short
register (SPS) or the Stack Pointer Long register (SPL)
ss 8-, 16-, or 24-bit value, depending on instruction and
context
Table 27. Arithmetic Instructions
Mnemonic Instruction Page(s)
ADC Add with Carry
79–87
ADD Add without Carry 88–99
CP Compare with Accumulator 118–122
DAA Decimal Adjust Accumulator 129
DEC Decrement 132–139
INC Increment 155–162
MLT Multiply 246–247
NEG Negate Accumulator 248
SBC Subtract with Carry 329–337
SUB Subtract without Carry 357–361
Table 26. Instruction Notations (Continued)
Mnemonic Definition