Split files

This commit is contained in:
Ian Gulliver
2021-11-15 20:44:26 -10:00
parent be6b726851
commit 6b1da92a3a
6 changed files with 254 additions and 291 deletions

9
stackframe.go Normal file
View File

@@ -0,0 +1,9 @@
package vm
const FunctionMemoryEntries = 16
type StackFrame struct {
PreviousFunctionIndex int64
PreviousInstructionIndex int64
FunctionMemory [FunctionMemoryEntries]uint64
}