Wed May 15, 2013 2:02 pm
movlw 0x03 ; set loop count to 3
loop bcf STATUS, C, A; clear the C flag
rlcf 0x00, F, A ; shift left one place
rlcf 0x01, F, A ; “
rlcf 0x02, F, A ; “
decfsz WREG,W,A ; have we shifted left three places yet?
goto loop ; not yet, continue
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.