assembler design in C

V

verma_ashu

hello friends,
i need to design a small assembler in C language.
but i donot know where to start.
what machine to take as the environment for assembler or should i make a
simulator also to run the assembly code in my assembler.
can anybody help in getting me started in this.


ashu
 
W

Walter Roberson

:i need to design a small assembler in C language.
:but i donot know where to start.
:what machine to take as the environment for assembler or should i make a
:simulator also to run the assembly code in my assembler.
:can anybody help in getting me started in this.

You should impliment the assembler language described in Donald Knuth's
"The Art of Computer Programming", Volume 1.
 
W

Walter Roberson

:> You should impliment the assembler language described in Donald
:> Knuth's "The Art of Computer Programming", Volume 1.

:That machine is obsolete, and DK is replacing it with MMIX, an up
:to date machine.

Cool!

But the OP would probably find the original MIX easier to impliment,
and the original MIX has the advantage of already having a truly excellent
prose description whereas the MMIX books are not out yet.

: You can find a full description on his pages.
:Look for fasc1.ps.gz on:

: <http://www-cs-staff.stanford.edu/~knuth/taocp.html>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,431
Messages
2,571,678
Members
48,796
Latest member
Greg L.

Latest Threads

Top