// TYX - Transfer Y register to X register
Transfer Y register to X register
// TYX - Transfer Y register to X register
func (cpu *CPU) op_tyx(info *stepInfo) {
	if cpu.X == 1 {
		cpu.RXl = cpu.RYl
		cpu.setZN8(cpu.RXl)
	} else {
		cpu.RX = cpu.RY
		cpu.setZN16(cpu.RX)
	}
}
func ( cpu * CPU ) op_tyx ( info * stepInfo ) { if cpu . X == 1 { cpu . RXl = cpu . RYl cpu . setZN8 ( cpu . RXl ) } else { cpu . RX = cpu . RY cpu . setZN16 ( cpu . RX ) } }
Transfer Y register to X register
Transfer Y register to X register