hello every body i have a problem when i use debugger i assign a value to sbuf but i can't get that?!?!? it seems that i can't simulate serial recieve?!?! plz help me :(
The document (commonly known as "the bible") that seemingly nobody wants to read has the following: Serial Data Buffer The Serial Buffer is actually two separate registers, a transmit buffer and a receive buffer. When data is moved to SBUF, it goes to the transmit buffer and is held for serial transmission. (Moving a byte to SBUF is what initiates the transmission.) When data is moved from SBUF, it comes from the receive buffer The amazing thing is that a quick look at "the bible" gives instant answers, posting in a forum, you have to wait a while. Erik here are the links to "the bible" Chapter 1 http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_ARCH_1.pdf chapter 2 http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_PROG_GUIDE_1.pdf chapter 3 http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_HARDWARE_1.pdf