Skip to content
Snippets Groups Projects
Commit b0aa9caf authored by Zhuolun Lang's avatar Zhuolun Lang
Browse files

Update Machine.java

parent 9f44344e
No related branches found
No related tags found
1 merge request!1WIP: Master
......@@ -167,7 +167,7 @@ public class Machine
{
int instructionsExecuted = 0;
int pc = 0;
int pc = 1;
final int progLength = instructions.size();
while(true){
if (pc < 0 || pc >= progLength){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment