NonStop S-Series Server Description Manual (G06.24+)
TNS Instruction Set
HP NonStop S-Series Server Description Manual—520331-003
11-30
Definitions of TNS Instructions
LQAS (000445). Load Quadrupleword via A From SG. The quadrupleword contained
in the four memory locations starting at the location pointed to by the address in A is
loaded into DCBA (after the address in A is deleted). The address in A refers to an
address in the system data segment. Condition Code is set. This is a privileged
instruction.
LQX (000414). Load Quadrupleword Extended. The quadrupleword starting at the
memory location specified by the 32-bit even-byte address in registers B and A is
loaded into registers DCBA of the register stack (after the address in BA is deleted).
Condition Code is set.
LRS (0301--). Logical Right Shift. If the shift count field is zero, the (unsigned) word
contained in B is shifted right by the dynamic count contained in A. A is then deleted
from the stack. However, if the shift count field is not zero, A is shifted right by that
number. On single-word shifts, shift counts greater than 31 or less than 0 give
undefined results. Condition Code is set. Refer to Figure 11-4 on page 11-5 for a
comparison of logical (unsigned) shifts and arithmetic (signed) shifts.
LSUB (000201). Logical Subtract A From B. A is subtracted from B logically
(unsigned). A and B are then deleted from the stack and the result pushed on. Carry
is set if no borrow occurs; that is, A is less than or equal to B (on unsigned basis.
Condition Code is set.
LWA (000360). Load Word via A. The word contained in the effective memory location
pointed to by the address in A is loaded onto the stack, replacing the prior contents of
A. LWA accesses the current data segment only. Condition Code is set.
LWAS (000350). Load Word via A From System. The word contained in the effective
memory location pointed to by the address in A is loaded onto the stack, replacing the
prior contents of A. A refers to an address in the system data segment. Condition
Code is set.
LWP (-20---). Load Word from Program (Current Code Segment) Into A. The contents
of the address that is computed as a function of displacement (a signed 8-bit value),
and optionally indirection and indexing, are pushed onto the register stack. Condition
Code is set on the loaded word. For binary coding details, refer to Table B-1 on
page B-1.
LWUC (000342). Load Word From User Code Space. A word in the latest user code
segment, specified by a 16-bit address in A, is loaded onto the stack, replacing the
prior contents of A. Condition Code is set.
LWX (000410). Load Word Extended. The word in the memory location specified by
the 32-bit even-byte address in registers B and A is loaded into register A (after the
address in BA is deleted). Condition Code is set.
LWXX (0254--, 0264--). Load Word Extended, Indexed. The word contained in a
computed memory location is loaded onto the stack, replacing the prior contents of A.
The memory address is obtained as follows. The word displacement value (0 through
63) in bits 10 through 15 of the instruction word is added to a base value, which is
either G[0] (coded 0254--) or the current L register value (coded 0264--); the data word