NonStop S-Series Server Description Manual (G06.27+)
TNS Instruction Set Definition
HP NonStop S-Series Server Description Manual—520331-004
C-34
Instruction Definitions
0 0 0 3 4 7  IDXP calculate index offset and test indices for 
bounds violation
 (bounds table in code space)
 V := 0;
 t:=code[A];
 bc:=t.<0>; t.<0>:=0;
 indv:=0; psize:=1;
 s:=A;
 if t <> predicted number of dimensions then use 
 Nonaccelerated Mode
 while t>0 do
 {lower:=code[s:=s+1];
 upper:=code[s:=s+1];
 if B<lower and bc=0 then
 {V:=1;
 if B>upper and bc=0 then
 {V:=1;
 size:=upper-lower+1;
 B:=B-lower;
 indv:=indv+psize*B;
 psize:=psize*size;
 RP:=RP-1; t:=t-1}
 {R[7]:=indv;
 cc(R[7])}
 RP:=RP-1
 [ See Note 18: Range error ]
0 0 0 3 5 0  LWAS load SG int16 via A
 cc(A:=sysstack(A))
 [ See Note 2: PRIV ONLY ]
0 0 0 3 5 1  SWAS stor SG word via A
 sysstack[A]:=B; RP:=RP-2
 [ See Note 2: PRIV ONLY ]
0 0 0 3 5 2  LDAS load SG double via A
 RP:=RP+1;
 cc(BA:=sysstack[B:B+1])
 [ See Note 7: NOT ATOMIC ]
 [ See Note 2: PRIV ONLY ]
0 0 0 3 5 3  SDAS store SG double via A
 sysstack[A:A+1]:=CB;
 RP:=RP-3;
 [ See Note 2: PRIV ONLY ]
0 0 0 3 5 4  LBAS load SG byte via A
 ccb(A:=bytesource(A))
 [ See Note 2: PRIV ONLY ]
0 0 0 3 5 5  SBAS store SG byte via A
 bytedest(A):=B;
 RP:=RP-2
 [ See Note 2: PRIV ONLY ]
Table C-2. Instruction Definitions (page24of38)










