1
0
mirror of https://github.com/rkujawa/rk65c02.git synced 2024-12-04 19:50:19 +00:00
rk65c02/test/test_emulation_adc_bcd.s
2017-02-11 22:36:57 +01:00

13 lines
147 B
ArmAsm

; somewhat inspired by http://www.6502.org/tutorials/decimal_mode.html
start: sed
sec
lda #0x58
adc #0x46
sta 0x10
php
plx
stx 0x11
stp