]> git.sur5r.net Git - cc65/blob - libsrc/runtime/call.s
This commit was generated by cvs2svn to compensate for changes in r2,
[cc65] / libsrc / runtime / call.s
1 ;
2 ; Ullrich von Bassewitz, 06.08.1998
3 ;
4 ; CC65 runtime: call function via pointer in ax
5 ;
6
7         .export         callax
8         .importzp       ptr1
9
10 callax: sta     ptr1
11         stx     ptr1+1
12         jmp     (ptr1)          ; jump there
13