The arithmetic and logical instructions could take the following forms:
add reg, reg/memory/constant
sub reg, reg/memory/constant
cmp reg, reg/memory/constant
and reg, reg/memory/constant
or reg, reg/memory/constant
not reg/memory
1-operand instructions modify its operand.
2-operand instructions store the result in the destination operand: