diff --git a/rars/riscv/instructions/BGE.java b/rars/riscv/instructions/BGE.java index 50971c93..969d6890 100644 --- a/rars/riscv/instructions/BGE.java +++ b/rars/riscv/instructions/BGE.java @@ -32,7 +32,7 @@ a copy of this software and associated documentation files (the public class BGE extends Branch { public BGE() { - super("bge t1,t2,label", "Branch if greater than or equal: Branch to statement at label's address if t1 is greater than or equal to t2", "110"); + super("bge t1,t2,label", "Branch if greater than or equal: Branch to statement at label's address if t1 is greater than or equal to t2", "101"); } public boolean willBranch(ProgramStatement statement) { diff --git a/rars/riscv/instructions/BGEU.java b/rars/riscv/instructions/BGEU.java index 560f7c3d..49ebb433 100644 --- a/rars/riscv/instructions/BGEU.java +++ b/rars/riscv/instructions/BGEU.java @@ -32,7 +32,7 @@ a copy of this software and associated documentation files (the public class BGEU extends Branch { public BGEU() { - super("bgeu t1,t2,label", "Branch if greater than or equal to (unsigned): Branch to statement at label's address if t1 is greater than or equal to t2 (with an unsigned interpretation)", "100"); + super("bgeu t1,t2,label", "Branch if greater than or equal to (unsigned): Branch to statement at label's address if t1 is greater than or equal to t2 (with an unsigned interpretation)", "111"); } public boolean willBranch(ProgramStatement statement) { diff --git a/rars/riscv/instructions/BLTU.java b/rars/riscv/instructions/BLTU.java index 85817aec..e4906637 100644 --- a/rars/riscv/instructions/BLTU.java +++ b/rars/riscv/instructions/BLTU.java @@ -32,7 +32,7 @@ a copy of this software and associated documentation files (the public class BLTU extends Branch { public BLTU() { - super("bltu t1,t2,label", "Branch if less than (unsigned): Branch to statement at label's address if t1 is less than t2 (with an unsigned interpretation)", "101"); + super("bltu t1,t2,label", "Branch if less than (unsigned): Branch to statement at label's address if t1 is less than t2 (with an unsigned interpretation)", "110"); } public boolean willBranch(ProgramStatement statement) {