NonStop S-Series Server Description Manual (G06.24+)
HP NonStop S-Series Server Description Manual—520331-003
B-1
B TNS Instruction Binary Coding
This appendix provides a number of reference tables that define the binary coding for 
most of the TNS instructions, grouped according to the coding patterns of the fields of 
the instruction words. (For example, all memory reference instructions are listed 
together.) These tables break down each instruction, bit by bit, into its component 
parts, indicate the operands, results, and ENV register bit settings, and show 
relationships between similar instructions. A key at the end of each table explains the 
symbols used.
The following tables are included in this appendix:
Table B-1, Binary Coding, Memory Reference Instructions
Table B-2, Binary Coding, Immediate Instructions
Table B-3, Binary Coding, Move/Shift/Call/Extended Instructions
Table B-4, Binary Coding, Branch Instructions
Table B-5, Binary Coding, Stack Instructions
Table B-6, Binary Coding, Decimal Arithmetic Instructions
Table B-7, Binary Coding, Floating-Point Instructions
Table B-1. Binary Coding, Memory Reference Instructions (page 1 of 2)
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 vk cc
I 2 0 XX0+/– –––P––– LWP a
I 2 0 X X 0 +/– ––– P ––– LBP b
I 3 0 X X G,L,SG,S ––– LDX a
I 3 1 X X G,L,SG,S ––– NSTO
I 4 0 X X G,L,SG,S ––– LOAD a
I 4 1 X X G,L,SG,S ––– STOR
I 5 0 X X G,L,SG,S ––– LDB b
I 5 1 X X G,L,SG,S ––– STB
I 6 0 X X G,L,SG,S ––– LDD a
I 6 1 X X G,L,SG,S ––– STD
I 7 0 X X G,L,SG,S ––– LADR
I 7 1 X X G,L,SG,S ––– ADM vk a
P+ 0 . . . . . . . [0:177]
P– 1 . . . . . . . [0:177]
G+ 0... .. . ..[0:377]
L+ 1 0 . . . . . . . [0:177]
SG 110. .. . . . [0:77]
L– 1 1 1 0 . . . . . [0:37]
S– 1111 .. . . . [0:37]










