2
0
mirror of https://github.com/status-im/nimbus-eth1.git synced 2025-01-18 08:11:02 +00:00
2018-02-12 18:59:50 +02:00

7 lines
240 B
Nim

import vm/code_stream, opcode_values
var c = newCodeStream("\x60\x00\x60\x00\x60\x00\x60\x00\x67\x06\xf0\x5b\x59\xd3\xb2\x00\x00\x33\x60\xc8\x5a\x03\xf1")
let opcodes = c.decompile()
for op in opcodes:
echo op[0], " ", op[1], " ", op[2]