aboutsummaryrefslogtreecommitdiff
path: root/stack.go
diff options
context:
space:
mode:
Diffstat (limited to 'stack.go')
-rw-r--r--stack.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/stack.go b/stack.go
index dc49570..ecae058 100644
--- a/stack.go
+++ b/stack.go
@@ -1,5 +1,7 @@
package j1
+const stackSize = 0x20
+
type stack struct {
data [stackSize]uint16 // stack
sp int8 // 5 bit stack pointer