Skip to content
Snippets Groups Projects
Commit 4be441a9 authored by Abdul Mateen Ahmad Khan's avatar Abdul Mateen Ahmad Khan
Browse files

Update Machine.java

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