Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SIZE EQU $1B01
- RAMSTART EQU $0000
- RAMEND EQU RAMSTART+SIZE
- ROMSTART EQU $C000
- ROMEND EQU ROMSTART+SIZE
- LOADSTART EQU $1C00
- ORG $A048 ;location of address for "goto"
- FDB LOADSTART
- ORG LOADSTART
- LDS #RAMEND
- LDX #ROMEND
- loop: LDAA 0,X
- PSHA
- DEX
- BNE loop
- LDAA 0,X
- PSHA
- LDS $4000 ;make SP non-zero
- JMP $E0E3 ;jump back to monitor
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement