Added some 65C02 code
git-svn-id: svn://svn.cc65.org/cc65/trunk@487 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
d09bf73a96
commit
4f0664bea0
1 changed files with 4 additions and 0 deletions
|
@ -14,8 +14,12 @@ pushaysp:
|
||||||
pusha: ldy sp
|
pusha: ldy sp
|
||||||
beq @L1
|
beq @L1
|
||||||
dec sp
|
dec sp
|
||||||
|
.ifpc02
|
||||||
|
sta (sp)
|
||||||
|
.else
|
||||||
ldy #0
|
ldy #0
|
||||||
sta (sp),y
|
sta (sp),y
|
||||||
|
.endif
|
||||||
rts
|
rts
|
||||||
|
|
||||||
@L1: dec sp+1
|
@L1: dec sp+1
|
||||||
|
|
Loading…
Add table
Reference in a new issue