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

hex printing from ishell #51

Open
jabraham17 opened this issue Feb 19, 2023 · 1 comment
Open

hex printing from ishell #51

jabraham17 opened this issue Feb 19, 2023 · 1 comment
Labels
enhancement New feature or request feature: ishell low-priority question Further information is requested

Comments

@jabraham17
Copy link
Owner

Right now there is no way to print anything but as a decimal integer from the control interface. It would be very useful to be able to control this.

Possible design ideas

  • -control 'dump $pc /x'
    • this is clean but will complicate the lexer
  • -control 'dump/x $pc'
    • this is also clean and will only slightly complicate the lexer
    • also has the advantage of being similar to gdb, so famailar
  • -control 'dumpx $pc'
    • doesn't complicate lexer
    • clean implementation
    • BUT requires a new keyword and new parse rule for it
  • others?
@jabraham17 jabraham17 added enhancement New feature or request question Further information is requested feature: ishell low-priority labels Feb 19, 2023
@jabraham17
Copy link
Owner Author

This should also support some kind of Unsigned option, which forces unsigned evaluation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature: ishell low-priority question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant