Add conditional call instructions
This commit is contained in:
@@ -5,8 +5,6 @@ type OpCodeType uint32
|
||||
const (
|
||||
OpNoOp OpCodeType = 0x00000000
|
||||
OpNop = OpNoOp
|
||||
OpCall = 0x00000001
|
||||
OpCal = OpCall
|
||||
OpReturn = 0x00000002
|
||||
OpRet = OpReturn
|
||||
|
||||
@@ -48,4 +46,11 @@ const (
|
||||
OpJmpT = OpJumpIfTrue
|
||||
OpJumpIfFalse = 0x00000402
|
||||
OpJmpF = OpJumpIfFalse
|
||||
|
||||
OpCall = 0x00000500
|
||||
OpCal = OpCall
|
||||
OpCallIfTrue = 0x00000501
|
||||
OpCalT = OpCallIfTrue
|
||||
OpCallIfFalse = 0x00000502
|
||||
OpCalF = OpCallIfFalse
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user