mirror of
https://github.com/cc65/cc65.git
synced 2026-04-26 13:18:31 +00:00
Split of the lruntime module
git-svn-id: svn://svn.cc65.org/cc65/trunk@427 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
;
|
||||
; Ullrich von Bassewitz, 22.06.1998
|
||||
;
|
||||
; CC65 runtime: Push a long from somewhere in the stack
|
||||
;
|
||||
|
||||
|
||||
.export pushlysp
|
||||
.import pusheax
|
||||
.importzp sreg, sp
|
||||
|
||||
.proc pushlysp
|
||||
|
||||
iny
|
||||
iny
|
||||
lda (sp),y
|
||||
iny
|
||||
sta sreg
|
||||
lda (sp),y
|
||||
sta sreg+1
|
||||
dey
|
||||
dey
|
||||
lda (sp),y
|
||||
dey
|
||||
tax
|
||||
lda (sp),y
|
||||
jmp pusheax
|
||||
|
||||
.endproc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user