Skip to content

Instruction panel: restructure information? #2

@gsalzer

Description

@gsalzer
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions