How do I mask a portion of an int that's been constructed from several
data fields? That is, I have an int value that contains several values;
bits 10-15 have something I want to isolate and use. I know I can bit-
shift back and forth, but is there a way to mask out these bits and use
them as an integer value? TIA