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.

Using MOVX in c code in keil (8051)

Status
Not open for further replies.

Elnegm

Member level 1
Member level 1
Joined
Jun 28, 2005
Messages
33
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
1,524
movx 8051

I want to use MOVX assembly instruction in my c code,i made the way that i create separate assembly file and make public function then define it as extern in my c code but when i debyg this code when the step at the line to excute the function ,LCALL instruction excuted to the start of the code not the right place where the function is in ROM.
I want to make sure from how can i map to external RAM in 8051?
I but addres in DPTR the use MOVX instruction the assign read line or write line IS that correct?
tHANKS IN ADVANCEE?
 

movx in c

check target option ?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top