Finished my assembler

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

Finished my assembler

pawdwanlearner
Well i Just finished my assembler . I am as Mr Schocken would say "A very happy camper". I got stuck for a couple  of days on the pong game test where it was translating the A command when it should not, but i was able to find the flaw in my logic, fixed it and Boom as if by some black magic my code assembled successfully and compared in the supplied assembler just fine. My plan after this is to continue on and get to the end of the book where you build the OS. Of course it will be a little slower for me since i am brushing up on my programming skills while i do this, but i am definitely up to the challenge.

I would like to thank everyone in this forum for the helpful hints and Id like to thank Professors Schoken and Nissan for designing a great course.
Reply | Threaded
Open this post in threaded view
|

Re: Finished my assembler

ybakos
Keep it up.
Reply | Threaded
Open this post in threaded view
|

Re: Finished my assembler

cadet1620
Administrator
In reply to this post by pawdwanlearner
Congratulations!!

I'm curious, what language did you use to write your Assembler?  I used Python.

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

Re: Finished my assembler

RustyPug
I am not the OP but am in the same position. Started the course a couple of weeks ago and loving it.

I too used Python and am enjoying learning the language. I have tried to make the assembler as elegant as possible and it seems to work perfectly.

Now onto chapter 8 which looks scary.
Reply | Threaded
Open this post in threaded view
|

Re: Finished my assembler

pawdwanlearner
In reply to this post by cadet1620
I wrote the assembler in python as well. Of course it took me a little longer than it should have because I was learning the language and learning to program at the same time. I had some experience with programming languages from C++ but i never went too far. Now i find myself really having to put my hands to task and actually learn the techniques of programming to finish the projects. The book i am using is called How to Think Like a Computer Scientist.