vm: implement CLEAR opcode
This commit is contained in:
parent
525527f750
commit
c8a1188ee1
4 changed files with 94 additions and 80 deletions
|
@ -66,11 +66,11 @@ const (
|
|||
CALLL Opcode = 0x35
|
||||
|
||||
// Stack
|
||||
DEPTH Opcode = 0x43
|
||||
DROP Opcode = 0x45
|
||||
NIP Opcode = 0x46
|
||||
XDROP Opcode = 0x48
|
||||
// CLEAR Opcode = 0x49
|
||||
DEPTH Opcode = 0x43
|
||||
DROP Opcode = 0x45
|
||||
NIP Opcode = 0x46
|
||||
XDROP Opcode = 0x48
|
||||
CLEAR Opcode = 0x49
|
||||
DUP Opcode = 0x4A
|
||||
OVER Opcode = 0x4B
|
||||
PICK Opcode = 0x4D
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue