Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.python
Re: Writing an assembler in Python
Ed Keith
2/23/2010 3:47:00 AM
> Subject: Re: Writing an assembler in Python
> Giorgos
> Tzampanakis 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.
>
> Let me suggest an alternative approach: use Python itself
> as the assembler.
> Call routines in your library to output the code. That way
> you have a
> language more powerful than any assembler.
>
> See <
http://github.com/ldo/cros...
for
> an example.
> --
>
http://mail.python.org/mailman/listinfo/p...
>
Not a bad idea, has anyone tried this for x86 machine code?
-EdK
Ed Keith
e_d_k@yahoo.com
Blog: edkeith.blogspot.com
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: Writing an assembler in Python
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password