Basic read-only cli (#35)
Co-authored-by: Darkress <30271678+DarkressX@users.noreply.github.com> Reviewed-on: darkress/pic16f84-sim#35
This commit was merged in pull request #35.
This commit is contained in:
@@ -18,10 +18,6 @@ public class Stack
|
||||
return stack[stackPointer];
|
||||
}
|
||||
|
||||
public static int peek()
|
||||
{
|
||||
return stack[(stackPointer + 7) % 8]; //Get TopOfStack -1 +8 = 7 and modulo 8 to avoid IndexOutOfBound
|
||||
}
|
||||
|
||||
private static void pointNext()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user