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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/16/04 11:01
Read: times


 
#74360 - RE: Retrieving data from ROM
Responding to: ???'s previous message
hi,

you can put the value in Program memory instead.


call load


.........
.........
........
........


load:

mov R0,#25
mov R2,#number_of_values
mov R1,#6h
Loop:
mov A,R1
movc A,@A+PC
mov @R0,A
inc R1
inc R0
djnz R2,Loop
ret
values: db 12,3,116,187,83,216,58,234,41,252




List of 8 messages in thread
TopicAuthorDate
Retrieving data from ROM            01/01/70 00:00      
   RE: Retrieving data from ROM            01/01/70 00:00      
   RE: Retrieving data from ROM            01/01/70 00:00      
   RE: Retrieving data from ROM            01/01/70 00:00      
   RE: Retrieving data from ROM            01/01/70 00:00      
   Why?            01/01/70 00:00      
      RE: Why?            01/01/70 00:00      
         But Why?            01/01/70 00:00      

Back to Subject List