Writing an assembler in Python

Holger Mueller dont.spam.holgerm1969 at gmx.de
Tue Mar 2 16:26:59 EST 2010


Giorgos Tzampanakis <gt67 at 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?

Why coding assembler if you can type in hexdumps...

scnr
    Holger
-- 
http://www.kati-und-holger.de/holgersblog.php



More information about the Python-list mailing list