Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- absentry inic
- ram equ $1000
- rom equ $4000
- nb equ 8
- vreset equ $fffe
- ; g + h = r
- org ram
- g ds.b 2
- h ds.b 2
- org ram + nb
- result ds.b 3
- org rom
- inic
- ldd g
- addd h
- std result + 1
- ldaa #0
- adca #0
- adda result
- bra inic
- ;-------------------------
- org vreset
- reset_ dc.w inic
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement