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
- LDX #0
- LDS #ROMSTART-1
- loop: PULA
- STAA 0,X
- INX
- CPX #RAMEND+1
- BNE loop
- LDS $4000 ;make SP non-zero
- JMP $E0E3 ;jump back to monitor
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement