Re: [PIC] Learning C
"Harold Hallikainen" <[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.pic |
|---|---|
| Message-ID | <[email protected]> |
I learned A LOT from the book that came with my first C compiler, Power C. I still have the book. I really like C since I can imagine where things are stored in memory (globals and statics in their own area of RAM, locals on the stack, and stuff created at run time on the heap). As others have suggested, optimization needs to be turned off during debug, or you'll go crazy! Good luck! Harold On Sun, November 10, 2024 11:55 am, Jason White wrote: > Also, and learning about "debug symbols" and how to disable compiler > optimizations (because the compiler can and will change your code if > optimizations are enabled! it can inline and reorder functions, remove > no-op type operations, unroll loops, etc.) > > -- > Jason White > -- > http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive > View/change your membership options at > https://mailman.mit.edu/mailman/listinfo/piclist > -- Not sent from an iPhone.