// LDX - Load X Register
Load X Register
// LDX - Load X Register
func (cpu *CPU) op_ldx(info *stepInfo) {
	if cpu.X == 1 {
		cpu.RXl = cpu.cmdRead(info)
		cpu.setZN8(cpu.RXl)
	} else {
		cpu.RX = cpu.cmdRead16(info)
		cpu.setZN16(cpu.RX)
	}
}
func ( cpu * CPU ) op_ldx ( info * stepInfo ) { if cpu . X == 1 { cpu . RXl = cpu . cmdRead ( info ) cpu . setZN8 ( cpu . RXl ) } else { cpu . RX = cpu . cmdRead16 ( info ) cpu . setZN16 ( cpu . RX ) } }
Load X Register
Load X Register