Skip to content
Snippets Groups Projects
Commit 35ba4c0b authored by Yang Zhou's avatar Yang Zhou
Browse files

Update Machine.java

parent e7fb71a0
Branches
No related tags found
No related merge requests found
......@@ -275,7 +275,7 @@ public class Machine
}
int ra = parseReg(toks[1]);
int offs = parseOffset(toks[2]);
if (regs[ra] == 0){
if (regs[ra] <= 0){
pc = pc + offs;
}else{
pc = pc + 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment