Am I doing something wrong? Why are tabs in code blocks now being converted to spaces? The result is no better than if I didn't use code blocks at all. For instance, code I just posted on another thread:
There were tabs, now they're spaces!
Code:
txdata lfsr 0,array ;point to array of data
movlw low (-bytecount) ;load number of bytes to send
movwf bytectr
movlw high (-bytecount)
movwf bytectr+1
dobyte movlw 4 ;send 4 doublets per byte
movwf dblctr
dublet rlncf indf0,f ;simultaneously shift bytes,
rlncf indf0,f ; and multiply least 2 by 4 for jump
movf indf0,w ;bits 2 & 3 are important
andlw b'1100' ;mask them
addwf pcl,f ;and use as index into jump table
c00 movlw b'00001000' ;code for doublet '00'
bra load
c01 movlw b'00001111' ;code for doublet '01'
bra load
c10 movlw b'11101000' ;code for doublet '10'
bra load
c11 movlw b'11101111' ;code for doublet '11'
bra load
load btfss pir1,txif ;txreg empty?
bra load ; no, wait
movwf txreg ;yes, send new code
decfsz dblctr,f ;all doublets done?
bra dublet ;no, do more
movf postinc0,f ;point to next byte
incfsz bytectr,f ;do for all bytes
bra dobyte
incfsz bytectr+1,f
bra dobyte
return ;done.