Hey guys, I'm working on an assignment where I am writing a loader in my class. We are to take in the object module, and decode it. I'm stuck with using the select. I'm using xread to read in the data and storing it in character form. I structure my while/ select statement like this: For some reason it skips over my select statements and doesn't store anything in the tables I made. Since whats in the object module is all hex, and I take it in my buffer as character format.. and then transfer the "type" which is a one byte hex number either 00, 02, or 05.. that tells me if the esd card is er, cm, or sd.. I try to store it in a X constant, and read.. but it doesn;t seem to be working.. Any suggestions? Maybe I'm doing it wrong?