Thread: need help in 2 pass assembler

  1. #1
    Registered User
    Join Date
    May 2011
    Posts
    2

    need help in 2 pass assembler

    i have a project(6th sem vtu) and i have to create a 2 pass assembler
    i got the code from this link here and here (pass 1 and pass 2 respectively)
    i we have to give in out as input.dat, but the problem which i am facing is i cant get the output for 2nd pass

    can anyone tell me what can i do for this?
    i have to submit this on 4th

    input file has been attached
    its in txt format, change it to .dat, as i had to upload it as txt couse dat is not supported

    thank you
    Attached Files Attached Files
    Last edited by draglord; 05-01-2011 at 01:11 AM.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    > can anyone tell me what can i do for this?
    Well the smart thing to do would be to do your OWN homework, rather than trying to botch up some crap you found on the net.

    Or you could just pester the author of the blog to fix it up just for you.

    Either way, nobody here is going to be interested in your "scoop and poop" coding.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    May 2011
    Posts
    2
    well i am not asking you to do my homework, i am just asking for help

    what's happening is when i run the first pass, output comes fine
    but in the second run, object code is not being generated
    there is something wrong in the code
    i need help for that, i cant understand this level of programming so i cant fix it
    all you need to tell is why the object code is not being generated

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 11-22-2007, 12:58 AM
  2. Pass by reference vs pass by pointer
    By Non@pp in forum C++ Programming
    Replies: 10
    Last Post: 02-21-2006, 01:06 PM
  3. C function - Pass by value? Pass By Ref?
    By stevong in forum C Programming
    Replies: 4
    Last Post: 11-18-2005, 08:02 AM
  4. pass be reference versus pass by value
    By Unregistered in forum C++ Programming
    Replies: 2
    Last Post: 08-01-2002, 01:03 PM
  5. Replies: 3
    Last Post: 04-02-2002, 01:39 PM