1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-22 12:30:41 +00:00

Squeezed a few bytes out of the code

git-svn-id: svn://svn.cc65.org/cc65/trunk@2480 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2003-10-08 21:09:24 +00:00
parent b3496bb343
commit 5cc79eaf15

View File

@ -14,7 +14,7 @@
ldy #1
lda (sp),y ; get hi byte
tax ; into x
.ifpc02
.ifpc02
lda (sp) ; get lo byte
.else
dey
@ -27,18 +27,15 @@
.proc incsp2
ldy sp ; 3
iny ; 2
beq @L1 ; 2
iny ; 2
beq @L2 ; 2
sty sp ; 3
rts
inc sp ; 5
beq @L1 ; 2
inc sp ; 5
beq @L2 ; 2
rts
@L1: iny ; 2
@L2: sty sp ; 3
inc sp+1 ; 5
rts
@L1: inc sp ; 5
@L2: inc sp+1 ; 5
rts
.endproc