millfork icon indicating copy to clipboard operation
millfork copied to clipboard

Support hi/lo on literals

Open agg23 opened this issue 3 years ago • 1 comments

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.

agg23 avatar Jan 02 '21 17:01 agg23

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

KarolS avatar Jan 06 '21 00:01 KarolS