[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ROL Instruction



Hi!

lscharen@d.umn.edu wrote in message news:<c3a5cb$8lm$1@lenny.tc.umn.edu>...
> Here's my entry (11 bytes)
> 
>  sta <00      ; 2 bytes
>  and #$F0     ; 4 bytes
>  clc          ; 5 bytes
>  adc <00      ; 6 bytes
>  rol          ; 7 bytes
>  rol          ; 8 bytes
>  rol          ; 9 bytes
>  rol          ; 10 bytes
> 
> Oops! The total count is 11 bytes, of course.  The adc <00 should count for 2.
> Can anyone do better than 11?
> 
> -Lucas

   Paul has posted two killer solutions in comp.sys.apple2.programmer.
 That's a more logical subgroup for this thread.

Willi