mirror of
https://github.com/MiSTer-devel/GameAndWatch_MiSTer.git
synced 2026-05-24 03:03:25 +00:00
591 B
591 B
Example Instruction Exectutions
TMI x
- Read PC. Increment PC
- Decode. Push PC + 1 into stack registers. Set PC to immediate
Now IDX yz
3. Read PC. Increment PC (doesn't matter)
4. Set PC to immediate
TML xyz
- Read PC. Increment PC
- Decode. Push PC + 1 into stack registers. Set PC to immediate part one
- Set PC to immediate part 2
EXC x
- Read PC. Increment PC
- Decord. Set Acc to RAM value. Write old Acc to RAM. Set Bm to some pattern. Skip if Bl is 0xF Next cycle, Acc is being written to RAM, but it doesn't matter because we're reading the next PC