EVM-Simulator icon indicating copy to clipboard operation
EVM-Simulator copied to clipboard

Instruction panel: restructure information?

Open gsalzer opened this issue 4 years ago • 0 comments

  • Usually, in assembler listings, the first column is the address of the instruction in hex, starting with 0x0, and the second column is the mnemonic code of the instruction. If the instruction has arguments, they are appended to the mnemonic code and do not occupy additional lines. Screenshot from 2020-07-16 21-58-30
  • The mnemonic code INVALID is actually a valid instruction with opcode 0xfe. For undefined opcodes it would be better to choose e.g. MISSING with the opcode as an argument, like: Screenshot from 2020-07-16 22-03-00
  • The gas column could be made more narrow, if space is needed.
  • If desired, the hex opcode could be added as an extra column, maybe followed by the arguments.
  • The PC value should also be displayed in hex, to match the address column and the format of the jump addresses pushed on the stack.

gsalzer avatar Jul 16 '20 20:07 gsalzer