Solved

Multi-pass Assembler  having a prob

Posted on 2000-03-07
2
949 Views
Last Modified: 2008-01-09
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
Comment
Question by:bugflof
2 Comments
 
LVL 3

Expert Comment

by:msmits
ID: 2593555
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
 

Accepted Solution

by:
amorousdonjuan earned 100 total points
ID: 2755523
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How do I test for current date? 9 103
port mapped I/o query 10 186
Why does module make constant click noise ? 9 130
Using ANSI C how to Read a .csv file 10 81
Preface I don't like visual development tools that are supposed to write a program for me. Even if it is Xcode and I can use Interface Builder. Yes, it is a perfect tool and has helped me a lot, mainly, in the beginning, when my programs were small…
Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
The goal of this video is to provide viewers with basic examples to understand and use structures in the C programming language.
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question