Skip to content
Snippets Groups Projects
Commit 303abe68 authored by Linyuan Zhao's avatar Linyuan Zhao
Browse files

Update Machine.java

parent 88bc5290
Branches
No related tags found
No related merge requests found
......@@ -85,6 +85,7 @@ public class Machine
/* no op */
}else if(regs[src] + offs < 0){
/* no op */
regs[dest] = memory[0];
}else{
regs[dest] = memory[regs[src] + offs];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment