home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / pascal / 7656 < prev    next >
Encoding:
Text File  |  1992-12-23  |  1.6 KB  |  36 lines

  1. Newsgroups: comp.lang.pascal
  2. Path: sparky!uunet!wupost!howland.reston.ans.net!paladin.american.edu!gatech!darwin.sura.net!jvnc.net!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!torn!news.ccs.queensu.ca!slip201.telnet1.QueensU.CA!dmurdoch
  3. From: dmurdoch@mast.queensu.ca (Duncan Murdoch)
  4. Subject: Re: Does BP7 have a [386] compiler switch?
  5. Message-ID: <dmurdoch.248.725120463@mast.queensu.ca>
  6. Lines: 24
  7. Sender: news@knot.ccs.queensu.ca (Netnews control)
  8. Organization: Queen's University
  9. References: <sorokin.29@ps1.iaee.tuwien.ac.at>
  10. Date: Wed, 23 Dec 1992 14:21:04 GMT
  11.  
  12. In article <sorokin.29@ps1.iaee.tuwien.ac.at> sorokin@ps1.iaee.tuwien.ac.at (Zhenja) writes:
  13.  
  14. >1. Does BP7 have a [386] compiler switch (like [286] in TP6)?
  15. >   In other words, what longint arithmetics does it use?
  16.  
  17. No, there's no switch.  The RTL detects the processor type and at run-time 
  18. will use 386 instructions for longint calculations.  This is a mixed 
  19. blessing:  apparently there's a lot of buggy system software out there 
  20. (particularly from Novell) that trashes the extended registers; on a system 
  21. running that, the 386 calculations are unreliable.  It's easy to force 8086 
  22. instructions to be used, though.
  23.  
  24. >2. Is there 8-byte integer arithmetics (say, using comp type)? In 
  25. >   principle, it could be organized exactly in the same way like longint
  26. >   arithmetics was done in TP3..6.
  27. >
  28. >3. Does the built-in assembler now "understand" extended registers?
  29. >   The one in TP6 definitely didn't.
  30.  
  31. No change in either of those from TP 6.  Comp is still treated like a 
  32. floating point type, and the BASM still only understands 286 instructions.
  33.  
  34. Duncan Murdoch
  35. dmurdoch@mast.queensu.ca
  36.