eZ80
®
CPU
User Manual
UM007714-0908 CPU Instruction Set
55
Table 28. Bit Manipulation Instructions
Mnemonic Instruction Page(s)
BIT Bit Test
106–110
RES Reset Bit 288–291
SET Set Bit 339–342
Table 29. Block Transfer and Compare Instructions
Mnemonic Instruction Page(s)
CPD (CPDR) Compare and Decrement (with
Repeat)
124–125
CPI (CPIR) Compare and Increment (with
Repeat)
126–127
LDD (LDDR) Load and Decrement (with Repeat) 238–239
LDI (LDIR) Load and Increment (with Repeat) 240–241
Table 30. Exchange Instructions
Mnemonic Instruction Page(s)
EX Exchange Registers
143–146
EXX Exchange CPU Multibyte Register
Banks
147
Table 31. Input/Output Instructions
Mnemonic Instruction Page(s)
IN Input from I/O
150–151
IN0 Input from I/O on Page 0 153
IND (INDR) Input from I/O and Decrement (with
Repeat)
163
INDRX Input from I/O and Decrement
Memory Address with Stationary I/O
Address
170
IND2 (IND2R) Input from I/O and Decrement (with
Repeat)
164–165