Subtract Longword without Overflow (subl)

Syntax

subl $s_reg1, $s_reg2, $d_reg

subl $d_reg/$s_reg1, $s_reg2

subl $s_reg1, val_immed, $d_reg

subl $d_reg/$s_reg1, val_immed

Description

Subtract Longword (without overflow) computes the difference of two signed 32-bit values. This instruction subtracts either the contents of $s_reg2 or an immediate value from the contents of $s_reg1 and then puts the result in the destination register. Overflow exceptions never happen.