crtenutram.s 349 B

123456789101112131415161718192021
  1. ; make sure to assemble w/ -n flag, e.g.
  2. ; iasavr -n crt...
  3. .include "area.s"
  4. .text
  5. __start:: ; entry point
  6. .include "ethini.s"
  7. .include "extram.s"
  8. USE_ELPM = 0
  9. .include "init.s"
  10. ; call user main routine
  11. call _NutInit
  12. _exit::
  13. rjmp _exit
  14. ; interrupt vectors. The first entry is the reset vector
  15. ;
  16. .area vector(abs)
  17. .org 0
  18. jmp __start