Hi All

I'm extremely new to Assembler, but got the hang of most of the stuff required for PIC programming.

I was able to build a circuit this weekend for RS232 communication between the PC and the PIC and got a test message sent from the PIC to the PC when connecting, as well as an "echo" routine that takes the input and sends it back.

What I want to do now is to check what is being sent to the PIC, and perform certain actions based on the input. (A basic "IF" statement) The only instructions I'm aware of that can do something like this is BTFSC and BTFSS, but aren't these to only check a certain bit of something? So, for example, to perform an action when the 0 bit of port A is set, I would require the below:
Code:
btfsc PORTA,0
call DoSomething
If this is correct, then it's not what I need. I will essentially send the PIC an 8-bit character (EG: 0xFA = character 250) from a set list and, based on this character, it will do something different.

Is there any "easy" way of doing this? Something similar to BTFSC / BTFSS but that checks the whole byte instead of a single bit?