public String getDisassembly(int numInstructions, boolean inOrder) {
		StringBuilder sb = new StringBuilder();
		int currentInst = 0;
		if (instructions == null || numInstructions <= 0) {
			return null;
		}
		if (numInstructions > instructions.length) {
			throw new IllegalArgumentException("Too many instructions requested!");
		}
		while (currentInst < numInstructions) {
			StringBuilder current = new StringBuilder();
			current.append(" ");
			current.append(instructions[currentInst]);
			current.append(":");
			current.append(sizes[currentInst]);
			current.append("(");
			if (commaSeparatedOperands[currentInst] != null) {
				current.append(commaSeparatedOperands[currentInst]);
			}
			current.append(")");
			current.append(" ");
			if (inOrder) {
				sb.append(current);
			}
			else {
				sb.insert(0, current);
			}
			currentInst++;
		}
		return sb.toString();
	}
Get a string representing the disassembly of the first {@code numInstructions} instructions
in the sequence
@param numInstructions number of instructions to display
@param inOrder if true, the instructions are displayed in order.  If false, they are reversed.
@return disassembly as a String
@throw IllegalArgumentException if the number of instructions requested exceeds the number
of instructions available
Ghidra/Features/BytePatterns/src/main/java/ghidra/bitpatterns/info/InstructionSequence.java