kickc/src/main/fragment/mos6502-common/vwsm1=vwsm2_rol_vbuyy.asm

13 lines
93 B
NASM

lda {m2}
sta {m1}
lda {m2}+1
sta {m1}+1
cpy #0
beq !e+
!:
asl {m1}
rol {m1}+1
dey
bne !-
!e: