Skip to content
Snippets Groups Projects
Commit 80cd9db8 authored by Zhaolin Deng's avatar Zhaolin Deng
Browse files

Update Machine.java

parent 9bb94dab
No related branches found
No related tags found
No related merge requests found
......@@ -91,7 +91,7 @@ public class Machine
}
private void do_store(int a, int offs, int b) {
if (regs[a] + offs > MAX_ADDR){
if (regs[a] + offs >= MAX_ADDR){
/* no op */
}else if(regs[a] + offs < 0){
/* no op */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment