Skip to content

Instantly share code, notes, and snippets.

View wmarshpersonal's full-sized avatar

wmarshpersonal

View GitHub Profile
@wmarshpersonal
wmarshpersonal / prefixed.yaml
Created November 4, 2025 08:30
Game Boy CPU opcodes in terms of each cycle's ALU, Addr, IDU, Data & Misc operation
# CPU unit-level operations for each cycle of each prefixed (i.e. CB) Game Boy opcode.
# Based on the instruction set chapter from "Game Boy: Complete Technical Reference" (https://github.com/Gekkio/gb-ctr)
- name: RLC B
code: 0
steps:
- addr: PC
idu: PC ← PC + 1
data: IR ← mem
alu: B ← rlc B
- name: RLC C