Date: Tue, 13 Apr 1999 20:58:18 -0400 Message-Id: <199904140058.UAA06529@envy.delorie.com> From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: <7f0mvu$qq0$1@news6.svr.pol.co.uk> (andrew AT lemure DOT freeserve DOT co DOT uk) Subject: Re: Calling C functions from machine code... References: <7f0mvu$qq0$1 AT news6 DOT svr DOT pol DOT co DOT uk> Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk eax, edx, and ecx may be clobbered by any function, even void. You must pop the args off the stack yourself (usually by adding a constant to %esp).