??? 01/29/09 07:51 Read: times |
#161811 - Keil and assembler Responding to: ???'s previous message |
Andy Neil said:
Murali Krishna said:
Can you send me basic serial communication code in 'C' ... I am using Keil uvision V3 C51 compiler Note that uVision is not a compiler; it is a so-called IDE (Integrated Development Environment) which, among other things, provides a fancy graphical interface to the compiler and other tools. ... which, I presume, among other things might mean, that it also contains an assembler, doesn't it? On the other hand, the simple examples in Jon's pdf can be "translated" quite straightforwardly to "C" - for example the most trivial "echo" example ORG 0 Loop: MOV C,P3.0 MOV P3.1,C SJMP Loop would come out as something like void main(void) { while (1) { P3^1 = P3^0; } } etc. I would not go for the "Hello world" example until it's clear from the "echo" experiments, that all the related hardware is operational. JW |
Topic | Author | Date |
max232 and 8051 serial communication problem | 01/01/70 00:00 | |
max232 and 8051 serial communication problem | 01/01/70 00:00 | |
FAQ | 01/01/70 00:00 | |
Circuit is cleared | 01/01/70 00:00 | |
Keil | 01/01/70 00:00 | |
Keil and assembler | 01/01/70 00:00 | |
RE: Keil and assembler, etc... | 01/01/70 00:00 | |
Able to send from PC with the details..but. receive | 01/01/70 00:00 | |
unusable info | 01/01/70 00:00 | |
package is MAX232 DIP package | 01/01/70 00:00 | |
Do the Loopback! | 01/01/70 00:00 | |
COM port configuration | 01/01/70 00:00 | |
8051 hardware loop back is ok..but PC loop back | 01/01/70 00:00 | |
success at last | 01/01/70 00:00 | |
So what was the secret? | 01/01/70 00:00 | |
Corrected VB program![]() | 01/01/70 00:00 |