Thought a lot about assembler,from the book but disappointed

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Thought a lot about assembler,from the book but disappointed

Yerri07
I had bought the book from amazon for the topic assembler , and i dissapointed with the book it doesn't explains about how cross assembler is done and how generated code reads the text input of .asm and how maintains its symbol table  , location counters there is lot of stuff in assembler. It doesn't explain how the translated binary code nothing but  hack assembler in turn takes input .asm and converts the .hack and where it output the file . etc.. Really i expected a lot from the book and I hope i didn't wasted my money, If anyone know how to how to write an assembler for any architecture and in turn it compiles and text file to binary hack. Hope you guys help me out.
Reply | Threaded
Open this post in threaded view
|

Re: Thought a lot about assembler,from the book but disappointed

cadet1620
Administrator
The Elements of Computing Systems is a textbook for a one semester introduction to computer architecture, or the online course at nand2tetris.org and offered on Coursera. The chapter on the Hack assembler is intended as a one-week project to write a bare-bones absolute assembler.

For a more detailed treatment of assemblers, check out Assemblers and Loaders by David Salomon. The author has made a pdf of the book available here.

--Mark
   
Reply | Threaded
Open this post in threaded view
|

Re: Thought a lot about assembler,from the book but disappointed

abryant24
There is a little bit more explanation on this post:

http://nand2tetris-questions-and-answers-forum.32033.n3.nabble.com/From-ASCII-to-real-binary-values-on-hardware-td4028270.html#a4032535

I am also thinking this chapter is the most important for filling in my knowledge gaps, but seems to be missing some information.