What I do, when I debug or try something is to read each bit of a byte and write it down.... 0010.0000 Now, I readed all bits and decided their value. Next trasnlate that to HEX 0x20 And use that value. It=92s a small consice and understandable (for me) code. Atlist for the next two hours before I erase the test and write the real code down. Mauricio Jancic Janso Desarrollos Microchip Consultant (54) - 11 - 4542 - 3519 -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU] On Behalf Of Tony K=FCbek Sent: Viernes, 03 de Octubre de 2003 06:32 To: PICLIST@MITVMA.MIT.EDU Subject: Re: [PIC:] USART on 18F452... Hi, On that note, I'd like to add: why does people not use the Microchip defines ? each and every bit has corresponding defines in the include file. This way, aprt from making the codes easier to read, will make it much less prone to errors. For example this snippet: > TXSTA =3D 0x20; > RCSTA =3D 0x80; I would write as (in asm): ; enable transmitter MOVLW (1<