Controling the ALU
Michael Spencer
mahs at telcopartners.com
Thu Mar 31 16:31:58 EST 2005
Grant Edwards wrote:
> On 2005-03-31, Cesar Andres Roldan Garcia <cesar.andres at gmail.com> wrote:
>
>
>>How can I control an ALU from a PC using Python?
>
>
> The ALU is buried pretty deep in the CPU. The ALU is part of
> what is actually executing the instructions that _are_ Python.
>
Maybe:
>>> from __builtin__ import int as ALU
>>> ALU.__add__(3,4)
7
Sorry ;-)
Michael
More information about the Python-list
mailing list