Subtract instruction

Instruction Subtract
Syntax Subtract Destination, Source1, Source2[, Overflow-Label]
Constraints Destination, Source1, and Source2 are all of the same type
Process Destination := Source1 - Source2
If Overflow Detected Then Go To Overflow-Label

The Subtract instruction is used to subtract two integral or decimal variables from one another.

The Subtract is in all other ways similar to the Add instruction.

Syndicate content