What about your Rx_byte define. Is he declare as WORD. Case not .byte0 will not work. what do you really need to do with your code?