created: 07/08/01; audio: 01/04/04; revisions: 02/13/03, 07/23/15, 02/17/20

go to home page   go to next page hear noise highlighting

CHAPTER 12 — Shift Instructions and Logic Instructions

It often happens that a bit pattern must be shifted several positions left or right. The instructions that do this are the shift instructions.

Chapter Topics:


QUESTION 1:

(Review:) If a bit pattern that represents an integer N using unsigned binary (say 0110 0001) is shifted left by one bit (to 1100 0010) what integer does the new bit pattern represent?


go to home page   go to next page