TM
Game Boy
CPU Manual
3.3. Commands
The GameBoy CPU is based on a subset of the Z80 micro-
processor. A summary of these commands is given below.
If 'Flags affected' is not given for a command then
none are affected.
3.3.1. 8-Bit Loads
1. LD nn,n
Description:
Put value nn into n.
Use with:
nn = B,C,D,E,H,L,BC,DE,HL,SP
n = 8 bit immediate value
Opcodes:
Instruction
LD
LD
LD
LD
LD
LD
by DP
Parameters
B,n
C,n
D,n
E,n
H,n
L,n
Opcode
Cycles
06
8
0E
8
16
8
1E
8
26
8
2E
8
3.3. Commands
Page 65