> Dag Bakken wrote: > >> This is a small reference on how to do an >> "instruction-by-instruction" conversion : >> .... >> >> RLF f,d f << 1; ..or.. >> f = f << 1; ..or.. >> rl(f); ..or.. >> f = rl(f); >> RRF f,d f >> 1; ..or.. >> f = f >> 1; ..or.. >> rr(f); ..or.. >> f = rr(f); > Did you mean for the first line of each of the above to read > "f <<= 1;" and "f >>= 1;"? No, because that would be the same as the second line. Some compilers do support this way of doing it, but to be certain; Try "W = f << 1". Not all compilers may accept this, and then "f << 1" MAY work just as well. -Dag Bakken