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 12:18
Read: times


 
#37480 - RE: SDCC examples
Here is a bit to have a taste of SDCC ...

sdsea.c
-------
# include <stdio.h>
# include <8051.h>
# define XBYTE *(xdata unsigned char *)
unsigned char _sdcc_external_startup()
{
return 0;
}
struct custdetail
{
unsigned char scno[7];
}cust;

void main(void)
{
float il,ti,tp;
}

Compile the above program with ===>

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

karthik bala guru
sdcckarthik@yahoo.com


List of 18 messages in thread
TopicAuthorDate
SDCC examples            01/01/70 00:00      
   RE: SDCC examples            01/01/70 00:00      
      RE: SDCC examples            01/01/70 00:00      
         RE: SDCC examples            01/01/70 00:00      
            RE: SDCC examples            01/01/70 00:00      
               RE: SDCC examples            01/01/70 00:00      
                  RE: SDCC examples            01/01/70 00:00      
            RE: SDCC examples            01/01/70 00:00      
               RE: SDCC examples            01/01/70 00:00      
               RE: SDCC examples            01/01/70 00:00      
                  RE: SDCC examples            01/01/70 00:00      
RE: SDCC examples            01/01/70 00:00      
RE: SDCC examples            01/01/70 00:00      
RE: SDCC examples            01/01/70 00:00      
   RE: SDCC examples            01/01/70 00:00      
      RE: SDCC examples            01/01/70 00:00      
RE: SDCC examples            01/01/70 00:00      
RE: SDCC examples            01/01/70 00:00      

Back to Subject List