??? 04/16/08 10:13 Read: times |
#153451 - i am making an assembler. Responding to: ???'s previous message |
i dont have an assembler but i am making one for 8052.
i am done with the programming of all other instruction except AJMP and ACALL..for that i want to know their complete functionality... how it works and to check whether the operand provide by the user is in correct format and lie in the range. you said that absolute addressing allows any 16 bit address.. here both ajmp and acall are absolute addressing. so does it mean it takes a 16 bit operand?? and if their is a label instead of address in place of operand then i need to check if the label is positioned within the range of the calling instruction and after verifying it, I want to obtain the hex code of the complete instruction, which is my main motive. |