13 | write SEGA to 0xa14000 to convince the TMSS to run us
14 move.l #0x53454741, 0xa14000
17 | copy .data section from ROM to RAM
18 move.l #_data_lma, %a0
19 move.l #_data_start, %a1
20 move.l #_data_end, %a2
22 beq.s 1f | skip data copy if the section is empty
23 0: move.l (%a0)+, (%a1)+
28 | zero the .bss section
29 move.l #_bss_start, %a0
32 beq.s 1f | skip bss zeroing if the section is empty
38 | setup the stack pointer stack
39 move.l #_stacktop, %sp
40 | now that we have a stack, we can enable interrupts