mirror of
https://github.com/cc65/cc65.git
synced 2025-02-03 07:30:52 +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)
|
||||
|
||||
L3: ldx #<__BSS_SIZE__
|
||||
beq L5
|
||||
L4: sta (ptr1),y
|
||||
iny
|
||||
dex
|
||||
bne L4
|
||||
L3: cpy #<__BSS_SIZE__
|
||||
beq L4
|
||||
sta (ptr1),y
|
||||
iny
|
||||
bne L3
|
||||
|
||||
; Done
|
||||
|
||||
L5: rts
|
||||
L4: rts
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user