Maker Pro
Maker Pro

problem on programming UART IC(scc2691)

K

Ken Taylor

Jan 1, 1970
0
TerryChan said:
I am doing a project with MCU 8051 and UART scc2691 but I can't
programme the UART IC well.
I can only send the 1st character of a string that I want to send.
Terefore, I would like to know what's wrong in my programme ?

the circuit diagram:
http://www.ee.cuhk.edu.hk/~s017281/uart.gif
the assembly programme:
http://www.ee.cuhk.edu.hk/~s017281/uart.txt

Thank you,
Sorry if this seems dumb, it's been years since I did 80x51, but why use RET
after the cjne?

Ken
 
D

dont know

Jan 1, 1970
0
Ken said:
Sorry if this seems dumb, it's been years since I did 80x51, but why
use RET after the cjne?

Ken

the RET is ok, he continues at L1 until he sees the '$' character.

But why is the RET being used? this routine is not called anywhre.
Are these code pieces from another program. Where is the include
file? Stack pointer is set, register bank is where?
rw
 
Top