delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/17/15:59:54

Date: Sat, 17 Oct 1998 15:59:37 -0400 (EDT)
Message-Id: <199810171959.PAA04347@indy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <3628e3c3.1057255@news.flashnet.it> (foggy@flashnet.it)
Subject: Re: Accessing local variables from an asm block
Reply-To: djgpp AT delorie DOT com

> I know I could use the extended asm, but I'd like to be able to access
> a variable at any point of the asm block, not just at the beginning.

Sure, just put %0 or %1 wherever you need them.  The digits refer to
the order that the parameters are declared, not the order in which you
have to use them.

- Raw text -


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