Move vm into subdir

This commit is contained in:
Ian Gulliver
2021-11-16 20:41:57 -10:00
parent cf33a52392
commit db33045391
10 changed files with 1 additions and 1 deletions

15
vm/operand.go Normal file
View File

@@ -0,0 +1,15 @@
package vm
type OperandType uint8
const (
Literal OperandType = 0
FunctionMemoryIndex = 1
GlobalMemoryIndex = 2
)
type Operand struct {
Type OperandType
Reserved [3]byte
Value uint64
}