crtenut.s 328 B

1234567891011121314151617181920
  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. USE_ELPM = 0
  8. .include "init.s"
  9. ; call user main routine
  10. call _NutInit
  11. _exit::
  12. rjmp _exit
  13. ; interrupt vectors. The first entry is the reset vector
  14. ;
  15. .area vector(abs)
  16. .org 0
  17. jmp __start