Commit 3a41ad66 authored by Peter's avatar Peter
Browse files

passwd riscv-tests addi

parent 0eea24c0
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) {