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