Fix some niggling issues --- we have our first binary now!
This commit is contained in:
parent
b3b7c684c6
commit
95dd6f0141
|
@ -9,6 +9,7 @@
|
|||
* Stack: ( value tableaddr -- )
|
||||
*/
|
||||
|
||||
.sect .text
|
||||
.define .csa
|
||||
.csa:
|
||||
lw r4, 0(sp) /* r4 = table */
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
#
|
||||
.sect .text; .sect .rom; .sect .data; .sect .bss
|
||||
|
||||
.sect .rom
|
||||
|
||||
/* 2147483648 as a double; used as a pivot for double->unsigned and unsigned->double. */
|
||||
|
||||
.sect .rom
|
||||
.define .fd_80000000
|
||||
.fd_80000000:
|
||||
.data4 0x41e00000, 0
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
#
|
||||
.sect .text; .sect .rom; .sect .data; .sect .bss
|
||||
|
||||
.sect .rom
|
||||
|
||||
/* 2147483648 as a float; used as a pivot for double->float and unsigned->float. */
|
||||
|
||||
.sect .rom
|
||||
.define .ff_80000000
|
||||
.ff_80000000:
|
||||
.data4 0x4f000000
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
#
|
||||
.sect .text
|
||||
.sect .rom
|
||||
.sect .data
|
||||
.sect .bss
|
||||
|
||||
.sect .text
|
||||
.define .trap_ecase
|
||||
.trap_ecase:
|
||||
li r3, 20 ! ECASE = 20 in h/em_abs.h
|
||||
|
|
Loading…
Reference in a new issue