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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/30/06 19:43
Modified:
  07/30/06 19:45

Read: times


 
#121354 - Outputting a Byte of serial data
Responding to: ???'s previous message
To send one byte of data over, through, or out of the serial port use

MOV SBUF P0

which presumes that the data is at Port 0 to begin with. If not, then substitute accordingly.

Now I would suggest that you read the tutorials that are linked to in the left hand column of this page. They do a pretty good job of explaining the serial port operations.

Good luck.


List of 18 messages in thread
TopicAuthorDate
Writing/Reading byte of data to/from 8051 serially            01/01/70 00:00      
   Outputting a Byte of serial data            01/01/70 00:00      
      Sorry, i forget to mention..            01/01/70 00:00      
         That\'s fine, but ...            01/01/70 00:00      
      He says he has to output TO the 805x            01/01/70 00:00      
         Not Serial Port, Data Bus?            01/01/70 00:00      
   Did you read the datasheet?            01/01/70 00:00      
      If he learns Microwire, he's done, right?            01/01/70 00:00      
         Hmm, to make things clear,            01/01/70 00:00      
            Sorry, you're not being clear            01/01/70 00:00      
               And which 8051 derivative?            01/01/70 00:00      
                  It does helps            01/01/70 00:00      
            Cannot understand...            01/01/70 00:00      
            I'd strongly urge you to avoid SMS abbreviations!            01/01/70 00:00      
               I would not            01/01/70 00:00      
                  Has 'C' become an excuse?            01/01/70 00:00      
                     First assembler, then 'C'            01/01/70 00:00      
                     absolutely            01/01/70 00:00      

Back to Subject List