Search found 2 matches

Return to advanced search

thanks for the hint! I simply forgot to clear the carry flag.. :oops:
by WengWeng
Mar Mon 09, 2009 7:25 am
 
Forum: Troubleshooting
Topic: accumulator result
Replies: 1
Views: 6805

accumulator result

maybe a stupid question, but can anyone explain me, why the accumulator always add 1 more? if I assemble and execute the following code (in krusader) I became 9 in address 0000 in stead of 8...

000 LDA #$3
001 ADC #$5
002 STA $00
003 RTS

note: I have a replica TE
by WengWeng
Mar Mon 09, 2009 4:51 am
 
Forum: Troubleshooting
Topic: accumulator result
Replies: 1
Views: 6805

Return to advanced search

cron