.include "p24Hxxxx.inc"
.global __reset          ;The label for the first line of code.
         .data            ;unitialized data section
         .bss
.text                          ;Start of Code section
__reset:                       ; first instruction located at __reset label
       mov #__SP_init, w15     ;Initalize the Stack Pointer
       mov #__SPLIM_init,W0
       mov W0, SPLIM           ;Initialize the stack limit register
       rcall main              ;call main()
       reset                   ;start over
 ;__SP_init set by linker to be after allocated data
main:
done:                     ;do not return
       bra done
float_k: .double -28.75  ;double precision float
float_j: .single -28.75  ;single precision float
    .end