Move vm into subdir
This commit is contained in:
15
vm/operand.go
Normal file
15
vm/operand.go
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user