Nintendo GAME BOY Programming Manual page 65

Hide thumbs Also See for GAME BOY:
Table of Contents

Advertisement

2. Example of program that writes the above instructions to internal RAM starting from 0xFF80:
Label
LD
LD
LD
L2:
LD
LD
INC
DEC
JR
DMADATA
DB
DB
Instruction
C, 80H
B, 10
HL, DMADATA
A, (HLI)
(C), A
C
B
NZ, L2
3EH,
0C0H,
0E0H,
28H,
3DH,
20H,
65
Chapter 2: Display Functions
46H,
3EH
0FDH,
0C9H

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents