Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/26/01 02:49
Read: times


 
#13512 - RE: movc a,@a+PC ?????????
I don't think this instruction is portable and flexible.
Why don't you try something like this?

rom_data: db d1,d2,d3....

mov dptr,#rom_data
mov a,index
movc a,@a+dptr

Then you can put data on any where in your code.

Regards

List of 6 messages in thread
TopicAuthorDate
movc a,@a+PC ?????????            01/01/70 00:00      
RE: movc a,@a+PC ?????????            01/01/70 00:00      
RE: movc a,@a+PC ?????????            01/01/70 00:00      
RE: movc a,@a+PC ?????????            01/01/70 00:00      
RE: movc a,@a+PC ?????????            01/01/70 00:00      
RE: movc a,@a+PC ?????????            01/01/70 00:00      

Back to Subject List