/opcodes/sub

Arithmetic // SUB

Description

The s operand is subtracted from the contents of the Accumulator, and the result is stored in the Accumulator.

Example

If the Accumulator contents are 29h, and the D Register contains 11h, then upon the execution of a SUB D instruction, the Accumulator contains 18h.

Opcodes