www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/20/03:46:45

Date: Thu, 20 Aug 1998 09:46:09 +0200
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Message-Id: <199808200746.JAA21459@acp3bf.physik.rwth-aachen.de>
To: djgpp AT delorie DOT com
Subject: Re: assembly language subroutines
Newsgroups: comp.os.msdos.djgpp
Organization: RWTH Aachen, III. physikalisches Institut B

In article <199808200742 DOT JAA21449 AT acp3bf DOT physik DOT rwth-aachen DOT de> you wrote:
> In article <01J0S6CR6YJM94G7O9 AT SLU DOT EDU> you wrote:
> [...]

> Just to clear up some of the views, I've looked up the exact meaning
> of 'enter' and 'leave' at home (in the TASM reference handbook).
> So here it goes:

> 'enter $xx' is equivalent to 

> 	pushl %ebp
> 	subl $xx, %esp
> 	movl %esp, %ebp

Ooops, typing error. Make that:

	pushl %ebp
	movl %esp, %ebp
	subl $xx, %esp

--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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