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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/18/06 22:21
Read: times


 
#129700 - In response to Jon
Responding to: ???'s previous message
So I don't think that I fully understand what you're getting at because as I understand your suggestion, it doesn't work...

I want to get something like this:

mov dptr, #myfifo + offset

offset can be anything from 0-127. I don't see how moving a into @dptr and then inc dptr does this... The only solution I see with inc is to do something like

mov dptr, #myfifo
loop: inc dptr
djnz offset, loop

I don't like that solution because it's gross...if offset is 127, that means 127 loop itterations!

Am I understanding your suggestion? I am a newbie so it's possible that just went over my head... Any other suggestions? Thanks!


List of 22 messages in thread
TopicAuthorDate
newbie: offsetting the dptr            01/01/70 00:00      
   additional info            01/01/70 00:00      
   do you have external data memory at all?            01/01/70 00:00      
      Exteranal or Internal RAM            01/01/70 00:00      
   In response to Jan and Neil            01/01/70 00:00      
      MOVX @DPTR,A            01/01/70 00:00      
         In response to Jon            01/01/70 00:00      
            Indexing            01/01/70 00:00      
               In response to Hans            01/01/70 00:00      
                  Indexing            01/01/70 00:00      
   In response to Hans            01/01/70 00:00      
      the reason is            01/01/70 00:00      
         In response to Russell            01/01/70 00:00      
            Be careful who you listen to!            01/01/70 00:00      
            movx a,@dptr            01/01/70 00:00      
               In response to Neil            01/01/70 00:00      
                  It Adds            01/01/70 00:00      
               ??????            01/01/70 00:00      
                  oopps no            01/01/70 00:00      
               error            01/01/70 00:00      
               error            01/01/70 00:00      
                  movx/movc            01/01/70 00:00      

Back to Subject List