home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / arch / 11631 < prev    next >
Encoding:
Internet Message Format  |  1992-12-14  |  1.4 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!agate!dog.ee.lbl.gov!hellgate.utah.edu!cc.usu.edu!ivie
  2. From: ivie@cc.usu.edu (CP/M lives!)
  3. Newsgroups: comp.arch
  4. Subject: Re: Any use for Branch if Even/Odd ?
  5. Message-ID: <1992Dec14.085714.62016@cc.usu.edu>
  6. Date: 14 Dec 92 08:57:14 MDT
  7. References: <endecotp.723992157@cs.man.ac.uk> <1992Dec12.143116.17635@infodev.cam.ac.uk>
  8. Organization: Utah State University
  9. Lines: 19
  10.  
  11. In article <1992Dec12.143116.17635@infodev.cam.ac.uk>, rf@cl.cam.ac.uk (Robin Fairbairns) writes:
  12. > In article <endecotp.723992157@cs.man.ac.uk>, endecotp@cs.man.ac.uk (Phil Endecott) writes:
  13. > |> Can anyone think of a use for the branch if even and branch if odd
  14. > |> instructions on the Alpha?  I'm completely baffled.
  15. > It's a VMS-ism.  All VMS routines return a completion code.  If it's
  16. > odd, the routine succeeded (and there are oodles of ways it can
  17. > succeed, sometimes); if it's even the routine failed.
  18. > All very smooth and neat - VMS has some dinkum ideas in there if you
  19. > pay attention.
  20.  
  21. Incidentally, I noticed a while ago that the ASCII code for 'Y' is odd and
  22. for 'N' is even; that is, on VMS, ask a Yes/No question and test the low bit...
  23. -- 
  24.  
  25. Roger Ivie                      "My God! That computer is full of Pentium!
  26. ivie@cc.usu.edu                  It's a wonder that you haven't been turned
  27.                                  into mutants!"
  28.