diff --git a/src/cpu.zig b/src/cpu.zig index d249c3e..e0e2ed5 100644 --- a/src/cpu.zig +++ b/src/cpu.zig @@ -449,7 +449,7 @@ pub const Arm7tdmi = struct { const r12 = self.r[12]; const r13 = self.r[13]; const r14 = self.r[14]; - const r15 = self.r[15] -| if (self.cpsr.t.read()) 4 else @as(u32, 8); + const r15 = self.r[15] -| if (self.cpsr.t.read()) 2 else @as(u32, 4); const c_psr = self.cpsr.raw;