| |
Arithmetic Addition
86/88 |
Y |
186 |
Y |
286 |
Y |
386 |
Y |
486 |
Y |
ADD destination, source |
Ovfl |
Y |
Dir |
N |
Int |
N |
Trap |
N |
Sign |
Y |
Zero |
Y |
Aux |
Y |
Prty |
Y |
Carry |
Y |
ADD sums the operands and stores the result in destination. Both
operands may be bytes or words, and both may be signed or unsigned
binary numbers.
------------------------------------ Timing ----------------------------------
OpCode Instruction 386 286 86
04 ib ADD AL, imm8 2 3 4
05 iw ADD AX, imm16 2 3 4
05 id ADD EAX, imm32 2
80/0 ib ADD r/m8, imm8 2/7 3/7 4/17+EA
81/0 iw ADD r/m16, imm16 2/7 3/7 4/17+EA
81/0 id ADD r/m32, imm32 2/7
83/0 ib ADD r/m16, imm8 2/7 3/7 4/17+EA
83/0 ib ADD r/m32, imm8 2/7
00/r ADD r/m8, r8 2/7 2/7 3/16+EA
01/r ADD r/m16, r16 2/7 2/7 3/16+EA
01/r ADD r/m32, r32 2/7
02/r ADD r8, r/m8 2/6 2/7 3/9+EA
03/r ADD r16, r/m16 2/6 2/7 3/9+EA
03/r ADD r32, r/m32 2/6
------------------------------------ Logic -----------------------------------
destination = destination + source
See Also ADC INC AAA DAA Flags |