Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EVM] Print stack in assembly as comments #726

Open
akiramenai opened this issue Oct 28, 2024 · 0 comments
Open

[EVM] Print stack in assembly as comments #726

akiramenai opened this issue Oct 28, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request EVM backend

Comments

@akiramenai
Copy link
Collaborator

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.

@akiramenai akiramenai added enhancement New feature or request EVM backend labels Oct 28, 2024
@akiramenai akiramenai self-assigned this Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request EVM backend
Projects
None yet
Development

No branches or pull requests

1 participant