fix(cpu): properly decode multiply instructions

This commit is contained in:
2022-01-30 02:16:12 -04:00
parent a459d4b433
commit dd632975f8
2 changed files with 8 additions and 8 deletions

View File

@@ -58,7 +58,7 @@ pub fn halfAndSignedDataTransfer(comptime P: bool, comptime U: bool, comptime I:
// STRH
bus.write16(address, @truncate(u16, cpu.r[rd]));
} else {
std.debug.panic("[CPU] TODO: Figure out if this is also SWP", .{});
std.debug.print("[CPU|ARM|SignedDataTransfer] {X:0>8} was improperly decoded", .{opcode});
}
}