gb-emu-lib/CPU.cpp
unsigned long CPU::ADCAr(const byte& opCode)
{
    byte* r = GetByteRegister(opCode);
    ADC(*r);
    return 4;
}
/*
    ADC A, r
    10001rrr

    The contents of the r register, and the contents of the carry flag,
    are added to the contents of the accumulator, and the result is stored
    in the accumulator. The operand r identifies the registers A, B, C, D, E, H, or L.

    4 Cycles

    Flags affected(znhc): z0hc
*/


The contents of the r register, and the contents of the carry flag,
are added to the contents of the accumulator, and the result is stored
in the accumulator. The operand r identifies the registers A, B, C, D, E, H, or L.

4 Cycles


The contents of the r register and the contents of the carry flag are added to the contents of the accumulator and the result is stored in the accumulator . The operand r identifies the registers A B C D E H or L . 4 Cycles
unsigned long CPU::ADCAr(const byte& opCode)
{
    byte* r = GetByteRegister(opCode);
    ADC(*r);
    return 4;
}
unsigned long CPU :: ADCAr ( const byte & opCode ) { byte * r = GetByteRegister ( opCode ) ; ADC ( * r ) ; return 4 ; }
ADC A, r
10001rrr
ADC A r 10001rrr