Skip to content
Snippets Groups Projects
Commit 775c2da9 authored by Chamira Balasuriya's avatar Chamira Balasuriya
Browse files

insertion of mutant4

parent c0001ccd
Branches
Tags
No related merge requests found
...@@ -275,7 +275,7 @@ public class Machine ...@@ -275,7 +275,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