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.

pointing to a 2 byte memory address using two 8 bit register

Status
Not open for further replies.

anasfuad33eng

Member level 1
Member level 1
Joined
Mar 21, 2013
Messages
32
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Visit site
Activity points
1,498
hi,all i face problem in my program of 8051 mcu with the following restrictions :1-my program must start at address 2000h(2 byte)
2-dptr register used for other purposes so,i cant use it to point to the memory address

my program include mov dptr,#porta
movx a,@dptr ;read digital data from porta
now i want to compare accmulator with the values stored in memory locations from 2050h to 2060 h how but the problem i dont have another register (16 bit) in 8051 can i point to these memory locations using 2 eight bit register ? how pizzzzzz help ,suggest,idea8-O
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top