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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Andy Neil
01/30/12 14:43
Read: 561 times
Basingstoke
Uk


 
#185735 - Why ASM?
Responding to: ???'s previous message
Dave Mcnamara said:
Can someone show me a piece of ASM code in order to send 0x7E,0x01,0x00,0x00,0x00,0x00,0x01 over a serial port

Why does it have to be ASM?

The procedure required is the same irrespective of what language you use - it's just a matter of writing to SBUF, and monitoring the UART status to see when it's ready for the next byte.

This is bog-standard 8051 serial comms.

List of 17 messages in thread
TopicAuthorDate
Help. Writing Hex code from serial port to External device      Dave McNamara      01/27/12 15:42      
   Look at this      Michael Karas      01/27/12 18:46      
      Using 8051      Dave McNamara      01/28/12 03:19      
   Why ASM?      Andy Neil      01/30/12 14:43      
      Design your subroutine(s)      David Prentice      01/30/12 15:20      
   RI Flag      Dave McNamara      02/20/12 08:48      
      READ_SERIAL      Michael Karas      02/20/12 09:25      
         RI setup      Dave McNamara      02/20/12 09:57      
            are you sure?      Erik Malund      02/20/12 10:04      
               CKCON      Dave McNamara      02/20/12 10:22      
                  well, then      Erik Malund      02/20/12 11:17      
                     Correct      Dave McNamara      02/20/12 12:11      
                        RI and TI      Erik Malund      02/20/12 12:24      
                           Ok      Dave McNamara      02/20/12 12:32      
                              Diff Of TI and RI      Michael Karas      02/20/12 12:57      
                                 Uart stall      Maarten Brock      02/22/12 07:01      
                        Oscilloscope      Per Westermark      02/20/12 17:04      

Back to Subject List