delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/07/01/17:00:14

From: "Tom St Denis" <tomstdenis AT yahoo DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <9hns3d$4rn$1 AT news DOT tpi DOT pl>
Subject: Re: Accessing registers from C
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2462.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000
Message-ID: <b9M%6.73273$Mf5.19780209@news3.rdc1.on.home.com>
Date: Sun, 01 Jul 2001 20:57:43 GMT
NNTP-Posting-Host: 24.112.8.23
X-Complaints-To: abuse AT home DOT net
X-Trace: news3.rdc1.on.home.com 994021063 24.112.8.23 (Sun, 01 Jul 2001 13:57:43 PDT)
NNTP-Posting-Date: Sun, 01 Jul 2001 13:57:43 PDT
Organization: Excite AT Home - The Leader in Broadband http://home.com/faster
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Jacek K." <xos AT o2 DOT pl> wrote in message news:9hns3d$4rn$1 AT news DOT tpi DOT pl...
> Are there some instructions/macros to access CPU registers? Anything other
> than inline assembly, of course.

No and you shouldn't.  GNU C does a wonderful job optimizing.

If you really need to use asm learn to use AS or NASM.

Tom


- Raw text -


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