Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Jul 2009
how do you do multi-word shifts and rotates?
and that you can do an arbitrary number of shifts or rotates (0-7) on the 8-bit byte in one instruction/cycle.
this machine would be a theoretical stack machine as well, so things would be pushed onto the stack with the return value on top of the stack.
so are there any algorithms (in software, using instructions like those i mentioned) to rotate or shift thru an arbitrary number of bytes?
An algorithm? To multiply or divide by two? That's not much of an algorithm...Linux user #126863 - see http://linuxcounter.net/