2 ; Ullrich von Bassewitz, 31.08.1998
4 ; CC65 runtime: Load ax from offset in stack
7 .export ldax0sp, ldaxysp
10 ; Beware: The optimizer knows about the value in Y after return!
15 lda (sp),y ; get high byte
17 bne L1 ; Try to generate FAST code
18 dey ; point to lo byte
19 lda (sp),y ; load low byte