gb-emu-lib/CPU.cpp
unsigned long CPU::SBCAn(const byte& opCode)
{
    byte n = ReadBytePC();
    SBC(n);
    return 8;
}
/*
    SBC A, n - 0xDE

    The 8-bit value n, along with the carry flag, is subtracted from the contents
    of the Accumulator, and the result is stored in the accumulator.

    8 Cycles

    Flags affected(znhc): z1hc
*/
SBC A, n - 0xDE
The 8-bit value n, along with the carry flag, is subtracted from the contents
of the Accumulator, and the result is stored in the accumulator.

8 Cycles


SBC A n - 0xDE The 8 - bit value n along with the carry flag is subtracted from the contents of the Accumulator and the result is stored in the accumulator . 8 Cycles
unsigned long CPU::SBCAn(const byte& opCode)
{
    byte n = ReadBytePC();
    SBC(n);
    return 8;
}
unsigned long CPU :: SBCAn ( const byte & opCode ) { byte n = ReadBytePC ( ) ; SBC ( n ) ; return 8 ; }
SBC A, n - 0xDE
The 8-bit value n, along with the carry flag, is subtracted from the contents
of the Accumulator, and the result is stored in the accumulator.
SBC A n - 0xDE The 8 - bit value n along with the carry flag is subtracted from the contents of the Accumulator and the result is stored in the accumulator .