anasfuad33eng
Member level 1
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
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