Re: printf problems
- You can reduce the size of you code and increase the speed and reliability
of the code by writing print-int(int i, char trailing); print-float f, char
trailing) for all the types your use. It makes the code you right a little
longer but the functions only take half a page and don't allocate memory.
The char trailing can be a space. character pr command character.
----- Original Message -----
From: "Allen Wayne" <wayne.allen@...>
Sent: Wednesday, December 11, 2002 3:00 AM
Subject: printf problems
: Help... does anyone have any ideas as to what is happening????
: Heres the test program maze.c
: #include <stdio.h>
: #include <sys/sio.h>
: int main ()
: unsigned x;
: x= 1;
: return 0;
: compiled with a slightly modified makefile (modified to change the
: and obj name)
: when 'run' I get the following result.....
: wayne@remus:~/m68hc11-examples-1.2/maze> m6811-elf-run maze.elf
: Any help or pointers would be most appreciated.
: To Post a message, send it to: gnu-m68hc11@...
: To Unsubscribe, send a blank message to:
: Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/