ANN: Pyasm version 0.3
kgo at grant-olson.net
Sun Mar 28 22:46:50 CEST 2010
Pyasm is a full-featured dynamic assembler written entirely in Python.
By dynamic, I mean that it can be used to generate and execute machine
code in python at runtime without requiring the generation of object
files and linkage. It essentially allow 'inline' assembly in python
modules on x86 platforms.
In addition, pyasm can generate COFF format object files, which may be
of interest to anyone writing a compiler in python.
More details and downloads are available at:
The 0.3 release is long overdue. It includes:
+ A binary installer for python 2.6. The previous binary installer was
+ Automatic mapping of python structure values in the assembler. For
Example, assuming EAX is a pointer to a string, MOV
[EAX+PyString_ob_sval],0x42424242 will change the first four letters of
the string to B's
+ The assembler now supports implicit string creation: PUSH 'foo\n\0'
+ The ability to build and test with the mingw toolset on windows. This
previously required an MSVC toolset. Thanks to Markus Läll for sorting
More information about the Python-list