Re: Rotating through a four-bit nibble
"Jordan Bradford" <[email protected]>
| Newsgroups | gmane.comp.hardware.lego.robotics |
|---|---|
| Organization | None |
| Message-ID | <[email protected]> |
In lugnet.robotics, Kevin L. Clague wrote: > LEGO firmware does not support the concept of shifting. Originally NQC didn't > support the concept of shifting. I pointed out to Dave Baum that he could use > multiply and divide to support shifting, so he added it to NQC. It has been > many years, but I think shifting is only allowed with constant shift amounts. Why in the world wouldn't the firmware support shifting? The hardware <http://www.delorie.com/gnu/docs/binutils/as_236.html certainly does>. Heh, using multiply and divide to simulate shifting is kind of backwards.