delorie.com/archives/browse.cgi | search |
From: | Jens Vaasjo <jvaasjo AT gpu DOT srv DOT ualberta DOT ca> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | simple in-line asm question ? |
Date: | Wed, 25 Dec 1996 18:07:02 -0700 |
Organization: | University of Alberta, Edmonton, Canada |
Lines: | 12 |
Message-ID: | <32C1CFB6.482E@gpu.srv.ualberta.ca> |
NNTP-Posting-Host: | async14-3.remote.ualberta.ca |
Mime-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
With in-line assemly in djgpp can you assume that es==ds when it gets enters your inline assemly ? Also does the es register have to be preserved (if you change es do you have to set it back its its original value) ? Also if you have to preserve the es register does it have to be done manually ("pushl %%es\n" and "popl %%es\n") or can you put something in the 'registers clobbered' section ("ecx" works but "es" does not)? Thanks. Jens.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |