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

  1. Newsgroups: comp.arch
  2. Path: sparky!uunet!spool.mu.edu!yale.edu!ira.uka.de!Sirius.dfn.de!rz.ruhr-uni-bochum.de!jan
  3. From: jan@pallas.neuroinformatik.ruhr-uni-bochum.de (Jan Vorbrueggen)
  4. Subject: Re: Any use for Branch if Even/Odd ?
  5. Message-ID: <JAN.92Dec15131734@pallas.neuroinformatik.ruhr-uni-bochum.de>
  6. In-reply-to: andy@SAIL.Stanford.EDU's message of Mon, 14 Dec 1992 20:36:31 GMT
  7. Organization: Inst. f. Neuroinformatik, Ruhr-Universitaet Bochum, FRG
  8. References: <endecotp.723992157@cs.man.ac.uk> <Bz2MMK.GIL@world.std.com>
  9.     <id.08RV.WYB@ferranti.com>
  10.     <1992Dec14.203631.16388@CSD-NewsHost.Stanford.EDU>
  11. Date: 15 Dec 92 13:17:34
  12. Lines: 15
  13.  
  14. In article <1992Dec14.203631.16388@CSDNewsHost.Stanford.EDU> 
  15. andy@SAIL.Stanford.EDU (Andy Freeman) writes:
  16.  
  17.    Does anyone know why they preferred even/odd to >=0/<0?  Sometimes one
  18.    has to test the sign bit, so why not use it whenever one can use any
  19.    bit to split things into two classes?
  20.  
  21. Part of the reason might be that this distinction (>=0/<0) is used
  22. in a number of places to distinguish a system address, which has the
  23. MSB set, from other data, eg. a PID; this is used in I/O completion:
  24. if <0, the PID cell is reinterpreted as a routine in system space
  25. to call, as this I/O has been started by some system component and 
  26. not a user process.)
  27.  
  28.     Jan
  29.