View Single Post
  #5   Spotlight this post!  
Unread 11-02-2005, 10:24
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,801
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
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