A SERVICE OF

logo

SUB
SUBTRACT
Operation:
(DEST)
+-
(LSRC) - (RSRC)
Description:
SUB
destination,source
The source operand
is
subtracted from the
destination operand, and the result replaces
the destination operand. The operands may
be
bytes or words. Both operands may
be
signed
or unsigned binary numbers (see AAS and
DAS).
SUB updates AF, CF, OF, PF, SF and
ZF.
Flags Affected:
AF, CF, OF, PF, SF, ZF
2-156
SUB