| delorie.com/archives/browse.cgi | search |
| Date: | Thu, 10 Mar 94 16:44:36 -0500 |
| From: | dj AT ctron DOT com (DJ Delorie) |
| To: | h_ellenberger AT p14 DOT lemas DOT chg DOT imp DOT com |
| Cc: | djgpp AT sun DOT soe DOT clarkson DOT edu |
| Subject: | Re: Embedded asm in c++ procedure |
a) Is it safe to always assume (es==ds) ?
In mainline code, yes. There are cases where es != ds in dos-aware
functions.
b) What registers must be preserved ?
ebx, esi, edi, ebp.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |