Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/28/03 17:21
Read: times


 
#37537 - problem in SDCC printf_small
Just solve this .....

prntk.c
-------

# include <stdio.h>
# include <8051.h>

_sdcc_external_startup()
{
return 0;
}

void putchar(char);

void main(void)
{
unsigned char ad='c';
printf_small("%c",(char_generic *)ad);
}

Compile it by -

sdcc -L d:/sdcc09/sdcc/share/sdcc/lib/large -I
d:/sdcc09/sdcc/share/sdcc/include --xram-loc 0x5000
--code-loc 0x2000 prntk.c -dumpall --stack-after-data

I get " parse error ) column 39 "

I didnt use xstack as i get many errors ...

where is the problem ?
how to use printf_small ?

karthik bala guru
tkarthikbalaguru@yahoo.co.in



List of 15 messages in thread
TopicAuthorDate
problem in SDCC printf_small            01/01/70 00:00      
RE: problem in SDCC printf_small            01/01/70 00:00      
RE: problem in SDCC printf_small            01/01/70 00:00      
RE: problem in SDCC printf_small            01/01/70 00:00      
RE: problem in SDCC printf_small            01/01/70 00:00      
RE: problem in SDCC printf_small            01/01/70 00:00      
RE: problem in SDCC printf_small            01/01/70 00:00      
RE: problem in SDCC printf_small            01/01/70 00:00      
RE: problem in SDCC printf_small            01/01/70 00:00      
RE: problem in SDCC printf_small            01/01/70 00:00      
RE: problem in SDCC printf_small            01/01/70 00:00      
RE: problem in SDCC printf_small            01/01/70 00:00      
RE: problem in SDCC printf_small            01/01/70 00:00      
RE: problem in SDCC printf_small            01/01/70 00:00      
RE: problem in SDCC printf_small            01/01/70 00:00      

Back to Subject List