head.S 208 B

1234567891011121314
  1. #include "sys.h"
  2. // The linker ensures that section .init is first
  3. .section ".init","ax"
  4. .org 0
  5. .globl _reset
  6. _reset:
  7. li sp,SRAM_SIZE
  8. j _start
  9. .org 0x10
  10. .globl _irq
  11. _irq:
  12. j die // Nothing for now