This unit deals with the arithmetic instructions used with the 8086 processor.
These are as follows:
| ADD and ADC used for adding
|
| INC used for incrementing,
|
| SUB and SBB used for subtracting
|
| DEC used for decrementing
|
All these instructions operate on values in single registers, memory or constants.
They can also be combined to handle larger values that require two registers for storage.
The 8086 family of processors uses different multiplication and division instructions
for signed and unsigned integers.
| IMUL for signed multiplication
|
| IMUL for signed division
|
Multiplication and division instructions have also special requirements depending on
the size of the operands and the processor the code runs on.