Game Boy
TM
CPU Manual 1. Foreword
3. Game Boy command overview.........................61
3.1. Foreword......................................61
3.2. CPU Registers.................................61
3.2.1. Generally.................................61
3.2.2. Flag Register.............................62
3.2.3. Program Counter...........................63
3.2.4. Stack Pointer.............................63
3.3. Commands......................................65
3.3.1. 8-Bit Loads...............................65
3.3.2. 16-Bit Loads..............................76
3.3.3. 8-Bit ALU.................................80
3.3.4. 16-Bit Arithmetic.........................90
3.3.5. Miscellaneous.............................94
3.3.6. Rotates & Shifts..........................99
3.3.7. Bit Opcodes..............................108
3.3.8. Jumps....................................111
3.3.9. Calls....................................114
3.3.10. Restarts................................116
3.3.11. Returns.................................117
4. Super Game Boy commands..........................119
4.1. Foreword.....................................119
4.2. Palettes.....................................119
4.3. SGB Border...................................120
4.4. Main Action Window...........................121
4.5. Commands.....................................122
5. Appendix A.......................................134
5.1. Emulator Notes...............................134
5.2. Typical timing diagram.......................137
by DP Page 3