mirror of
https://github.com/cc65/cc65.git
synced 2025-02-09 02:30:42 +00:00
Sqeezed one byte out of the zerobss routine:-)
git-svn-id: svn://svn.cc65.org/cc65/trunk@480 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
e3b2fcc78d
commit
33bd9b5b51
@ -32,16 +32,15 @@ L2: sta (ptr1),y
|
|||||||
|
|
||||||
; Clear remaining page (y is zero on entry)
|
; Clear remaining page (y is zero on entry)
|
||||||
|
|
||||||
L3: ldx #<__BSS_SIZE__
|
L3: cpy #<__BSS_SIZE__
|
||||||
beq L5
|
beq L4
|
||||||
L4: sta (ptr1),y
|
sta (ptr1),y
|
||||||
iny
|
iny
|
||||||
dex
|
bne L3
|
||||||
bne L4
|
|
||||||
|
|
||||||
; Done
|
; Done
|
||||||
|
|
||||||
L5: rts
|
L4: rts
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user