delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/13/20:58:24

Date: Tue, 13 Apr 1999 20:58:18 -0400
Message-Id: <199904140058.UAA06529@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
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

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).

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019