[ANN] pyasm 0.2 - dynamic x86 assembler for python
PyASM by Grant Olson <olsongt at verizon.net> ============================================= PyASM is a dynamic x86 assembler for python. By "dynamic", I mean that it can be used to generate inline assembly functions in python at runtime without requiring object file generation or linkage. New in version 0.2 ------------------ + Linux Support. Will work in Linux environments as well as Windows. + Simplified Interface. You only need to use one function to generate code. + Preliminary Documentation. More information and downloads are available on my homepage: http://mysite.verizon.net/olsongt ################################# ## helloWorld.py ## assembly hello world script ################################# from pyasm import pyasm pyasm(globals(),r""" !CHARS hello_str 'Hello world!\n\0' !PROC hello_world PYTHON !ARG self !ARG args PUSH hello_str CALL PySys_WriteStdout ADD ESP, 0x4 MOV EAX,PyNone ADD [EAX],1 !ENDPROC """) hello_world()
participants (1)
-
Grant Olson