data type conversion

how to extract the least 8 bits of port 0(p0.7 to p0.0) and store it into a variable of type unsigned char directly ?
this is in reference to the arm7 (lpc2129).
santosh

More questions in this forum