I've gone to
http://mutan.jeffew.com/ and compiled the script:
var a = ""
Producing the following result:
bytes: [96 0 96 0 85 96 0 84 96 32 1 85]
hex: 0x60 00 60 00 55 60 00 54 60 20 01 55
If I understand this properly, we have
PUSH1 00
PUSH1 00
MSTORE8
PUSH1 00
MSTORE
SHA3
ADD
MSTORE8
Is that correct? What's going on here?
Comments
var a = ""
statement and compiling it down to intermediary 'assembly' code (a series of opcodes) that will be interpreted by the EVM (ethereum virtual machine).I'm a bit rusty on my EVM-code, but this looks correct to me.