Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1004
  • Last Modified:

Multi-pass Assembler having a prob

I have tried writing code for a one pass and two pass assembler but I am not having much luck. Can anyone give an example of source code or perhaps show me(refer me to) a good reference text?

0
bugflof
Asked:
bugflof
1 Solution
 
msmitsCommented:
Can you be a bit more specific about the problems you have?

For an example of an assembler look for the GNU assembler that is part of the binutils at:

  ftp://ftp.gnu.org/gnu
0
 
amorousdonjuanCommented:
hi,
i wrote a two pass assembler for my project.i wrote it with my two friends for our final year project.

things havent come to a stage where i can show you my source code.i dont have a web page of my own and most of the programs are yet to be linked.

they work well as stand alone units.

grab hold of a book "Systems Programming" by John J. Donovan,mcgraw hill publications.ISBN 0-07-460482-1

since systems programming theory and practice go hand in hand (u cannot write an assembler w/o a text book)
follow the text verbatim.

on reading the chapter on assemblers ,assuming that you have a good knowledge of data structures u will come to know what to do.

thats what we did.

we mostly refered a book written by
Dr. D.M.Dhamdhere (IIT Bombay ,India)
(i am an indian).if you are an indian get hold of this book(systems programming and operating systems).
otherwise stick to Donovan.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now