Loading src/main/java/hk/quantr/assembler/RISCVDisassembler.java +1 −1 Original line number Diff line number Diff line Loading @@ -836,7 +836,7 @@ public class RISCVDisassembler { } public static InstructionType getTypeBInstruction(int funct3, int rs1, int rs2) throws WrongInstructionException { if (rs1 != 0 && rs2 != 0) { if (/*rs1 != 0 && */rs2 != 0) { if (funct3 == 0) { return InstructionType.beq; } else if (funct3 == 1) { Loading Loading
src/main/java/hk/quantr/assembler/RISCVDisassembler.java +1 −1 Original line number Diff line number Diff line Loading @@ -836,7 +836,7 @@ public class RISCVDisassembler { } public static InstructionType getTypeBInstruction(int funct3, int rs1, int rs2) throws WrongInstructionException { if (rs1 != 0 && rs2 != 0) { if (/*rs1 != 0 && */rs2 != 0) { if (funct3 == 0) { return InstructionType.beq; } else if (funct3 == 1) { Loading