Mercurial > public > hwos_code
comparison src/comm.asm @ 124:40ff64d60054
cleanup
author | heinrichsweikamp |
---|---|
date | Sun, 29 Jun 2014 13:53:46 +0200 |
parents | f3062a611eef |
children | bd74161c4292 |
comparison
equal
deleted
inserted
replaced
123:d076e9c02438 | 124:40ff64d60054 |
---|---|
1531 comm_send_string: | 1531 comm_send_string: |
1532 movlw "n" ; send echo | 1532 movlw "n" ; send echo |
1533 movwf TXREG1 | 1533 movwf TXREG1 |
1534 call rs232_wait_tx ; Wait for UART | 1534 call rs232_wait_tx ; Wait for UART |
1535 WIN_SMALL comm_string_column, comm_string_row | 1535 WIN_SMALL comm_string_column, comm_string_row |
1536 lfsr FSR2,buffer | |
1537 movlw .16 | 1536 movlw .16 |
1538 movwf lo ; counter | 1537 movwf lo ; counter |
1539 comm_send_string_loop: | 1538 comm_send_string_loop: |
1540 call rs232_get_byte | 1539 call rs232_get_byte |
1541 btfsc rs232_recieve_overflow ; Got byte? | 1540 btfsc rs232_recieve_overflow ; Got byte? |