@Override
	public int assignAddress(DataType dt, PrototypePieces proto, int pos, DataTypeManager dtManager,
			int[] status, ParameterPieces res) {
		int iter = 0;
		int sizeLeft = dt.getLength();
		while (sizeLeft > 0 && iter != tiles.length) {
			ParamEntry entry = tiles[iter];
			++iter;
			if (status[entry.getGroup()] != 0) {
				continue;		// Already consumed
			}
			status[entry.getGroup()] = -1;	// Consume the slot/register
			sizeLeft -= entry.getSize();
			if (!matchSize) {
				break;		// Only consume a single register
			}
		}
		return SUCCESS;
	}
Cache specific ParamEntry needed by the action.
Find the first ParamEntry matching the resourceType.
@throws InvalidInputException if it cannot find the configured ParamEntry objects
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/lang/protorules/ConsumeExtra.java