Arithmetic // SBC (SuBtract with Carry, er, borrow)
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.
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.
sbc a,b
0x98,
1 bytes, 4Tsbc a,c
0x99,
1 bytes, 4Tsbc a,d
0x9A,
1 bytes, 4Tsbc a,e
0x9B,
1 bytes, 4Tsbc a,h
0x9C,
1 bytes, 4Tsbc a,l
0x9D,
1 bytes, 4Tsbc a,(hl)
0x9E,
1 bytes, 7Tsbc a,a
0x9F,
1 bytes, 4Tsbc a,*
0xDE,
2 bytes, 7Tsbc hl,bc
0xED42,
2 bytes, 15Tsbc hl,de
0xED52,
2 bytes, 15Tsbc hl,hl
0xED62,
2 bytes, 15Tsbc hl,sp
0xED72,
2 bytes, 15Tsbc a,ixh
0xDD9C,
2 bytes, 8Tsbc a,ixl
0xDD9D,
2 bytes, 8Tsbc a,(ix+*)
0xDD9E,
3 bytes, 19Tsbc a,iyh
0xFD9C,
2 bytes, 8Tsbc a,iyl
0xFD9D,
2 bytes, 8Tsbc a,(iy+*)
0xFD9E,
3 bytes, 19T