Could this program be written using fewer registers?

### A good answer might be:

Yes. You only need two. Sounds like another programming exercise.

# End of Chapter

You have reached the end of this chapter. You may wish to shift into review mode. Click on a blue subject that interests you to go to where it was discussed. To get back here, click on the "back arrow" button of your browser.

- Logical shift left.
- No-operation instruction as a logical left shift.
- Logical shift right.
- or instruction
- and instruction
- xor instruction
- nor instruction
- not operation
- move operation

Go to Table of Contents
You have reached the end of the chapter.