NonStop S-Series Server Description Manual (G06.24+)
TNS Instruction Set Definition
HP NonStop S-Series Server Description Manual—520331-003
C-41
Instruction Definitions
0 0 0 5 0 3* XIST XRAY increment state
 CB=ext addr
 A=counter offset
 'Indivisible On';
 t := xmem2[CB];
 if t.<0> then
 {a := t + $XADR(A);
 ! increment state
 if xmem[a]<>0xFFFF then
 {t:=xmem[a]:= xmem[a]+1;
 if xmem[a-2]’<‘t then
 xmem[a-2] := t;
 a:=a+2;
 clock:=sysstack[%350:%353]
 + microsecond counter;
 xmem4[a]:=xmem4[a] -clock
 xmem[t] := 0;
 }
 };
 'Indivisible Off';
 RP:=RP-3;
 ** The counters must be present in memory
 [ See Note 3: CLOCK ADDR ]
0 0 0 5 0 4* XDST XRAY Decrement state
 CB=ext addr
 A=counter offset
 'Indivisible On';
 t := xmem2[CB];
 if t.<0> then
 {a := t + $XADR(A);
 ! decrement state
 if xmem[a]<>0 then
 {xmem[a] := 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 5C RTIM Read System Time
 RP := RP + 4;
 DCBA := CLOCK + 'micro second counter';
 CLOCK = sysstack[ %350:%353 ]
 [ See Note 3: CLOCK ADDR ]
Table C-2. Instruction Definitions (page31of38)










