protected int computeLength() {
		int length = instruction.getLength();
		int slots = instruction.getDelaySlotDepth();
		Instruction ins = instruction;
		for (int i = 0; i < slots; i++) {
			try {
				Address next = ins.getAddress().addNoWrap(ins.getLength());
				Instruction ni = block.getInstructionAt(next);
				if (ni == null) {
					throw new InstructionDecodeException("Failed to parse delay slot instruction",
						next);
				}
				ins = ni;
				length += ins.getLength();
			}
			catch (AddressOverflowException e) {
				throw new InstructionDecodeException("Delay slot would exceed address space",
					ins.getAddress());
			}
		}
		return length;
	}
Compute the "length" of an instruction, including any delay-slotted instructions that follow

@return the length
Ghidra/Framework/Emulation/src/main/java/ghidra/pcode/emu/SleighInstructionDecoder.java