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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/30/03 09:33
Read: times


 
#42541 - RE: Using P2 and external RAM
Responding to: ???'s previous message


Raghunathan R wrote:
-------------------------------
If you need only a little bit of external memory of less than 256 bytes, then use the MOVX @Ri type instruction and P2 will then be available for normal use by your program. P2 is used by the MOVX @DPTR type instructions only.
;

Sorry but not true.P2 output state is momemtarily affected by both MOVX instructions.If one used MOVX @DPTR then P2_pin=DPH.If one uses MOVX @R0/R1 then P2_pin=P2 latch.You may not decode P2 if RAM is less than 256 but making P2 act as general purpose i/o when any MOVX is in code
is not a good idea.
Pranav







List of 25 messages in thread
TopicAuthorDate
Using P2 and external RAM            01/01/70 00:00      
   RE: Using P2 and external RAM            01/01/70 00:00      
      RE: Using P2 and external RAM            01/01/70 00:00      
   RE: Using P2 and external RAM            01/01/70 00:00      
   RE: Using P2 and external RAM            01/01/70 00:00      
   RE: Using P2 and external RAM - Pranav            01/01/70 00:00      
      RE: Using P2 and external RAM - Pranav            01/01/70 00:00      
         RE: Using P2 and external RAM - Pranav            01/01/70 00:00      
            RE: Using P2 and external RAM - Pranav            01/01/70 00:00      
               RE: Using P2 and external RAM - Pranav            01/01/70 00:00      
                  RE: Using P2 and external RAM - Pranav            01/01/70 00:00      
                     RE: Using P2 and external RAM - Pranav            01/01/70 00:00      
                        RE: Using P2 and external RAM - Pranav            01/01/70 00:00      
                           RE: Using P2 and external RAM - Pranav            01/01/70 00:00      
                           RE: Using P2 and external RAM - Pranav            01/01/70 00:00      
                              RE: Using P2 and external RAM - Pranav            01/01/70 00:00      
                                 RE: Using P2 and external RAM - Pranav            01/01/70 00:00      
   RE: Using P2 and external RAM            01/01/70 00:00      
      RE: Using P2 and external RAM            01/01/70 00:00      
         RE: Using P2 and external RAM            01/01/70 00:00      
            RE: Using P2 and external RAM            01/01/70 00:00      
               RE: Using P2 and external RAM            01/01/70 00:00      
               8751            01/01/70 00:00      
                  RE: 8751            01/01/70 00:00      
                     END            01/01/70 00:00      

Back to Subject List