[comp.os.msdos.programmer] Any pseudo-variables for registers in MSC?

so@brownie.cs.wisc.edu (Bryan S. So) (06/11/91)

I am developing using Borland C++, if I want to make use of the
pseudo-variables for registers (such as _AX, _BX ...), will it
be impossible to port to MSC later?  (In other words, does MSC
support such variables?)


Bryan

eversole@acae037.cadence.com (Richard Eversole; x6239) (06/15/91)

With MSC 6.0 the port will not be impossible.
MSC 6.0 supports inline assembler instructions that
can access the registers (8086 only not 80386).
You can use the inline assmebly to move data to and from registers
from and to variables.

Of course inline assembly has more power than that but that minimal
ability is enough to get your job done.

Also: several routines that access bios/dos return structures that
have the register values.
-- 
  
  =====================================================================

    eversole@cadence.com
  
    Live long and prosper !