Re: [AD] Color convertors

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


In reply to Bob <ohannessian@xxxxxxxxxx>:
>Laurence Withers wrote:
>> What about a lookup table?
>
>The problem is that I only have one free MMX register, and %ebp, so whatever I 
>have to do, I have to do it with those ones. I can't do a with one register.

Can you not load the address into a register (%ebp, I suppose), and
simply add the value to be used for the offset? Or does Intel have an
offset addressing mode? And no, I don't know anything about Intel
assembler :-)

Bye for now,
-- 
Laurence Withers, lwithers@xxxxxxxxxx
                http://www.lwithers.demon.co.uk/

Attachment: signature.asc
Description: PGP signature



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/