public void executeLoad(PcodeOpRaw op) {

		AddressSpace space =
			addrFactory.getAddressSpace((int) op.getInput(0).getAddress().getOffset()); // Space to read from

		long offset = memstate.getValue(op.getInput(1)); // Offset to read from
		long byteOffset =
			space.truncateAddressableWordOffset(offset) * space.getAddressableUnitSize();

		Varnode outvar = op.getOutput();
		if (outvar.getSize() > 8) {
			BigInteger res =
				memstate.getBigInteger(space, byteOffset, op.getOutput().getSize(), false);
			memstate.setValue(outvar, res);
		}
		else {
			long res = memstate.getValue(space, byteOffset, op.getOutput().getSize());
			memstate.setValue(op.getOutput(), res);
		}
	}
This routine performs a standard pcode load operation on the memory state
@param op is the particular load op being executed
Ghidra/Framework/Emulation/src/main/java/ghidra/pcode/emulate/Emulate.java