protected void emuWrite(EmulatorHelper emu, Address addr, int size, long value) {
		if (size < 1 || size > 8) {
			throw new IllegalArgumentException("Unsupported EMU read size: " + size);
		}
		MemoryState memState = emu.getEmulator().getMemState();
		memState.setValue(addr.getAddressSpace(), addr.getOffset(), size, value);
	}
Check for a Data pointer at the specified address and return the referenced
address.
@param addr address of stored pointer
@return pointer referenced address or null if no pointer found
Ghidra/Features/Base/src/main/java/ghidra/test/processors/support/PCodeTestAbstractControlBlock.java