1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

using the select macro

Discussion in 'Assembly Language Programming (ALP) Forum' started by eaglei22, Feb 10, 2012.

  1. eaglei22

    eaglei22 New Member

    Jan 27, 2012
    Likes Received:
    Trophy Points:
    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?

Share This Page