SUB Instruction


SUB subtracts a source operand from a destination operand.

 SUB — Subtract 
Usage: SUB dest, src

Result    


Source is unchanged by the operation, and the difference is stored in the destination operand. The set of possible operands is the same as for the ADD and MOV instructions.

 Register & Immediate   Memory & Register   Clear 


















 Output   Output   Output