From 1196c58575c0af66e9ea479da62196256e3ace69 Mon Sep 17 00:00:00 2001 From: WickedJack99 Date: Fri, 6 May 2022 23:22:13 +0200 Subject: [PATCH] jo --- bin/Model/Microcontroller/Stack.class | Bin 1654 -> 1688 bytes src/Model/Microcontroller/Stack.java | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/Model/Microcontroller/Stack.class b/bin/Model/Microcontroller/Stack.class index 682ae7ecf5ca4c8fa0b9159da2526f0dcd978c58..57d717020239650a2f55fda836d71b48a6adf7e4 100644 GIT binary patch delta 100 zcmeyyGlO@-CMM?^237_}1_lN@t?dl_TFhG+1VMx_h!E8h;Ml_z$;{**$pXZzK+Fcj j>_E%`!~!6W0FXENGLtI5ErTqB6wn+Vh-sVIne&+e2c8lR delta 66 zcmbQi`;BMACMLxw1||kZ1_lNht?dl_TFhG+1VMx_h!E8h;Ml`8`74tuzchm^gA`B| M4@B)|P3C-N0MGdh2LJ#7 diff --git a/src/Model/Microcontroller/Stack.java b/src/Model/Microcontroller/Stack.java index fc74835..d1f8b56 100755 --- a/src/Model/Microcontroller/Stack.java +++ b/src/Model/Microcontroller/Stack.java @@ -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}; } /**