delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/24/12:45:19

Xref: news2.mv.net comp.os.msdos.djgpp:6363
From: Luke Steele <luke AT jaglogic DOT demon DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Referencing local variables with inline assembly.
Date: Wed, 24 Jul 1996 14:34:46 GMT
Organization: INTERact BBS UK (01753) 775533
Lines: 15
Message-ID: <Dv208u.Izs@ftp.jags.co.uk>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi,
	How do you reference local variables with inline assembly?  I _have_
read the GCC documentation on the subject, but I cannot work out what
to do.  A few lines of code demonstating how to do this would be
great.
	Secondly:  Which segment registers are used by the compiler, and so
which ones can I use without worrying about their values becoming
corrupted?


--
Luke Steele
(luke AT jags DOT co DOT uk)

- Raw text -


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