// TCD - Transfer C accumulator to Direct register
Transfer C accumulator to Direct register
// TCD - Transfer C accumulator to Direct register
func (cpu *CPU) op_tcd(info *stepInfo) {
	if cpu.M == 1 {
		cpu.RD = (uint16(cpu.RAh) << 8) | uint16(cpu.RAl)
	} else {
		cpu.RD = cpu.RA
	}
	cpu.setZN16(cpu.RD) 
}
func ( cpu * CPU ) op_tcd ( info * stepInfo ) { if cpu . M == 1 { cpu . RD = ( uint16 ( cpu . RAh ) << 8 ) | uint16 ( cpu . RAl ) } else { cpu . RD = cpu . RA } cpu . setZN16 ( cpu . RD ) }
Transfer C accumulator to Direct register
Transfer C accumulator to Direct register
// XXX: always 16 bit regardless od M register?