Fixed a bug: Because of a wrong label position the code that cleared the
BSS was skipped. git-svn-id: svn://svn.cc65.org/cc65/trunk@1540 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -469,7 +469,7 @@ CalcSizes:
|
|||||||
; Control structure is complete now. Clear the bss segment.
|
; Control structure is complete now. Clear the bss segment.
|
||||||
; bzero (bss_addr, bss_size)
|
; bzero (bss_addr, bss_size)
|
||||||
|
|
||||||
lda Module
|
GotMem: lda Module
|
||||||
add TPtr
|
add TPtr
|
||||||
pha
|
pha
|
||||||
lda Module+1
|
lda Module+1
|
||||||
@@ -485,7 +485,7 @@ CalcSizes:
|
|||||||
; code+data segment is still in TPtr.
|
; code+data segment is still in TPtr.
|
||||||
; C->read (C, C->module, H.tlen + H.dlen)
|
; C->read (C, C->module, H.tlen + H.dlen)
|
||||||
|
|
||||||
GotMem: jsr PushCtrl
|
jsr PushCtrl
|
||||||
lda Module
|
lda Module
|
||||||
ldx Module+1
|
ldx Module+1
|
||||||
jsr pushax
|
jsr pushax
|
||||||
|
|||||||
Reference in New Issue
Block a user