gb-emu-lib/CPU.cpp
unsigned long CPU::SBCA_HL_(const byte& opCode)
{
    byte HL = m_MMU->Read(m_HL);
    SBC(HL);
    return 8;
}
/*
    SBC A, (HL) - 0x9E

    The byte at the memory address specified by the contents of the HL register pair
    and the accumulator is subtracted from the contents of the accumulator, and
    the result is stored in the accumulator.

    8 Cycles

    Flags affected(znhc): z1hc
*/
SBC A, (HL) - 0x9E
The byte at the memory address specified by the contents of the HL register pair
and the accumulator is subtracted from the contents of the accumulator, and
the result is stored in the accumulator.

8 Cycles


SBC A ( HL ) - 0x9E The byte at the memory address specified by the contents of the HL register pair and the accumulator is subtracted from the contents of the accumulator and the result is stored in the accumulator . 8 Cycles
unsigned long CPU::SBCA_HL_(const byte& opCode)
{
    byte HL = m_MMU->Read(m_HL);
    SBC(HL);
    return 8;
}
unsigned long CPU :: SBCA_HL_ ( const byte & opCode ) { byte HL = m_MMU -> Read ( m_HL ) ; SBC ( HL ) ; return 8 ; }
SBC A, (HL) - 0x9E
The byte at the memory address specified by the contents of the HL register pair
and the accumulator is subtracted from the contents of the accumulator, and
the result is stored in the accumulator.
SBC A ( HL ) - 0x9E The byte at the memory address specified by the contents of the HL register pair and the accumulator is subtracted from the contents of the accumulator and the result is stored in the accumulator .