mirror of
https://github.com/rkujawa/rk65c02.git
synced 2024-12-04 19:50:19 +00:00
13 lines
147 B
ArmAsm
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
|
|
|