build: move float into zone section
This commit is contained in:
parent
a4761efed2
commit
a81c4be013
2 changed files with 2 additions and 3 deletions
|
|
@ -40,7 +40,7 @@
|
||||||
; ============================================================
|
; ============================================================
|
||||||
; CODE
|
; CODE
|
||||||
; ============================================================
|
; ============================================================
|
||||||
.section "float","acrx"
|
.section "zone","acrx"
|
||||||
; ------------------------------------------------------------
|
; ------------------------------------------------------------
|
||||||
; External routine you provide:
|
; External routine you provide:
|
||||||
; os_print_vec: prints ASCII character in A
|
; os_print_vec: prints ASCII character in A
|
||||||
|
|
@ -1615,7 +1615,7 @@ DIGLEN: .space 1
|
||||||
; 100000.0 = 143 43 50 00
|
; 100000.0 = 143 43 50 00
|
||||||
; 1000000.0= 146 74 24 00
|
; 1000000.0= 146 74 24 00
|
||||||
; ============================================================
|
; ============================================================
|
||||||
.section "float","acrx"
|
.section "zone","acrx"
|
||||||
pow10_table:
|
pow10_table:
|
||||||
.byte 127, 0x00, 0x00, 0x00 ; 10^0 = 1
|
.byte 127, 0x00, 0x00, 0x00 ; 10^0 = 1
|
||||||
.byte 130, 0x20, 0x00, 0x00 ; 10^1 = 10
|
.byte 130, 0x20, 0x00, 0x00 ; 10^1 = 10
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,6 @@ SECTIONS
|
||||||
{
|
{
|
||||||
.zone 0xA000 : { *(.zone) *(zone) }
|
.zone 0xA000 : { *(.zone) *(zone) }
|
||||||
.boot 0xC3C3 : { *(.boot) *(boot) }
|
.boot 0xC3C3 : { *(.boot) *(boot) }
|
||||||
.text 0xE000 : { *(.text) *(.float) *(float) }
|
|
||||||
.vectors 0xF000 : { *(.vectors) }
|
.vectors 0xF000 : { *(.vectors) }
|
||||||
.data 0x7000 : { *(.data) }
|
.data 0x7000 : { *(.data) }
|
||||||
.bss : { *(.bss) }
|
.bss : { *(.bss) }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue