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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/30/07 07:28
Read: times


 
#140028 - store the A contents away...
Responding to: ???'s previous message
..after your fetch from code memory and reinit A with a suitable value.

  mov dptr,#some_table   ; init table pointer
  clr A                  ; offset into table
  movc A,@A+dptr         ; read table
  mov SOME_STORAGE,A     ; store the value you've read away
  clr A                  ; reinit table offset

some_table:
  dc.b 01ah,064h,01h


List of 24 messages in thread
TopicAuthorDate
How to store data in 8051/DB command            01/01/70 00:00      
   More Detail            01/01/70 00:00      
      Data            01/01/70 00:00      
         DB            01/01/70 00:00      
            1k in db            01/01/70 00:00      
               depends            01/01/70 00:00      
                  starting to understand            01/01/70 00:00      
                     Yes            01/01/70 00:00      
                        better?            01/01/70 00:00      
                           Example ?            01/01/70 00:00      
                              need...            01/01/70 00:00      
                                 Thats it            01/01/70 00:00      
   some answers...            01/01/70 00:00      
      I got MOVC!            01/01/70 00:00      
         The datasheet is the cuestion            01/01/70 00:00      
         store the A contents away...            01/01/70 00:00      
   cant debug a problem...            01/01/70 00:00      
      First step            01/01/70 00:00      
         a skywriter...            01/01/70 00:00      
            well, if you copy crap,, you get crap            01/01/70 00:00      
      I always thought.....            01/01/70 00:00      
   Cant debug, explained + Code            01/01/70 00:00      
   I THINK i found the problem            01/01/70 00:00      
      Long lines            01/01/70 00:00      

Back to Subject List