Nintendo DMG-01 - Game Boy Console Manual page 7

Manual
Table of Contents

Advertisement

TM
Game Boy
CPU Manual
have been added and some have been taken away.
The following are added instructions:
ADD
SP,nn
LDI
(HL),A
LDD
(HL),A
LDI
A,(HL)
LDD
A,(HL)
LD
A,($FF00+nn)
LD
A,($FF00+C)
LD
($FF00+nn),A
LD
($FF00+C),A
LD
(nnnn),SP
LD
HL,SP+nn
STOP
SWAP r
The following instructions have been removed:
Any command that uses the IX or IY registers.
All IN/OUT instructions.
All exchange instructions.
All commands prefixed by ED (except remapped RETI).
All conditional jumps/calls/rets on parity/overflow
and sign flag.
The following instructions have different opcodes:
LD
A,[nnnn]
LD
[nnnn],A
RETI
by DP
;nn = signed byte
;Write A to (HL) and increment HL
;Write A to (HL) and decrement HL
;Write (HL) to A and increment HL
;Write (HL) to A and decrement HL
;nn = signed byte
;Stop processor & screen until
button press
;Swap high & low nibbles of r
2.4. Processor
Page 7

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Game boy

Table of Contents