diff --git a/disassemblers/ofrak_ghidra/ofrak_ghidra/ghidra_scripts/GetInstructions.java b/disassemblers/ofrak_ghidra/ofrak_ghidra/ghidra_scripts/GetInstructions.java index 14392d3e9..982f08273 100644 --- a/disassemblers/ofrak_ghidra/ofrak_ghidra/ghidra_scripts/GetInstructions.java +++ b/disassemblers/ofrak_ghidra/ofrak_ghidra/ghidra_scripts/GetInstructions.java @@ -118,8 +118,8 @@ class ResultInstruction { Register vle_register = instruction.getRegister("vle"); if (vle_register != null) { BigInteger vle_val = instruction.getValue(vle_register, false); - if (vle_val != null){ - this.instruction_mode = vle_val.equals(BigInteger.ONE) ? "VLE" : this.instruction_mode ; + if (vle_val != null && vle_val.equals(BigInteger.ONE)){ + this.instruction_mode = "VLE"; } }