mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 04:30:10 +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:
parent
b3496bb343
commit
5cc79eaf15
@ -14,7 +14,7 @@
|
|||||||
ldy #1
|
ldy #1
|
||||||
lda (sp),y ; get hi byte
|
lda (sp),y ; get hi byte
|
||||||
tax ; into x
|
tax ; into x
|
||||||
.ifpc02
|
.ifpc02
|
||||||
lda (sp) ; get lo byte
|
lda (sp) ; get lo byte
|
||||||
.else
|
.else
|
||||||
dey
|
dey
|
||||||
@ -27,18 +27,15 @@
|
|||||||
|
|
||||||
.proc incsp2
|
.proc incsp2
|
||||||
|
|
||||||
ldy sp ; 3
|
inc sp ; 5
|
||||||
iny ; 2
|
beq @L1 ; 2
|
||||||
beq @L1 ; 2
|
inc sp ; 5
|
||||||
iny ; 2
|
beq @L2 ; 2
|
||||||
beq @L2 ; 2
|
rts
|
||||||
sty sp ; 3
|
|
||||||
rts
|
|
||||||
|
|
||||||
@L1: iny ; 2
|
@L1: inc sp ; 5
|
||||||
@L2: sty sp ; 3
|
@L2: inc sp+1 ; 5
|
||||||
inc sp+1 ; 5
|
rts
|
||||||
rts
|
|
||||||
|
|
||||||
.endproc
|
.endproc
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user