]> git.sur5r.net Git - cc65/blob - libsrc/runtime/aslax4.s
Fix comments and TELEMON uppercase
[cc65] / libsrc / runtime / aslax4.s
1 ;
2 ; Ullrich von Bassewitz, 25.07.2001
3 ;
4 ; CC65 runtime: Scale the primary register by 16
5 ;
6
7         .export         aslax4, shlax4
8         .importzp       tmp1
9
10 aslax4:
11 shlax4: stx     tmp1
12         asl     a
13         rol     tmp1
14         asl     a
15         rol     tmp1
16         asl     a
17         rol     tmp1
18         asl     a
19         rol     tmp1
20         ldx     tmp1
21         rts
22