Perhaps something like this : ; Recevied char in rx_data, 'A'-'G', or hex '41'-'47' ; Subtract hex '41' from rx_char and add ; result to pcl. ; movlw 0x41 subwf rx_data, w addwf pcl, f goto do_A_Converstion goto do_B_Converstion goto do_C_Converstion goto do_D_Converstion goto do_E_Converstion goto do_F_Converstion goto do_G_Converstion ; ; do something else... Jan-Erik Svderholm S:t Anna Data -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads