diff --git a/src/core/cpu.zig b/src/core/cpu.zig index b2c6ef3..541a88a 100644 --- a/src/core/cpu.zig +++ b/src/core/cpu.zig @@ -548,6 +548,8 @@ pub const Arm7tdmi = struct { std.debug.print("spsr: 0x{X:0>8} ", .{self.spsr.raw}); prettyPrintPsr(&self.spsr); + std.debug.print("pipeline: {??X:0>8}\n", .{self.pipe.stage}); + if (self.cpsr.t.read()) { const opcode = self.bus.dbgRead(u16, self.r[15] - 4); const id = thumb.idx(opcode);