Walter Roberson wrote:
verma_ashu <it*****@yahoo.co.in> wrote:
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.
That machine is obsolete, and DK is replacing it with MMIX, an up
to date machine. You can find a full description on his pages.
Look for fasc1.ps.gz on:
<http://www-cs-staff.stanford.edu/~knuth/taocp.html>
--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson