Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to access data stored in ROM in Keil C51 ?

Status
Not open for further replies.

milan.rajik

Banned
Joined
Apr 1, 2013
Messages
2,524
Helped
540
Reputation
1,078
Reaction score
524
Trophy points
1,393
Activity points
0
How to access data stored in ROM in Keil C51 ?

I have an array like
Code:
unsigned int code myarray[2] = {25, 350};
in Keil C51 code. I want to know how to access this array in code for processing ?
 

The "code" storage class specifier is allocating the data objects in code memory. You access by simple C assignments, that's the adavntage of a C compiler. Specific restrictions have to be considered for access through pointers. Just review the Keil manual.
 

Thank you FvM. I will have a look at the manuals.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top