This commit is contained in:
WickedJack99
2022-05-06 23:22:13 +02:00
parent 561ca63754
commit 1196c58575
2 changed files with 1 additions and 1 deletions

View File

@@ -25,7 +25,7 @@ public class Stack
{
stackpointer = 0;
//Initialize stack with -1 to decide wether the stack is empty or not, because 0 could be a return address.
stack = new int[8];
stack = new int[]{-1, -1, -1, -1, -1, -1, -1, -1};
}
/**