MICROCONTROLLERS IN AMATEUR RADIO
When you hit the compile button for your compiler, there’s a whole bunch of stuff that takes place that isn’t obvious while the code compiles. In general terms, the C compiler:
1) invokes a preprocessor pass on the code;
2) performs syntax/semantic checking;
3) if everything is correct, the compiler generates an intermediate code file, and
4) the linker then stitches your code and library code together to produce an executable program.
It does all of this very quickly. Unfortunately, a lot of C tutorials overlook some of the things you can do using . presents the preprocessor directives. Note that preprocessor directives are processed by the preprocessor pass, not actually by the compiler. Also note that none of the
You’re reading a preview, subscribe to read more.
Start your free 30 days