Advertisement
Guest User

Untitled

a guest
Aug 20th, 2016
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     .area   _HEADER (ABS)
  2.     ;; Reset vector
  3.     .org    0
  4.     jp  init
  5.  
  6.     .org    0x08
  7.     reti
  8.     .org    0x10
  9.     reti
  10.     .org    0x18
  11.     reti
  12.     .org    0x20
  13.     reti
  14.     .org    0x28
  15.     reti
  16.     .org    0x30
  17.     reti
  18.     .org    0x38
  19.     reti
  20.  
  21.     .org    0x40
  22. init:
  23.     ;; Stack at the top of memory.
  24.     ld  sp,#0xffff
  25.  
  26.     call    _main
  27.  
  28.     ;; Ordering of segments for the linker.
  29.     .area   _HOME
  30.     .area   _CODE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement