Changing Procesor Flags and word state From Python

Cary O'Brien cobrien at Radix.Net
Wed Dec 20 18:09:08 CET 2000

In article <t3hg1fpdpvkg7d at>,
Jose Martin <joseamartin at> wrote:
>Is there any way to work with CPU registers and the flags directly from

You would have to write a C extension that executed (probably via asm code)
the instructions. 

Or (in unix) you could write a suid-root program in C that did it.

-- cary

More information about the Python-list mailing list