2001-07-25 21:36:01 +00:00
|
|
|
;
|
|
|
|
; Ullrich von Bassewitz, 25.07.2001
|
|
|
|
;
|
|
|
|
; CC65 runtime: Scale the primary register by 16
|
|
|
|
;
|
|
|
|
|
2013-05-09 13:56:54 +02:00
|
|
|
.export aslax4, shlax4
|
|
|
|
.importzp tmp1
|
2001-07-25 21:36:01 +00:00
|
|
|
|
|
|
|
aslax4:
|
2013-05-09 13:56:54 +02:00
|
|
|
shlax4: stx tmp1
|
|
|
|
asl a
|
|
|
|
rol tmp1
|
|
|
|
asl a
|
|
|
|
rol tmp1
|
|
|
|
asl a
|
|
|
|
rol tmp1
|
|
|
|
asl a
|
|
|
|
rol tmp1
|
|
|
|
ldx tmp1
|
|
|
|
rts
|
2001-07-25 21:36:01 +00:00
|
|
|
|