
Z80 Instruction Set
UM008007-0715
252
Z80 CPU
User Manual
Example
If the HL register pair contains
3000h
, then upon the execution of a SET 4, (HL) instruc-
tion, bit 4 in memory location
3000h
is 1. Bit 0 in memory location
3000h
is the least-sig-
nificant bit.