You can make your code a little easier to read if you place the cursor in the Source Code Window of the IDE and do Ctrl-T before you post your code. It will reformat your code to a common C style. Also, in the while loop where you read the Serial object, most would define inChar outside the loop. I haven't looked at the assembler, but my guess is that it only defines it once so it will likely have no impact on the code, but if that's not the case, it makes sense to define it before entering the loop.