Amaury Jacquot wrote: > start bcf status, rp0 ; select bank 0 > clrf portb ; clears port B > bsf status, rp0 ; select bank 1 > movlw 0x00 ; all pins in output position > movwf trisb ; sets direction for all pins to > "output" > movlw 'A' ; character 'A' > movwf sobuf ; stores the character in the buffer I only read this far, but you forgot to reset STATUS,RP0 to point to RAM page 0 after setting TRISB. Don't forget about PORTA. If they are all floating inputs, you may have problems. Try setting them as outputs if they are not used and are not connected to anything. -- Best regards Tony mICros http://www.bubblesoftonline.com mailto:sales@bubblesoftonline.com -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu