On Wednesday, August 22, 2018, 3:24:59 PM EDT, Des Watson <desw@...> wrote:
Jack,
> Today's compilers are smart enough they might generate the jump table
> anyway!
Exactly so. Having spent many years studying and writing compilers and
optimisers, I see that today's compilers can produce astonishingly good
code, usually *far* better than any hand-written assembler. The
implication is that it's almost always better to code applications (even
time-critical real-time applications) in a high-level language.
> That will allow you to see the assembly code for the program by load
> that file into any text editor.
Good plan. I always asked my compiler students to look at the code
generated by a good compiler with an optimising backend (like gcc or
llvm). It's a most educational exercise!
And thanks for all the contributions to this list - such a help in
getting my uBitx going and teaching me so much about RF design.
Best wishes
Des, G3YXO