🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #10925

Re: Any use for Branch if Even/Odd ?

#10925
From: CP/M lives!
Date: Mon, 14 Dec 1992 14:57
19 lines
1444 bytes
In article <1992Dec12.143116.17635@infodev.cam.ac.uk>, rf@cl.cam.ac.uk (Robin Fairbairns) writes:
> In article <endecotp.723992157@cs.man.ac.uk>, endecotp@cs.man.ac.uk (Phil Endecott) writes:
> |> Can anyone think of a use for the branch if even and branch if odd
> |> instructions on the Alpha?  I'm completely baffled.
> 
> It's a VMS-ism.  All VMS routines return a completion code.  If it's
> odd, the routine succeeded (and there are oodles of ways it can
> succeed, sometimes); if it's even the routine failed.
> 
> All very smooth and neat - VMS has some dinkum ideas in there if you
> pay attention.

Incidentally, I noticed a while ago that the ASCII code for 'Y' is odd and
for 'N' is even; that is, on VMS, ask a Yes/No question and test the low bit...
-- 

Roger Ivie                      "My God! That computer is full of Pentium!
ivie@cc.usu.edu                  It's a wonder that you haven't been turned
                                 into mutants!"
Technical Details
Message-ID: <1992Dec14.085714.62016@cc.usu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!agate!dog.ee.lbl.gov!hellgate.utah.edu!cc.usu.edu!ivie
References: <endecotp.723992157@cs.man.ac.uk> <1992Dec12.143116.17635@infodev.cam.ac.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!agate!dog.ee.lbl.gov!hellgate.utah.edu!cc.usu.edu!ivie
From: ivie@cc.usu.edu (CP/M lives!)
Newsgroups: comp.arch
Subject: Re: Any use for Branch if Even/Odd ?
Message-ID: <1992Dec14.085714.62016@cc.usu.edu>
Date: 14 Dec 92 08:57:14 MDT
References: <endecotp.723992157@cs.man.ac.uk> <1992Dec12.143116.17635@infodev.cam.ac.uk>
Organization: Utah State University
Lines: 19