17 lines
376 B
NASM
17 lines
376 B
NASM
; mul-entry.asm -- M4 multiply/divide and -O2 loop test entry.
|
|
;
|
|
; Calls the multiply/divide and loop translation units. Markers written by
|
|
; mul.c and loop.c live at 0x018A8000 + n*0x20.
|
|
.text
|
|
.globl _start
|
|
_start:
|
|
setf 16, 1, 0
|
|
setf 32, 0, 1
|
|
movi _cstack, a14
|
|
move a14, a13
|
|
calla _mul_test
|
|
calla _loop_test
|
|
rets
|
|
|
|
.bss _cstack, 32768, 16 ; 32768 bits = 4096 bytes
|