I need to use the switch statement with up to 255 cases?
I keep getting the out of range error
Is that a question?
No specific limits: http://www.keil.com/support/man/docs/c51/c51_xd.htm