Octal opcode table
Game Boy CPU (SM83) instruction set
Unprefixed
Base opcodes, arranged in octal rows and columns.
Prefixed ($CB $xx)
CB-prefixed rotate, shift, bit, reset, and set instructions.
Notes
- Z
- Zero flag
- N
- Subtract flag
- H
- Half carry flag
- C
- Carry flag
- 0
- The flag is reset
- 1
- The flag is set
- -
- The flag is left untouched
Conditional calls and returns show taken/not-taken timings separated by a slash. Instruction durations are displayed in T-states.