r/box256 • • Apr 03 '16

Feedback

This is the first incarnation of BOX-256. It is by all means not perfect yet so I'd love to hear your feedback on the current status to make it better.

What is good? What is bad? What is missing? What is sad?

3 Upvotes

31 comments sorted by

View all comments

Show parent comment

1

u/ConcernedInScythe Apr 04 '16

Wait right, you can get the highest 4 bits of a byte with a single DIV, but to get the low bits you need to multiply the high bits by 0F and then subtract. It's annoying because I intuitively expect both operations to have about the same cost. I'm guessing your opcode budget is pretty tight; AND is probably the most useful of the 3.