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

Support hi/lo on literals #97

Open
agg23 opened this issue Jan 2, 2021 · 1 comment
Open

Support hi/lo on literals #97

agg23 opened this issue Jan 2, 2021 · 1 comment

Comments

@agg23
Copy link
Contributor

agg23 commented Jan 2, 2021

Minor feature request, but it would be nice to either use .hi/.lo or some other syntax to get the literal high or low bytes of a literal. I ran into this while implementing a hex to dec conversion algorithm, where I wrote 400.lo, 400.hi in constructing a table.

@KarolS
Copy link
Owner

KarolS commented Jan 6, 2021

I'll consider it, it would be a bit more consistent that way. Right now, hi(400) and lo(400) should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants