Solved

Multi-pass Assembler  having a prob

Posted on 2000-03-07
2
958 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
The goal of this video is to provide viewers with basic examples to understand and use pointers in the C programming language.
The goal of this video is to provide viewers with basic examples to understand opening and writing to files in the C programming language.

735 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