Files
subcoding/operand.go

16 lines
239 B
Go
Raw Normal View History

2021-11-15 20:44:26 -10:00
package vm
type OperandType uint8
const (
Literal OperandType = 0
FunctionMemoryIndex = 1
GlobalMemoryIndex = 2
)
type Operand struct {
Type OperandType
Reserved [3]byte
Value uint64
}