fix(cpu): properly decode multiply instructions

This commit is contained in:
2022-10-21 05:12:07 -03:00
parent 0778ee8dd7
commit e1fec48a0e
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});
}
}