Elnegm
Member level 1
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?
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?