Skip to content

[EVM] Print stack in assembly as comments #726

Open
@akiramenai

Description

@akiramenai

Reading stack machine assembly demands considerable mental effort to track stack state, so it would be beneficial to print the stack’s content. Starting with VRs is a good initial approach, and we can explore enhancements later.
e.g. for

%10 = ADD %9, %8

we can print

<preceeding instruction> ; [%9 %8]
ADD ; [%10]

The scope of this ticket is to implement VR display, with follow-up tickets planned for future improvements.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions