Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .area _HEADER (ABS)
- ;; Reset vector
- .org 0
- jp init
- .org 0x08
- reti
- .org 0x10
- reti
- .org 0x18
- reti
- .org 0x20
- reti
- .org 0x28
- reti
- .org 0x30
- reti
- .org 0x38
- reti
- .org 0x40
- init:
- ;; Stack at the top of memory.
- ld sp,#0xffff
- call _main
- ;; Ordering of segments for the linker.
- .area _HOME
- .area _CODE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement