kthacker | 6de6775 | 2006-04-17 15:02:26 +0000 | [diff] [blame] | 1 | ;; This is the header for Contiki program files |
| 2 | ;; |
| 3 | ;; This must always be at at the start of the file |
| 4 | ;; The order of the data must not change. |
| 5 | ;; |
| 6 | .globl _loader_appinit |
| 7 | .area _CODE |
| 8 | |
| 9 | _loader_arch_loadaddr:: |
| 10 | arch: .byte 0,0,0,0,0,1,1,1 |
| 11 | version: .byte 0,0,0,0,0,1,1,1 |
| 12 | |
| 13 | ;; The position of the init function can be anywhere in the file. |
| 14 | ;; This jump is always in the same place, and points to the actual init function. |
| 15 | call gsinit |
| 16 | jp _loader_appinit |