|
Re: If statement in .h file or Indirect addressing? Kevin NAV code...
Quote:
|
Originally Posted by chakorules
Next on the list is shaving more program FAT. Every time we turn around we are at our 32K limit...yuck...We aren't ready to get rid of the printf statements, we need those to debug but if it keeps it up, we are going to have to dump some printf to get more code packed in...
|
I found it much easier to use primitives rather than printf. printf takes 4K while a simple set of primitives takes 40 bytes. The ones we use aren't even the real way I'd normally implement such a thing, but it made a good "hello world" type intro to programming project for the freshmen.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
|