delorie.com/archives/browse.cgi | search |
Message-ID: | <339F5CFE.22D6@netcomuk.co.uk> |
Date: | Wed, 11 Jun 1997 19:20:46 -0700 |
From: | William McGugan <wmcgugan AT netcomuk DOT co DOT uk> |
MIME-Version: | 1.0 |
To: | billc AT blackmagic DOT tait DOT co DOT nz |
CC: | djgpp AT delorie DOT com |
Subject: | Re: What registers do I have to save when using external assembler |
functions? | |
References: | <339c502e DOT 3723200 AT nntp DOT netcomuk DOT co DOT uk> <339DBCA6 DOT 63B1 AT blackmagic DOT tait DOT co DOT nz> |
Bill Currie wrote: > > > %ebx, %esi, %edi, %ebp, %es, %ds and %ss (%cs is pretty obvious:) %eax, > %edx and %ecx are all free for your use (however, %eax is used for > return values (so is %edx, but only for 8 byte values)). %fs and %gs are > also free, however, libc uses %gs internally and never touches %fs. > Thanks for that! That was precisely what I needed to know. :) William.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |