4.4.13 Longword Subtract

Format:

SUBL

Ra.rl,Rb.rl,Rc.wq

!Operate format

SUBL

Ra.rl,#b.ib,Rc.wq

!Operate format

Operation:

Rc SEXT ((Rav - Rbv)<31:0>)

Exceptions:

Integer Overflow

Instruction mnemonics:

SUBL

Subtract Longword

Qualifiers:

Integer Overflow Enable (/V)

Description:

Register Rb or a literal is subtracted from register Ra and the sign-extended 32-bit difference is written to Rc.

The high 32 bits of Ra and Rb are ignored. Rc is a proper sign extension of the truncated 32-bit difference. Overflow detection is based on the longword difference Rav<31:0> – Rbv<31:0>.

Instruction Descriptions 4–37

Page 93
Image 93
Compaq ECQD2KCTE manual Longword Subtract, Subl