----- Original Message -----
From: "mount me" <linladn@...>
To: "Jesus Calvino-Fraga" <JesusC@...>;
Sent: Thursday, January 16, 2003 2:34 PM
Subject: Re: [Sdcc-user] absacc.h - XBYTE and #pragma directive endasm
> I have got this tiny program implementing xbyte .
> The file is karthik.c -->
> # include<8051.h>
> # define XBYTE((unsigned char volatile xdata *)0);
> unsigned char volatile xdata kl;
> void main(void)
> Though the program gets compiled correctly, i
> am unable to store at the address 0xa000 .
> How to do it ??
> Is there any fault in XBYTE define statement ??
> WHere is the problem ??
Why dont u read the SDCC & ASXxxx manual thoroughly? I'm sure most of your
queries will get cleared... including xdata storage Use the list if u cant
find your answers in any of the docs.. If you need a tutorial in C, the list
is not the best place to get it..
By the way why do you need a C compiler (SDCC) when you seem to want to
implement everything in assembly?