delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/26/23:45:28

Newsgroups: comp.os.msdos.djgpp
From: krian AT umich DOT edu (Krian U)
Subject: Inline ASM: movsx?
Lines: 17
Message-ID: <aTLa1.196$iY6.841039@news.itd.umich.edu>
Date: Wed, 27 May 1998 03:36:38 GMT
NNTP-Posting-Host: pm373-11.dialip.mich.net
NNTP-Posting-Date: Tue, 26 May 1998 23:36:38 EDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi,

I've recently started using inline assembly in DJGPP (GCC 2.8.1), and I ran 
into this problem. 
Instructions like movsx and movcx give an "unrecognized 386 instruction" 
error. Is there a way I can use inline assembly with the 486 or later 
instruction set? I can't seem to find much info on GCC inline asm in the FAQ 
or around the web.

Another quick question:
I believe this may have been asked many times before, but I was wondering if 
there is a way to access local variables in inline asm, without having to pass 
them in as arguments, or fiddling around with the bp.

Any help would be much appreciated,

-Krian

- Raw text -


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