3.2.2 Binary Arithmetic
Instructions
The binary arithmetic instructions perform
basic integer computions on operands in memory or the general-purpose registers.
Table 3-3 Binary Arithmetic Instructions
| | | |
| ADC
| add with carry
| adcq valid only under –m64
|
| ADD
| integer add
| addq valid only under –m64
|
| CMP
| compare
| cmpq valid only under –m64
|
| DEC
| decrement
| decq valid only under –m64
|
| DIV
| divide (unsigned)
| divq valid only under –m64
|
| IDIV
| divide (signed)
| idivq valid only under –m64
|
| IMUL
| multiply (signed)
| imulq valid only under –m64
|
| INC
| increment
| incq valid only under –m64
|
| MUL
| multiply (unsigned)
| mulq valid only under –m64
|
| NEG
| negate
| negq valid only under –m64
|
| SBB
| subtract with borrow
| sbbq valid only under –m64
|
| SUB
| subtract
| subq valid only under –m64
|
|