• C

one pass and two pass assembler

I have tried writing code for one pass and two pass assembler but in vain.Please help me by providing a source code.Urgent!!
mimdAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

nils pipenbrinckCommented:
you want to write an assembler, or do you want to write assembly code?

nils
0
jhanceCommented:
Homework problem?  Sure sounds like it!

0
mimdAuthor Commented:
nils pipenbrinck,
    I wanted to write a assembler.Please help me out!!
0
Powerful Yet Easy-to-Use Network Monitoring

Identify excessive bandwidth utilization or unexpected application traffic with SolarWinds Bandwidth Analyzer Pack.

mimdAuthor Commented:
nils pipenbrinck,
    I wanted to write a assembler.Please help me out!!
0
snifongCommented:
Using what language? C I assume?  Do you have the syntax parser in place?
0
dbruntonCommented:
Go find a Linux distribution that includes the source code.  All the source code you could ever wish for.

Try redhat.com for a Linux distribution.

:)
0
abdijCommented:
Hi mimd,

Taking a cource in Compiler Writing or What??????

Answering such questions are basis for removal from forum

Bye
Abdij
0
nils pipenbrinckCommented:
I don't think that "writing an assembler" is a typical homework question.. it takes a lot of work to do so. (at least I never had to write an assembler... instead I was tortued with sort algorithms).


mimd.. what for a kind of assembler do you want to write? which cpu?

nils

0
abdijCommented:
Hi,
 However when i was doing by Engineering we had subjects like Systems Programming (Text book John Donovon excellant book has Assembler theory) and Compiler Construction (Text book Aho) both of which required us to write Assemblers. Not the haevy weight sorts but definately assemblers that do some sort of job the actual assemblers do. So there are definately chances that this can be one of such assignments.

Other wise Donovons book is an excellant book on Assemblers and there are lot of others. Just assure me that the question is not a homewor!!!!

Bye
Abdij
0
cadabraCommented:
I had an assignment like this at university once. It was a for a theoretical CPU instruction set. Anyway, it's a lot of work.
How much have you done already, and where are you stuck exactly ?
0
jhanceCommented:
It looks to me like this assignment is due soon:

>Urgent!!

and very little work, if any has been done:

>Please help me by providing a source code


mimd,

The Experts Exchange policies that you agreed to when you joined prohibit asking for someone to do your homework for you.  Experts are also prohibited from doing you homework for you.

If you have done some actual work and are just stuck on some point, then it would be allowable to ask for and receive help.  What you are doing here is clearly against the policies.

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ianBCommented:
There have been several discussions among the experts about doing homework assignments.  The general conclusion among the experts is to give guidance, but not to actually do the homework for the person. The purpose of homework is to learn how to program. If an expert does homework for others, they are not learning how to program for themselves.

Thank you,
Ian
Community Support @ Experts Exchange
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C

From novice to tech pro — start learning today.