save 3 bytes, patch by Daniel Serpell
git-svn-id: svn://svn.cc65.org/cc65/trunk@4476 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
2011f92c3a
commit
314984aae4
1 changed files with 4 additions and 5 deletions
|
@ -27,12 +27,11 @@
|
|||
|
||||
.proc _open
|
||||
|
||||
cpy #4 ; correct # of arguments (bytes)?
|
||||
dey ; parm count < 4 shouldn't be needed to be checked
|
||||
dey ; (it generates a c compiler warning)
|
||||
dey
|
||||
dey
|
||||
beq parmok ; parameter count ok
|
||||
tya ; parm count < 4 shouldn't be needed to be checked
|
||||
sec ; (it generates a c compiler warning)
|
||||
sbc #4
|
||||
tay
|
||||
jsr addysp ; fix stack, throw away unused parameters
|
||||
|
||||
parmok: jsr findfreeiocb
|
||||
|
|
Loading…
Add table
Reference in a new issue