using the select macro

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

  1. eaglei22

    eaglei22 New Member

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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice