home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / arch / 11668 < prev    next >
Encoding:
Text File  |  1992-12-15  |  1.5 KB  |  35 lines

  1. Newsgroups: comp.arch
  2. Path: sparky!uunet!stanford.edu!CSD-NewsHost.Stanford.EDU!SAIL.Stanford.EDU!andy
  3. From: andy@SAIL.Stanford.EDU (Andy Freeman)
  4. Subject: Re: Any use for Branch if Even/Odd ?
  5. Message-ID: <1992Dec15.183127.3025@CSD-NewsHost.Stanford.EDU>
  6. Sender: news@CSD-NewsHost.Stanford.EDU
  7. Organization: Computer Science Department,  Stanford University.
  8. References: <id.08RV.WYB@ferranti.com> <1992Dec14.203631.16388@CSD-NewsHost.Stanford.EDU> <1992Dec15.024545.7336@ryn.mro4.dec.com>
  9. Date: Tue, 15 Dec 1992 18:31:27 GMT
  10. Lines: 23
  11.  
  12. In article <1992Dec15.024545.7336@ryn.mro4.dec.com> Peter.Mayne@cao.mts.dec.com writes:
  13. >In article <1992Dec14.203631.16388@CSD-NewsHost.Stanford.EDU>, andy@SAIL.Stanford.EDU (Andy Freeman) writes:
  14. >>Does anyone know why they preferred even/odd to >=0/<0?  Sometimes one
  15. >>has to test the sign bit, so why not use it whenever one can use any
  16. >>bit to split things into two classes?
  17. >
  18. >VMS status codes record more than just true/false. The bottom three bits of
  19. >a status code are encoded as follows:
  20.  
  21. So?  Any three bits work just as well.
  22.  
  23. >Opinion: If the status codes were at the high end of the longword, the
  24. >error codes for a particular facility would be scattered all over the
  25. >range instead of in a single group of numbers; harder for us humans to
  26. >comprehend. Given that the VAX architecture has bit test operations,
  27. >why not do it this way?
  28.  
  29. DEC's dinosaurs had symbolic assemblers and debuggers.  I "remember"
  30. that even some of the 11's had similar software well before the vax
  31. and VMS was invented.
  32.  
  33. -andy
  34. --
  35.