AAGDOS
Experienced Member
All,
Please excuse what appears to be a stupid question! Is my SBC messed up or am I messed up??? I am subtracting 02-05 = -03 = FD. But my code gives FC????
LDA $$05
STA $0350
LDA #$02
SBC $0350
BRK
SBC is supposed to be "Subtract Memory from Accumulator....", and I assume the result remains in the Accumulator. However after BRK, the Accumulator Register shows FC???
Any simple explanation would be helpful! Thanks
Anthony G
Please excuse what appears to be a stupid question! Is my SBC messed up or am I messed up??? I am subtracting 02-05 = -03 = FD. But my code gives FC????
LDA $$05
STA $0350
LDA #$02
SBC $0350
BRK
SBC is supposed to be "Subtract Memory from Accumulator....", and I assume the result remains in the Accumulator. However after BRK, the Accumulator Register shows FC???
Any simple explanation would be helpful! Thanks
Anthony G