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

    The 8-bit n operand, along with the carry flag, is added to the contents of the
    accumulator, and the result is stored in the accumulator.

    8 Cycles

    Flags affected(znhc): z0hc
*/
ADC A, n - 0xCE
The 8-bit n operand, along with the carry flag, is added to the contents of the
accumulator, and the result is stored in the accumulator.

8 Cycles


ADC A n - 0xCE The 8 - bit n operand along with the carry flag is added to the contents of the accumulator and the result is stored in the accumulator . 8 Cycles
unsigned long CPU::ADCAn(const byte& opCode)
{
    ADC(ReadBytePC());
    return 8;
}
unsigned long CPU :: ADCAn ( const byte & opCode ) { ADC ( ReadBytePC ( ) ) ; return 8 ; }
ADC A, n - 0xCE
The 8-bit n operand, along with the carry flag, is added to the contents of the
accumulator, and the result is stored in the accumulator.
ADC A n - 0xCE The 8 - bit n operand along with the carry flag is added to the contents of the accumulator and the result is stored in the accumulator .