4.4.14 Scaled Longword Subtract
Format:
SxSUBL | Ra.rl,Rb.rl,Rc.wq | !Operate format |
SxSUBL | Ra.rl,#b.ib,Rc.wq | !Operate format |
Operation:
CASE
S4SUBL: Rc ← SEXT (((LEFT_SHIFT(Rav,2)) - Rbv)<31:0>)
S8SUBL: Rc ← SEXT (((LEFT_SHIFT(Rav,3)) - Rbv)<31:0>)
ENDCASE
Exceptions: |
|
None |
|
Instruction mnemonics: |
|
S4SUBL | Scaled Subtract Longword by 4 |
S8SUBL | Scaled Subtract Longword by 8 |
Qualifiers: |
|
None |
|
Description:
Register Rb or a literal is subtracted from the scaled value of register Ra, which is scaled by 4 (for S4SUBL) or 8 (for S8SUBL), and the
The high 32 bits of Ra and Rb are ignored. Rc is a proper sign extension of the truncated