[comp.sys.transputer] Semantic of cjump on T414

eb@lri.lri.fr (Erick Bizouarn) (07/28/88)

1.	Answer to jjk@advdev.Cambridge.NCR.COM (Joe Kulig) :

The "unconditional i/o " is a process with send and receive primitives, without
any ALT process. The send primitives must know if the receiving process is an
"unconditionnal i/o" process or not (ALT process).
In an "unconditionnal i/o" the second process executes the message transfert;
but in an "alt communication" the transfert is always done by the alt process 
Wptr[-2] may be used to store this information.

2.	the CJUMP problem in T414

The CJ instruction does not pop the condition if it is false. This seems
to be a bug,isn't it??

example:
_bug:
	ldc	10
	ldl	1  ;(parameter)
	cj	L1
L1:
	ret

This function returns 0 if the parameter is 0 and 10 otherwise.


	Thanks for any help.

Erick