Newsgroups: comp.sys.transputer
From: aph@cam-orl.co.uk (Andrew Haley)
Subject: Transputer cj instruction
Organization: Olivetti Research Ltd, Cambridge, England.
Date: 3 Apr 1994 15:20:16 GMT
Message-ID: <2nmmrg$1jg@lyra.csx.cam.ac.uk>

The cj instruction is a jump if false; it jumps if Areg is zero.  The
odd thing is that if the branch is not taken, Areg is discarded; if
the branch is taken, Areg is not discarded.  This has been giving me
considerable headaches, both in writing assembly code and code
generation.  Does any reader of this newsgroup understand why the cj
instruction does this?

Andrew.

--
"Always keep an open mind, but not so open that your brain falls out."

