22 lines
600 B
NASM
22 lines
600 B
NASM
; data-native-entry.asm -- M7.1 `.data` gate entry for the native TI-COFF path.
|
|
;
|
|
; Same as data-entry.asm plus the odd-offset-pointer driver. The raw GSPA
|
|
; path cannot represent that record's pointer (data.sh asserts the loud
|
|
; diagnostic), so only the M4_NATIVE=1 run compiles and calls it.
|
|
.text
|
|
.globl _start
|
|
_start:
|
|
setf 16, 1, 0
|
|
setf 32, 0, 1
|
|
movi _cstack, a14
|
|
move a14, a13
|
|
calla _data_run
|
|
calla _data64_run
|
|
calla _data_odd_run
|
|
movi 5A5A5A5Ah, a0
|
|
movi 018A8780h, a2 ; marker 60, the post-return sentinel
|
|
move a0, *a2, 1
|
|
rets
|
|
|
|
.bss _cstack, 32768, 16 ; 32768 bits = 4096 bytes
|