🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #4277

Accessing registers in Microsoft Visual C++???

#4277
From: Rich Edwards
Date: Sat, 23 Sep 1995 16:24
22 lines
997 bytes
Hi there!
I was wondering if Microsoft C compilers have an equivalent to
Borland's register pseudovariables.  I'm trying to compile IPX/SPX
functions written for the Borland compiler in Microsoft's compiler, but
I'm receiving compiler errors.

For example, the following code:

  _BX = 0x0010;
  _AL = 0x00;

  if (_AL == 0)
    return 0;

compiles in Borland, but I get an error "undeclared variable" message
w/ Microsoft.
I checked Microsoft's Knowledge base but found nothing.
Any help would be appreciated.
Thanks.

chappie@ix.netcom.com
Rich
Technical Details
Message-ID: <441ccm$mqu@ixnews7.ix.netcom.com>
Path: arc1-ca.pugleaf.net!ix.netcom.com!netnews

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!ix.netcom.com!netnews
From: chappie@ix.netcom.com (Rich Edwards )
Newsgroups: comp.lang.misc,comp.lang.asm.x86,comp.os.msdos.programmer,comp.lang.c,comp.lang.c++
Subject: Accessing registers in Microsoft Visual C++???
Date: 23 Sep 1995 16:24:54 GMT
Organization: Netcom
Message-ID: <441ccm$mqu@ixnews7.ix.netcom.com>
NNTP-Posting-Host: ix-stp-fl2-01.ix.netcom.com
X-NETCOM-Date: Sat Sep 23  9:24:54 AM PDT 1995