Hi, I'm trying to simulate working of a UART. When I write into SBUF, the TI flag doesn't go high even though I have enabled interrupts. Is there any way I can simulate it using SOUT VTREG. can't find example how to use SOUT.
"I'm hoping that Rohit just wants to use this as a learning exercise since he's obviously new to the 8051. If that's the case, it's probably not a bad idea for him to hack around with code like this. Just my two cents." Point taken, and I agree. However, if he were to thoroughly analyse Keil's code all his questions would be answered.
Stefan, That's probably true. Unless he's nearly as feeble-minded as me and can't see the forest for the trees when looking at larger code samples. :)