I am interested in obtaining sequence of opcodes for a Solidity program:

One example is given in the following program obtained from Link of paper

I have attached the image Image of Solidity Opcodesalso I need a link to a tool which can perform this task. How can we do it on Remix?

Somebody please guide me.


  • 1
    You can use remix. After compiling a contract in the compiler section click on "Compilation Details". In the popup look at the "Assembly" section. – Ismael Jan 10 at 22:28
  • Download solc, and run solc --asm YourContractFileName from a command-line terminal. – goodvibration Jan 11 at 9:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.