eZ80
®
CPU
User Manual
UM007714-0908 CPU Instruction Set
340
SET b, (IX/Y+d)
Set Bit
Operation
(IX/Y+d)[b] ← 1
Description
The (
IX/Y
+
d
) operand is an 8-bit value at the memory location specified by the contents
of the Index Register, IX or IY, added to the two’s-complement displacement
d
. Bit
b
this
8-bit value is set to 1.
Condition Bits Affected
None.
Attributes
kk = binary code 11 bbb 110; where bbb identifies the bit tested and assembled into the
object code, as indicated in Table 97.
Mnemonic Operand ADL Mode Cycle Opcode (hex)
SET b,(IX+d)X 5 DD, CB, dd, kk
SET.S b,(IX+d)1 6 52, DD, CB, dd, kk
SET.L b,(IX+d)0 6 49, DD, CB, dd, kk
SET b,(IY+d)X 5 FD, CB, dd, kk
SET.S b,(IY+d)1 6 52, FD, CB, dd, kk
SET.L b,(IY+d)0 6 49, FD, CB, dd, kk