(10-30-2021, 08:54 AM)Bobbym Wrote: Hello Rachel, I saw your links but they were very different from what the part 4 question was asking. This is still confusing.
Write an assembly program that shifts the content of a register until the least significant bit is 0. Think of a way to stop shifting if the content of the register is 11111111 and add it to your program.
I am still trying to figure out what the above program wants us to do, after inserting a number into the program - anyones help will be appreciated.
If the register is 11111111, then your program will continue to shift it forever, because it will never have 0 in the least significant bit (assuming that they mean rotating, not just shifting it).
That's why your program needs a way to break the loop.
Anyways, this course is terrible. It is a waste of time honestly.


![[-]](https://www.degreeforum.net/mybb/images/collapse.png)