gb-emu-lib/CPU.cpp
unsigned long CPU::LD_BC_A(const byte& opCode)
{
    m_MMU->Write(m_BC, GetHighByte(m_AF));
    return 8;
}
/*
    LD (bc), a
    00000010

    The contents of the accumulator are loaded to the memory location specified by
    the contents of the register pair BC.

    8 Cycles

    Flags affected(znhc): ----
*/


The contents of the accumulator are loaded to the memory location specified by
the contents of the register pair BC.

8 Cycles


The contents of the accumulator are loaded to the memory location specified by the contents of the register pair BC . 8 Cycles
unsigned long CPU::LD_BC_A(const byte& opCode)
{
    m_MMU->Write(m_BC, GetHighByte(m_AF));
    return 8;
}
unsigned long CPU :: LD_BC_A ( const byte & opCode ) { m_MMU -> Write ( m_BC , GetHighByte ( m_AF ) ) ; return 8 ; }
LD (bc), a
00000010
LD ( bc ) a 00000010