In article <xns9d28186af890cfdnbgui7uhu5h8hrn...@127.0.0.1>, Giorgos Tzampanakis <g...@hw.ac.uk> wrote: >I'm implementing a CPU that will run on an FPGA. I want to have a >(dead) simple assembler that will generate the machine code for >me. I want to use Python for that. Are there any libraries that >can help me with the parsing of the assembly code?
I have a pentium assembler in perl on my website below. (postit-fixup principle). You could borrow some idea's, if you can read perl. The main purpose is to have a very simple and straightforward assembler at the expense of ease of use. Groetjes Albert -- -- Albert van der Horst, UTRECHT,THE NETHERLANDS Economic growth -- being exponential -- ultimately falters. alb...@spe&ar&c.xs4all.nl &=n http://home.hccnet.nl/a.w.m.van.der.horst -- http://mail.python.org/mailman/listinfo/python-list