
uart_rdy_loop:
    mov   dptr,#LSR
    movx  a,@dptr
    jb    acc.5,uart_rdy_loop
uart_is_rdy:
    mov   dptr,#THR
    movx  @dptr,a

