Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Multi-pass Assembler  having a prob

Posted on 2000-03-07
2
Medium Priority
?
991 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 200 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
Summary: This tutorial covers some basics of pointer, pointer arithmetic and function pointer. What is a pointer: A pointer is a variable which holds an address. This address might be address of another variable/address of devices/address of fu…
The goal of this video is to provide viewers with basic examples to understand how to create, access, and change arrays in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.

721 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