created: 07/08/01; revisions: 02/13/03; audio: 01/04/04
CHAPTER 12 — Shift Instructions and Logic Instructions
that a bit pattern must be moved left or right
within a register.
The instructions that do this are the shift instructions.
- Logical shift instructions (
- No-op as a shift instruction.
- Bitwise logic instructions
- NOT as a NOR operation.
- MOVE as an OR operation.
- Example program: instruction assembly.
(Review:) If a bit pattern that represents an integer N
is shifted left by one bit
what integer does the new bit pattern represent?