forked from TrueCloudLab/neoneo-go
vm: extend PrintOps() with INITSSLOT & INITSLOT
This commit is contained in:
parent
82417499d7
commit
bdaffe75cb
1 changed files with 4 additions and 0 deletions
|
@ -212,6 +212,10 @@ func (v *VM) PrintOps() {
|
|||
case opcode.PUSHA:
|
||||
offset := int32(binary.LittleEndian.Uint32(parameter))
|
||||
desc = fmt.Sprintf("%d (%x)", offset, parameter)
|
||||
case opcode.INITSSLOT:
|
||||
desc = fmt.Sprint(parameter[0])
|
||||
case opcode.INITSLOT:
|
||||
desc = fmt.Sprintf("%d local, %d arg", parameter[0], parameter[1])
|
||||
case opcode.SYSCALL:
|
||||
desc = fmt.Sprintf("%q", parameter)
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue