 
Regulus Berdin [rberdin at BIGFOOT.COM]
this is 2x faster (500kbps @ 4MHz) :
; serial tx
; assumes PORTB1 initially on high state
        rrf     data,w
        xorwf   data,f
        movlw   1
        xorwf   PORTB,f         ;start bit
        skpnc
         xorwf  PORTB,f         ;b0
        btfsc   data,0
         xorwf  PORTB,f         ;b1
        btfsc   data,1
         xorwf  PORTB,f         ;b2
        btfsc   data,2
         xorwf  PORTB,f         ;b3
        .
        .
        .
        nop
        bsf     PORTB,0         ;
| file: /Techref/scenix/lib/io/osi2/serial/rs232at500kbps.htm, 0KB, , updated: 2000/5/2 10:26, local time: 2025/10/31 13:40, 
 
216.73.216.212,10-3-97-86:LOG IN | 
| ©2025 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://www.massmind.org/techref/scenix/lib/io/osi2/serial/rs232at500kbps.htm"> scenix lib io osi2 serial rs232at500kbps</A> | 
| Did you find what you needed? | 
| Welcome to massmind.org! | 
| Welcome to www.massmind.org! | 
.