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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/28/08 10:24
Read: times


 
#161183 - Insufficient information
Responding to: ???'s previous message
Michael Malloy said:
MOV SCON, #13h
only command in whole program that refers to SCON

There is no way that people reading the forum can guess what may or may not happen in the rest of your program without seeing it - or at least a link to where it can be found.

If you want a critique of the program, you really need to provide the whole program!

I am sure that no data that comes in from the serial port actually makes it to external RAM that is what I wanted to confirm?

Yes, the instructions that you've shown do not access external RAM - or any other RAM, for that matter.

unless there is some other trick way of getting data into the external RAM knowing that the only one routine/command in the whole asm code that refers to SBUF iS the previously mentioned command

Again, it is impossible to tell what "tricks" may or may not be used elsewhere in the program without actually seeing the whole program!

MOV SBUF,SBUF

I assume if any data made it to external RAM then the code would have had to MOV the DPTR to some external ram location then move the SBUF data in

Yes - using either MOVX @DPTR or MOVX @Rn


List of 10 messages in thread
TopicAuthorDate
8051/2 serial port as shift register            01/01/70 00:00      
   Read the datasheet and look for Mode 0            01/01/70 00:00      
      The datasheet for YOUR MCU - or not?            01/01/70 00:00      
         it doesn't always work in the same way            01/01/70 00:00      
            True; hence...            01/01/70 00:00      
   Loopback?            01/01/70 00:00      
      serial port as shift register            01/01/70 00:00      
         Insufficient information            01/01/70 00:00      
   cute            01/01/70 00:00      
   Not enough Inofmation start from scratch            01/01/70 00:00      

Back to Subject List