Hello all,
I finally got around to writing the project for this section.
I did it in Python. I followed the API somewhat, but changed a couple things to make the code my own as I went.
I would like to share my code with you all, as a study aid to anyone who is struggling and would like some direction, but also to gain feedback from anyone who would critique my code (feedback would be much appreciated, as I'm also only learning python). Download it here:
https://mega.co.nz/#!DEtVhaLb!bqxeJ2og14GLO9YtYz9p4VEhl1gFCKsNsv29smcU7RwI have four modules: assembler.py, code.py, symbol_table.py, and parser2.py (only after much frustration did I realize that python has it's own parser module, which is why my original parser.py module never worked!) Feel free to reply if you need anything cleared up.
Also, I'd love to see other implementations of the assembler (in python, preferably, as that's the language I'm most comfortable with), as I find that's a great way to learn, too (especially if you don't want to take a lot of time critiquing my code - I'll learn by your example!)
Cheers, all, and thanks to Noam and Shimon for putting together such a wonderful and empowering resource!
-MN