Follow

This morning's coding session was heavy on bit level operations. The hardware documentation is suggestive (without going so far as actually having coding advice) of just using a lookup table for the command strings, but creating these directly by ORing together the right binary literals saves about 60 bytes in executable size and reads a little more clearly to me. (Clearly the engineer who designed the comms protocol thought about this approach and it just wasn''t put in the documentation)

· · Web · 0 · 0 · 0
Sign in to participate in the conversation
Typica Social

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!