private void addInstructionWords(Address start, short... instrWords)
			throws MemoryAccessException {
		Program program = getProgram();
		int txId = program.startTransaction("Add Instruction Bytes");
		try {
			for (int i = 0; i < instrWords.length; i++) {
				program.getMemory().setShort(start.add(i * 2), instrWords[i]);
			}
			definedInstrAddresses.add(start);
		}
		finally {
			program.endTransaction(txId, true);
		}
	}
Get address in default ram space
@param offset address offset
@return the address
Ghidra/Features/Base/src/main/java/ghidra/test/ToyProgramBuilder.java