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