-
Bit number zero marked s specifies the size of the operands the ADD instruction operates upon:
-
_________________________
-
You'll soon see that this direction bit d creates a problem that results in one instruction have two different possible opcodes.
|
-
x86 ADD
instruction opcode
:
-
Bit number one, marked d, specifies the direction of the data transfer:
-
If d = 0 then the destination operand is a memory location, e.g.
add [ebx], al
-
If d = 1 then the destination operand is a register, e.g.
add al, [ebx]
|