??? 08/02/04 18:27 Read: times Msg Score: +1 +1 Good Answer/Helpful |
#75301 - RE: serial initialization Responding to: ???'s previous message |
First thing which is noticeable
mov SCON, 052H should look like mov SCON,#052H Please note the "#" sign. It tells the assembler to load immediate value 52H into SCON register and not to copy the data from location 52H. In your case, assembler is copying data from the location 52H into SCON. Check your assembler manual for more details. Also have a look at the following link (from tutorials on this site) http://www.8052.com/tutser.phtml If you are still unable to do it, then come back with the problem. |
Topic | Author | Date |
serial initialization | 01/01/70 00:00 | |
RE: serial initialization | 01/01/70 00:00 | |
RE: serial initialization | 01/01/70 00:00 | |
RE: serial initialization | 01/01/70 00:00 | |
Serial initialization Programs | 01/01/70 00:00 | |
RE: Serial initialization Programs | 01/01/70 00:00 | |
Sample code and MAX232 IC | 01/01/70 00:00 | |
Serial port files + notes | 01/01/70 00:00 | |
RE: Serial port files + notes | 01/01/70 00:00 | |
RE: Serial port files + notes | 01/01/70 00:00 | |
RE: Serial port files + notes | 01/01/70 00:00 | |
serial initialization, success | 01/01/70 00:00 | |
RE: serial initialization![]() | 01/01/70 00:00 |