4.5.3 Shift Logical
Format:
SxL | Ra.rq,Rb.rq,Rc.wq | !Operate format |
SxL | Ra.rq,#b.ib,Rc.wq | !Operate format |
Operation:
Rc | ← | LEFT_SHIFT(Rav, Rbv<5:0>) | !SLL |
Rc | ← | RIGHT_SHIFT(Rav, Rbv<5:0>) | !SRL |
Exceptions: |
|
None |
|
Instruction mnemonics: |
|
SLL | Shift Left Logical |
SRL | Shift Right Logical |
Qualifiers: |
|
None |
|
Description:
Register Ra is shifted logically left or right 0 to 63 bits by the count in register Rb or a literal. The result is written to register Rc. Zero bits are propagated into the vacated bit positions.
Instruction Descriptions