[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] sdram adress/length

From: varsha
Subject: [avr-gcc-list] sdram adress/length
Date: Thu, 10 Nov 2005 13:07:26 +0530

hello all,
i am using avr-gcc (GCC) 3.4.3, and using ATmega16 ,
and writng the code for copying sdram data int flash, in c language.
There are three address bytes and three length bytes for sdram.
At a time i can read 16 bytes from sdram, then i want to decerment the length and incerement the address value bye 16.
how to increment address value(or decrement the length), by using a single variable.
i dont want use three different bytes, because then  propogating carry  becomes a problem..
is there any way , by which we can define a data type which takes three bytes of memory...?
or how can i solve this problem?


***********************Confidentiality Notice***************************
The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain confidential or privileged information. If you are not
the intended recipient, please notify the sender at Divinet or
address@hidden immediately and destroy all copies of this
message and any attachments.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]