You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
;
|
|
; 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
|
|
|
|
|