/opcodes/sbc

Arithmetic // SBC (SuBtract with Carry, er, borrow)

Description

The s operand, along with the Carry flag (C in the F Register) is subtracted from the contents of the Accumulator, and the result is stored in the Accumulator.

Example

If the Accumulator contains 16h, the carry flag is set, the HL register pair contains 3433h, and address 3433h contains 05h, then upon the execution of an SBC A, (HL) instruction, the Accumulator contains 10h.

Opcodes