private void initializeEntry() throws InvalidInputException {
		for (int i = 0; i < resource.getNumParamEntry(); ++i) {
			ParamEntry entry = resource.getEntry(i);
			if (!entry.isExclusion() && entry.getSpace().isStackSpace()) {
				stackEntry = entry;
				break;
			}
		}
		if (stackEntry == null) {
			throw new InvalidInputException("Cannot find matching <pentry> for action: goto_stack");
		}
	}
Action assigning a parameter Address from the next available stack location
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/lang/protorules/GotoStack.java