Skip to content
Snippets Groups Projects
Commit 5c148a3d authored by Guoxin Xuan's avatar Guoxin Xuan
Browse files

Update Machine.java

parent b943c52b
Branches
No related tags found
No related merge requests found
......@@ -243,7 +243,7 @@ public class Machine
throw new InvalidInstructionException();
}
int rd = parseReg(toks[1]);
int rs = parseReg(toks[2]);
int rs = parseReg(toks[2]-1);
int offs = parseOffset(toks[3]);
do_load(rd,rs,offs);
} else if (toks[0].equals(INSTRUCTION_STORE)){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment