millfork
millfork copied to clipboard
Support hi/lo on literals
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.
I'll consider it, it would be a bit more consistent that way. Right now, hi(400)
and lo(400)
should work.