diff options
Diffstat (limited to 'sux.c')
-rw-r--r-- | sux.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -286,7 +286,7 @@ void *run(void *args) { case SBC_IMM: /* SBC Immediate. */ case SBC_AB: /* SBC Absolute. */ case SBC_Z: /* SBC Zero Matrix. */ - cpu->a = sbc(cpu, cpu->a, value.u64, thread); + cpu->a = adc(cpu, cpu->a, ~value.u64, thread); break; case PLP_IMP: cpu->ps.u8[thread] = pull(cpu, 0, thread); break; /* PuLl Processor status from stack. */ case PLA_IMP: cpu->a = pull(cpu, size, thread); break; /* PuLl Accumulator from stack. */ |