Ops Review
Igor
quevlar at ymail.com
Wed Jan 21 18:56:53 UTC 2009
On Mon, 19 Jan 2009, chromatic wrote:
> I've skimmed all of the ops in our .ops files, and here are my
recommendations
> for deprecations. This is a first pass, so I may have missed a few ops we
> don't need (especially variants), and I may recommend removing
something you
> use, so let's consider this a work in progress:
I'm not sure if bitwise operations refer to shifts, masks, Xors,(bit ops) etc.
If those are not related to this disscusion, please don't taking it into account.
There are used in controlling electronic devices, like stepped motors,
used for aeromodelisms and in robotics where some bits are used for memory access
and other signals(for programming eproms and eeproms),
and each bit(each pin of a eeprom is given a 5 volts trouhg a byte and a mask(an OR)
fore example:
give 5 volts to pin 1, leaving other pins untouched:
hex
xxxxxxxx xx hex current pins on or off of device
11111110 FE the mask "ored" with
00000001 01 or FF on pin no 1
give 0 volts to pin 1
hex
xxxxxxxx xx hex current pins on or off of device
11111110 FE the mask "xored" with
00000001 01 or FE on pin no 1
for off a pin i think a xor is used.
Sincerely,
Igor
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
Regístrate ya - http://correo.yahoo.com.mx/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.parrot.org/pipermail/parrot-dev/attachments/20090121/180d5442/attachment.htm
More information about the parrot-dev
mailing list