Octal opcode table

Game Boy CPU (SM83) instruction set

JSON
Misc / control Jumps / calls 8-bit loads 16-bit loads 8-bit ALU 16-bit ALU Rotate / bit

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.