Nintendo DMG-01 Manual - Page 65
Commands
View all Nintendo DMG-01 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 65 highlights
Game BoyTM CPU Manual 3.3. Commands 3.3. Commands The GameBoy CPU is based on a subset of the Z80 microprocessor. 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 Parameters B,n C,n D,n E,n H,n L,n Opcode 06 0E 16 1E 26 2E Cycles 8 8 8 8 8 8 by DP Page 65
Game Boy
TM
CPU Manual
3.3. Commands
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
Parameters
Opcode
Cycles
LD
B,n
06
8
LD
C,n
0E
8
LD
D,n
16
8
LD
E,n
1E
8
LD
H,n
26
8
LD
L,n
2E
8
by DP
Page 65