delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/22/23:47:02

Mime-Version: 1.0
To: broadview AT earthlink DOT net, djgpp AT delorie DOT com
From: Nate Eldredge <nate AT cartsys DOT com>
Subject: Re: NASM and DJGPP
Date: Fri, 22 May 1998 20:42:34 -0700
Message-ID: <19980523034225.AAE10307@ppp110.cartsys.com>

At 11:45  5/22/1998 -0700, Steven S. Falls wrote:
>    In DJGPP asm I can make functions with ebp being used as a general
>register but In nasm when I use it it get a gpf. why?

ebp has to be the frame pointer for GCC-compiled code. Your NASM code will
have to save and restore it. Why it worked before, I don't know, unless you
just got lucky.

Nate Eldredge
nate AT cartsys DOT com



- Raw text -


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