This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

yet another serial question

why does my get stuck at
jnb TI, $

List:
; enable external clock 11.0592Mhz for
; standard baud rate generation
; external pin T2 stimulated from
; function generator.

		mov SCON, #01010000B
		mov  T2CON, #00110010B
		mov  TL2, #0EEh
		mov  TH2, #0FFh
		setb TR2
		clr  TI
		mov  SBUF, #'A'
		jnb  TI, $
Looking at SBUF, 'A' never seems to get moved there. What am I doing wrong?

Parents Reply Children
No data