Oh, I see what you mean. Anyways, I'm almost sure (I haven't tested it though) that combining your 9 bit number ($100) with your byte variable is what is causing the overflow problem. You might need to find a workaround.

Good luck.