Discussion Forum

how to location the start of a array at the specify address of RAM?

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
coming woo
Posted
26-Aug-2002 08:31 GMT
Toolset
C51
New! how to location the start of a array at the specify address of RAM?
how to location the start of a array at the specify address of RAM? Envirment:C51 ver:6.23 BL51 Ver:4.23
Read-Only
Author
Vaclav Korecek
Posted
26-Aug-2002 12:24 GMT
Toolset
C51
New! RE: how to location the start of a array at the specify address of RAM?
You can use _at_ keyword of C51 compiler
or use XDATA control of the BL51 linker.

1. C51: unsigned char pdata ucaINFO[16] _at_ 0;

2. BL51: See this link, it can be useful for you -
http://www.keil.com/support/docs/130.htm

Vaclav

Next Thread | Thread List | Previous Thread Start a Thread | Settings