Discussion Forum

Who initializes DATA variables?.

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

DetailsMessage
Read-Only
Author
Chiran Rapolu
Posted
5-May-2008 22:14 GMT
Toolset
None
New! Who initializes DATA variables?.

Hi,
Who initializes xxx variable?.
static data UINT8 xxx=10;

Is it STARTUP.A51?.

Read-Only
Author
Dan Henry
Posted
5-May-2008 22:50 GMT
Toolset
None
New! RE: Who initializes DATA variables?.

http://www.keil.com/support/man/docs/c51/c51_ap_init.htm

Read-Only
Author
Chiran Rapolu
Posted
6-May-2008 01:11 GMT
Toolset
None
New! RE: Who initializes DATA variables?.

Thanks Dan.

But I don't see INIT.A51 in my uV3 project files. I only see STARTUP.A51. Do I need to copy INIT.A51 to uV3 project explicitely?.
Thanks,
Chiran.

Read-Only
Author
Andy Neil
Posted
6-May-2008 06:47 GMT
Toolset
None
New! RE: Do I need to copy INIT.A51 to uV3 project explicitly?.

No!

See: http://www.keil.com/support/docs/783.htm

"[Keil] strongly recommend that you do not modify the INIT.A51 file."

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