Scaled Longword Subtract by 4 (s4subl)

Syntax

s4subl $s_reg1, $s_reg2, $d_reg

s4subl $d_reg/$s_reg1, $s_reg2

s4subl $s_reg1, val_immed, $d_reg

s4subl $d_reg/$s_reg1, val_immed

Description

Scaled Longword Subtract by 4 computes the difference of two signed 32-bit values. This instruction subtracts the contents of $s_reg2 or the immediate value from the scaled (by 4) contents of $s_reg1. The result is stored in the destination register. Overflow exceptions never occur.