does anyone have an idea of how to continuously send a character using the UART function on an 8051 in assembly language. the following code i have doesnt seem to work, the compiler tells me theres a syntax error in the mov SBUF, #A line. many thanks:
ORG 0x00;
mov TMOD, #20H ; //T1 is mode2 mov TH1, #0x3 ; //9600 baud mov SCON, #50H ; //8b, REN enabled setb TR1 ; //start T1
mov SBUF, #A ; //letter A is transmitted
while(1);
clr TI ; //clear TI for the next character sjmp SBUF;
end
helo mastar tamir ..............
i kno sir erac to forem and he help me so big for my problums.
at the colledge alll study persons see sir erac as mister wise man!!!!!!!
my lucky freind has picture of sir erac on wall class wall
If I were Erik, I would become a little worried... This sounds a bit like "Apocalypse Now..."
Hmmm, a picture of Sir Erik.
If I move my posters of Abba and the Osmonds and the Bay City Rollers around a bit, I think I could find enough space for a picture of the hero.