Mail Archives: djgpp/1998/12/30/07:17:12
If I tell gcc explicitely what for varibales it shall load in which
register and do some arithmetic to them, can I be sure that only this
register is used for that arithemtic or could it be that other
registerts are temporarly allocated ? The following code should
illustate that:
Example : asm(" ":
:"a"(x*y+1) );
So can I be sure that only eax is used for this multiplication and
addition or could it be that let's say ebx is allocated to do some
arithmetic temorarly.
- Raw text -