feat: implement LDR STR

This commit is contained in:
2021-12-29 17:16:32 -06:00
parent 7cc3f40a85
commit c660ca8922
4 changed files with 24 additions and 6 deletions

View File

@@ -27,8 +27,8 @@ pub const ARM7TDMI = struct {
pub inline fn step(self: *@This()) u64 {
const opcode = self.fetch();
// Debug
std.debug.print("R15: 0x{X:}\n", .{opcode});
std.debug.print("R15: 0x{X:}\n", .{opcode}); // Debug
ARM_LUT[armIdx(opcode)](self, self.bus, opcode);