X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=libsrc%2Fruntime%2Fasrax3.s;h=52a2f375c15276fcffaa4c67daeab19341d13107;hb=85885001b133e2dc320b6f6459259afa69784ca8;hp=ee3e9f0911bac6a233de8950979f9cec96f7667f;hpb=44fd1082ae807a0b6b4046c65914e20a7e27101c;p=cc65 diff --git a/libsrc/runtime/asrax3.s b/libsrc/runtime/asrax3.s index ee3e9f091..52a2f375c 100644 --- a/libsrc/runtime/asrax3.s +++ b/libsrc/runtime/asrax3.s @@ -5,19 +5,19 @@ ; CC65 runtime: Scale the primary register by 8 ; - .export asrax3 - .importzp tmp1 + .export asrax3 + .importzp tmp1 -asrax3: stx tmp1 - cpx #$80 ; Put bit 7 into carry - ror tmp1 - ror a - cpx #$80 - ror tmp1 - ror a - cpx #$80 - ror tmp1 - ror a - ldx tmp1 - rts +asrax3: stx tmp1 + cpx #$80 ; Put bit 7 into carry + ror tmp1 + ror a + cpx #$80 + ror tmp1 + ror a + cpx #$80 + ror tmp1 + ror a + ldx tmp1 + rts