From owner-freebsd-current Tue Nov 12 03:25:19 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA11989 for current-outgoing; Tue, 12 Nov 1996 03:25:19 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id DAA11889; Tue, 12 Nov 1996 03:24:37 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.7.6/8.6.9) id WAA23318; Tue, 12 Nov 1996 22:14:14 +1100 Date: Tue, 12 Nov 1996 22:14:14 +1100 From: Bruce Evans Message-Id: <199611121114.WAA23318@godzilla.zeta.org.au> To: julian@whistle.com, Tor.Egge@idt.ntnu.no Subject: Re: Follow on Atlantis board Cc: 100120.3121@CompuServe.COM, freebsd-current@freebsd.org, freebsd-stable@freebsd.org Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >> @@ -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