]> git.sur5r.net Git - cc65/blob - libsrc/runtime/aslax3.s
This commit was generated by cvs2svn to compensate for changes in r2,
[cc65] / libsrc / runtime / aslax3.s
1 ;
2 ; Ullrich von Bassewitz, 06.08.1998
3 ;
4 ; CC65 runtime: Scale the primary register by 8
5 ;
6
7         .export         aslax3, shlax3
8         .importzp       tmp1
9
10 aslax3:
11 shlax3: stx     tmp1
12         asl     a
13         rol     tmp1
14         asl     a
15         rol     tmp1
16         asl     a
17         rol     tmp1
18         ldx     tmp1
19         rts
20