Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 1996 22:14:14 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        julian@whistle.com, Tor.Egge@idt.ntnu.no
Cc:        100120.3121@CompuServe.COM, freebsd-current@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: Follow on Atlantis board
Message-ID:  <199611121114.WAA23318@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> @@ -221,7 +221,6 @@
>>         push    %es
>>         push    %esi
>>         push    %edi
>> -       push    %ecx
>
>[...etc...]
>
>what about using pushad/popad?

It preserves %eax, which you usually want to change to return a value in.
The value could be stored on the stack, but would lose 3 of the bytes
saved by using pushal/popal.  It would also require too many changes to
the arg offsets for a quick fix.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611121114.WAA23318>