Documentation ¶
Overview ¶
Package op defines the opcodes that are used in the Tamarin virtual machine.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var OperandCount = make([]Info, 256)
Functions ¶
This section is empty.
Types ¶
type BinaryOpType ¶
type BinaryOpType uint16
const ( Add BinaryOpType = iota Subtract Multiply Divide Modulo And Or Xor Power LShift RShift BitwiseAnd BitwiseOr )
type Code ¶
type Code uint16
const ( Nop Code = iota BinaryOp BinarySubscr BuildList BuildMap BuildSet BuildString Call CompareOp ContainsOp Copy DeleteSubscr False ForIter GetIter Halt Import JumpBackward JumpForward Length LoadAttr LoadBuiltin LoadClosure LoadConst LoadFast LoadFree LoadGlobal LoadName MakeCell Nil Partial PopJumpBackwardIfFalse PopJumpBackwardIfTrue PopJumpForwardIfFalse PopJumpForwardIfTrue PopTop Print PushNil Range ReturnValue Slice StoreAttr StoreFast StoreFree StoreGlobal StoreName StoreSubscr Swap True UnaryInvert UnaryNegative UnaryNot UnaryPositive Unpack )
type CompareOpType ¶
type CompareOpType uint16
const ( LessThan CompareOpType = iota LessThanOrEqual Equal NotEqual GreaterThan GreaterThanOrEqual )
Click to show internal directories.
Click to hide internal directories.