Hehehe, I agree. Why use asm?
Evandro Luiz Hauenstein
From: Royce & Sharal Pereira [mailto:bethell@...]=20
Sent: quinta-feira, 16 de janeiro de 2003 07:06
Subject: Fw: [Sdcc-user] absacc.h - XBYTE and #pragma directive endasm =
----- 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 =
queries will get cleared... including xdata storage Use the list if u =
find your answers in any of the docs.. If you need a tutorial in C, the =
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?
This SF.NET email is sponsored by: Thawte.com
Understand how to protect your customers personal information by =
SSL on your Apache Web Server. Click here to get our FREE Thawte Apache=20
Sdcc-user mailing list
Get latest updates about Open Source Projects, Conferences and News.