SUB
SUBTRACTSUB
Operation: | Flags Affected: |
(DEST) +- (LSRC) - (RSRC) | AF, CF, OF, PF, SF, ZF |
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.