Created
September 15, 2015 13:58
-
-
Save rfikki/9812beb400d77d554e71 to your computer and use it in GitHub Desktop.
embark asm.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
======= SimpleStorage ======= | |
EVM assembly: | |
.code: | |
PUSH 60 contract SimpleStorage {... | |
PUSH 40 contract SimpleStorage {... | |
MSTORE contract SimpleStorage {... | |
PUSH 40 function SimpleStorage(uint initialValue) {... | |
MLOAD function SimpleStorage(uint initialValue) {... | |
PUSH 20 function SimpleStorage(uint initialValue) {... | |
DUP1 function SimpleStorage(uint initialValue) {... | |
PUSHSIZE function SimpleStorage(uint initialValue) {... | |
DUP4 function SimpleStorage(uint initialValue) {... | |
CODECOPY function SimpleStorage(uint initialValue) | |
{... | |
ADD function SimpleStorage(uint initialValue) {... | |
PUSH 40 function SimpleStorage(uint initialValue) {... | |
MSTORE function SimpleStorage(uint initialValue) | |
{... | |
PUSH 60 function SimpleStorage(uint initialValue) {... | |
DUP1 function SimpleStorage(uint initialValue) {... | |
MLOAD function SimpleStorage(uint initialValue) {... | |
SWAP1 function SimpleStorage(uint initialValue) {... | |
PUSH 20 function SimpleStorage(uint initialValue) {... | |
** Joe's Own Editor v3.7 ** (utf-8) ** Copyright © 2008 ** | |
======= SimpleStorage ======= | |
EVM assembly: | |
.code: | |
PUSH 60 contract SimpleStorage {... | |
PUSH 40 contract SimpleStorage {... | |
MSTORE contract SimpleStorage {... | |
PUSH 40 function SimpleStorage(uint initialValue) {... | |
MLOAD function SimpleStorage(uint initialValue) {... | |
PUSH 20 function SimpleStorage(uint initialValue) {... | |
DUP1 function SimpleStorage(uint initialValue) {... | |
PUSHSIZE function SimpleStorage(uint initialValue) {... | |
DUP4 function SimpleStorage(uint initialValue) {... | |
CODECOPY function SimpleStorage(uint initialValue) {... | |
ADD function SimpleStorage(uint initialValue) {... | |
PUSH 40 function SimpleStorage(uint initialValue) {... | |
MSTORE function SimpleStorage(uint initialValue) {... | |
PUSH 60 function SimpleStorage(uint initialValue) {... | |
DUP1 function SimpleStorage(uint initialValue) {... | |
MLOAD function SimpleStorage(uint initialValue) {... | |
SWAP1 function SimpleStorage(uint initialValue) {... | |
PUSH 20 function SimpleStorage(uint initialValue) {... | |
ADD function SimpleStorage(uint initialValue) {... | |
POP function SimpleStorage(uint initialValue) {... | |
tag1: | |
JUMPDEST function SimpleStorage(uint initialValue) {... | |
DUP1 initialValue | |
PUSH 0 storedData | |
PUSH 0 storedData | |
POP storedData = initialValue | |
DUP2 storedData = initialValue | |
SWAP1 storedData = initialValue | |
SSTORE storedData = initialValue | |
POP storedData = initialValue | |
tag2: | |
JUMPDEST function SimpleStorage(uint initialValue) {... | |
POP function SimpleStorage(uint initialValue) {... | |
PUSH #[$00000000…00000000] contract SimpleStorage {... | |
DUP1 contract SimpleStorage {... | |
PUSH [$00000000…00000000] contract SimpleStorage {... | |
PUSH 0 contract SimpleStorage {... | |
CODECOPY contract SimpleStorage {... | |
PUSH 0 contract SimpleStorage {... | |
RETURN contract SimpleStorage {... | |
.data: | |
0: | |
.code: | |
PUSH 60 contract SimpleStorage {... | |
PUSH 40 contract SimpleStorage {... | |
MSTORE contract SimpleStorage {... | |
PUSH 0 contract SimpleStorage {... | |
CALLDATALOAD contract SimpleStorage {... | |
PUSH 100000000000000000000000000000000000000000000000000000000 contract SimpleStorage {... | |
SWAP1 contract SimpleStorage {... | |
DIV contract SimpleStorage {... | |
DUP1 contract SimpleStorage {... | |
PUSH 2A1AFCD9 contract SimpleStorage {... | |
EQ contract SimpleStorage {... | |
PUSH [tag2] contract SimpleStorage {... | |
JUMPI contract SimpleStorage {... | |
DUP1 contract SimpleStorage {... | |
PUSH 60FE47B1 contract SimpleStorage {... | |
EQ contract SimpleStorage {... | |
PUSH [tag3] contract SimpleStorage {... | |
JUMPI contract SimpleStorage {... | |
DUP1 contract SimpleStorage {... | |
PUSH 6D4CE63C contract SimpleStorage {... | |
EQ contract SimpleStorage {... | |
PUSH [tag4] contract SimpleStorage {... | |
JUMPI contract SimpleStorage {... | |
PUSH [tag1] contract SimpleStorage {... | |
JUMP contract SimpleStorage {... | |
tag1: | |
JUMPDEST contract SimpleStorage {... | |
STOP contract SimpleStorage {... | |
tag2: | |
JUMPDEST uint public storedData | |
PUSH [tag5] uint public storedData | |
PUSH 4 uint public storedData | |
POP uint public storedData | |
PUSH [tag6] uint public storedData | |
JUMP uint public storedData | |
tag5: | |
JUMPDEST uint public storedData | |
PUSH 40 uint public storedData | |
MLOAD uint public storedData | |
DUP1 uint public storedData | |
DUP3 uint public storedData | |
DUP2 uint public storedData | |
MSTORE uint public storedData | |
PUSH 20 uint public storedData | |
ADD uint public storedData | |
SWAP2 uint public storedData | |
POP uint public storedData | |
POP uint public storedData | |
PUSH 40 uint public storedData | |
MLOAD uint public storedData | |
DUP1 uint public storedData | |
SWAP2 uint public storedData | |
SUB uint public storedData | |
SWAP1 uint public storedData | |
RETURN uint public storedData | |
tag3: | |
JUMPDEST function set(uint x) {... | |
PUSH [tag7] function set(uint x) {... | |
PUSH 4 function set(uint x) {... | |
DUP1 function set(uint x) {... | |
CALLDATALOAD function set(uint x) {... | |
SWAP1 function set(uint x) {... | |
PUSH 20 function set(uint x) {... | |
ADD function set(uint x) {... | |
POP function set(uint x) {... | |
PUSH [tag8] function set(uint x) {... | |
JUMP function set(uint x) {... | |
tag7: | |
JUMPDEST function set(uint x) {... | |
STOP function set(uint x) {... | |
tag4: | |
JUMPDEST function get() constant returns (uint retVal) {... | |
PUSH [tag9] function get() constant returns (uint retVal) {... | |
PUSH 4 function get() constant returns (uint retVal) {... | |
POP function get() constant returns (uint retVal) {... | |
PUSH [tag10] function get() constant returns (uint retVal) {... | |
JUMP function get() constant returns (uint retVal) {... | |
tag9: | |
JUMPDEST function get() constant returns (uint retVal) {... | |
PUSH 40 function get() constant returns (uint retVal) {... | |
MLOAD function get() constant returns (uint retVal) {... | |
DUP1 function get() constant returns (uint retVal) {... | |
DUP3 function get() constant returns (uint retVal) {... | |
DUP2 function get() constant returns (uint retVal) {... | |
MSTORE function get() constant returns (uint retVal) {... | |
PUSH 20 function get() constant returns (uint retVal) {... | |
ADD function get() constant returns (uint retVal) {... | |
SWAP2 function get() constant returns (uint retVal) {... | |
POP function get() constant returns (uint retVal) {... | |
POP function get() constant returns (uint retVal) {... | |
PUSH 40 function get() constant returns (uint retVal) {... | |
MLOAD function get() constant returns (uint retVal) {... | |
DUP1 function get() constant returns (uint retVal) {... | |
SWAP2 function get() constant returns (uint retVal) {... | |
SUB function get() constant returns (uint retVal) {... | |
SWAP1 function get() constant returns (uint retVal) {... | |
RETURN function get() constant returns (uint retVal) {... | |
tag6: | |
JUMPDEST uint public storedData | |
PUSH 0 uint public storedData | |
PUSH 0 uint public storedData | |
POP uint public storedData | |
SLOAD uint public storedData | |
DUP2 uint public storedData | |
JUMP [out] uint public storedData | |
tag8: | |
JUMPDEST function set(uint x) {... | |
DUP1 x | |
PUSH 0 storedData | |
PUSH 0 storedData | |
POP storedData = x | |
DUP2 storedData = x | |
SWAP1 storedData = x | |
SSTORE storedData = x | |
POP storedData = x | |
tag11: | |
JUMPDEST function set(uint x) {... | |
POP function set(uint x) {... | |
JUMP [out] function set(uint x) {... | |
tag10: | |
JUMPDEST function get() constant returns (uint retVal) {... | |
PUSH 0 uint retVal | |
PUSH 0 storedData | |
PUSH 0 storedData | |
POP storedData | |
SLOAD storedData | |
SWAP1 return storedData | |
POP return storedData | |
PUSH [tag12] return storedData | |
JUMP return storedData | |
tag12: | |
JUMPDEST function get() constant returns (uint retVal) {... | |
SWAP1 function get() constant returns (uint retVal) {... | |
JUMP [out] function get() constant returns (uint retVal) {... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment