Accessing individual bytes of an integer.

This should be an easy question, but it's driving me nuts.

I'm programming in C51. I need to access the high-byte and the low-byte of a unsigned short variable. How should I do it?

More questions in this forum