pushwsp.s



;
; Ullrich von Bassewitz, 31.08.1998
;
; CC65 runtime: Load word from stack slot and push
;

       	.export		pushwysp, pushw0sp
      	.import		pushax
      	.importzp	sp

pushw0sp:
      	ldy	#1
pushwysp:
      	lda	(sp),y		; get hi byte
      	tax
      	dey
      	lda	(sp),y		; get lo byte
       	jmp	pushax		; push that




Valid HTML 4.0! pushwsp.s.html; generated on Sat Oct 13 22:41:32 2001 by ca65html
uz@cc65.org