Successive Approximation ADC Code

david_2018:
most programmers are going to think of MSB as D7 and LSB as D0, and start loop counters at 0.

That would of course, depend on whether they are Lilliputian or Blefuscutian.