NonStop S-Series Server Description Manual (G06.24+)
TNS Instruction Set Definition
HP NonStop S-Series Server Description Manual—520331-003
C-40
Instruction Definitions
0 0 0 5 0 1* XSST XRAY Set State
 CB=ext addr
 A=counter offset
 'Indivisible On';
 t := xmem2[CB];
 if t.<0> then
 {a := t + $XADR(A);
 ! set state
 if xmem[a]=0 then
 {xmem[a]:=1;
 xmem[t] := 0;
 a:=a+2;
 clock:=sysstack[%350:%353]
 +microsecond counter;
 xmem4[a]:=xmem4[a]-clock
 }
 };
 'Indivisible Off';
 RP:=RP-3;
 ** The counters must be present in memory
 [ See Note 3: CLOCK ADDR ]
0 0 0 5 0 2* XRST XRAY Reset State
 CB=ext addr
 A=counter offset
 'Indivisible On';
 t := xmem2[CB];
 if t.<0> then
 {a := t + $XADR(A);
 ! reset state
 if xmem[a]=1 then
 {xmem[a]:=0;
 xmem[t] := 0;
 a:=a+2;
 clock:=sysstack[%350:%353]
 + microsecond counter;
 xmem4[a]:=xmem4[a]+clock
 }
 };
 'Indivisible Off';
 ** The counters must be present in memory 
 [ See Note 3: CLOCK ADDR ]
Table C-2. Instruction Definitions (page30of38)










