Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- absentry inic
- ram equ $1000
- rom equ $4000
- nb equ $10
- sz equ 8
- vreset equ $fffe
- org ram
- m ds.b sz
- org ram + nb
- n ds.b sz
- ; copie m em n
- org rom
- inic
- ldx #m - 1
- ldy #n - 1
- nxt ldaa 1, +x
- staa 1, +y
- cpx #m + sz - 1
- bne nxt
- bra inic
- ;-------------------------
- org vreset
- reset_ dc.w inic
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement