Compaq ECQD2KCTE manual Quadword Subtract, Subq

Models: ECQD2KCTE

1 371
Download 371 pages 20.35 Kb
Page 95
Image 95

4.4.15 Quadword Subtract

Format:

SUBQ

Ra.rq,Rb.rq,Rc.wq

!Operate format

SUBQ

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

!Operate format

Operation:

Rc Rav - Rbv

Exceptions:

Integer Overflow

Instruction mnemonics:

SUBQ

Subtract Quadword

Qualifiers:

Integer Overflow Enable (/V)

Description:

Register Rb or a literal is subtracted from register Ra and the 64-bit difference is written to reg- ister Rc. On overflow, the least significant 64 bits of the true result are written to the destination register.

The unsigned compare instructions can be used to generate borrow. If the minuend (Rav) is less unsigned than the subtrahend (Rbv), a borrow will occur.

Instruction Descriptions 4–39

Page 95
Image 95
Compaq ECQD2KCTE manual Quadword Subtract, Subq