Sharp LR35902 CPU - Miliox/goteborg GitHub Wiki
Sharp LR35902 CPU

Summary
Features |
Details |
Manufacturer |
Sharp |
Year |
1989 |
Bits |
8-bit |
Address Space |
16-bit |
8-bit Registers |
8 |
16-bit Registers |
16 |
Frequency |
4.19MHz |
Instruction Type |
# |
Bit Shift/Check |
258 |
8-bit Load/Move |
92 |
8-bit Arithmetic/Logic |
88 |
Jump/Call |
29 |
16-bit Load/Move |
15 |
16-bit Arithmetic/Logic |
13 |
Control/Miscellaneous |
6 |
UNDEFINED |
11 |
Total Instruction Set |
512 |
Registers |
Purpose |
Size |
A |
Accumulator |
8-bit |
F |
Flags |
8-bit |
AF |
CPU State |
16-bit |
B |
General |
8-bit |
C |
General |
8-bit |
BC |
General |
8-bit |
D |
General |
8-bit |
E |
General |
8-bit |
DE |
General |
16-bit |
H |
General |
8-bit |
L |
General |
8-bit |
HL |
Address Pointer |
16-bit |
SP |
Stack Pointer |
16-bit |
PC |
Program Counter |
16-bit |
IE |
Interrupt Enable |
1-bit |
Flags |
Mnemonic |
Description |
Z |
Zero |
Comparison Check. |
N |
Negative |
Subtraction Flag. |
C |
Carry |
Byte Overflow/Underflow. |
H |
Half-Carry |
Lower Nibble Overflow/Underflow. |
References
Gameboy CPU (LR35902) instruction set table
Duo Gameboy Dev
The Nintendo® Game Boy™, Part 1: The Intel 8080 and the Zilog Z80.