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