feat: stub mode 1 and 2

This commit is contained in:
2022-05-01 18:53:11 -03:00
parent 41558c9103
commit 12f9bb51c1
2 changed files with 48 additions and 1 deletions

View File

@@ -25,7 +25,7 @@ pub fn format78(comptime op: u2, comptime T: bool) InstrFn {
const rb = opcode >> 3 & 0x7;
const rd = opcode & 0x7;
const address = cpu.r[rb] + cpu.r[ro];
const address = cpu.r[rb] +% cpu.r[ro];
if (T) {
// Format 8