[Info-vax] Volatile, was: Re: yet another sys$qiow question

VAXman- at SendSpamHere.ORG VAXman- at SendSpamHere.ORG
Mon Aug 24 16:55:11 EDT 2015


In article <zgFbrkJP21g+ at eisner.encompasserve.org>, cornelius at eisner.decus.org (George Cornelius) writes:
>In article <mr792b$f9l$1 at Iltempo.Update.UU.SE>, Johnny Billquist <bqt at softjar.se> writes:
>[VAXMAN wrote:]
>
>>> 	TSTL	IOSB
>>> 	BNEQ	10$
>>> 20$:	BRB	20$
>>> 10$:
>
>Actually, to test just the status in VMS you would use TSTW.  But
>when testing for nonzero TSTL works as well and does not require
>any extra word extraction code on the newer architectures.

THat's true but Johnny said he defined the IOSB as am int.  The C compiler
doesn't know that that that contains a word maintaining the status.

-- 
VAXman- A Bored Certified VMS Kernel Mode Hacker    VAXman(at)TMESIS(dot)ORG

I speak to machines with the voice of humanity.



More information about the Info-vax mailing list