NonStop S-Series Server Description Manual (G06.24+)

TNS Instruction Set
HP NonStop S-Series Server Description Manual520331-003
11-28
Definitions of TNS Instructions
LBX (000406). Load Byte Extended. The unsigned byte in the memory location
specified by the 32-bit byte address in registers B and A is loaded onto the register
stack (bits 8 through 15 of A), after the address in BA is deleted. The left byte of A is
set to zero. The Condition Code is set on the category of the loaded byte in A: CCL
indicates ASCII numeric, CCE indicates ASCII alphabetic, and CCG indicates special
ASCII character.
LBXX (0256--, 0266--). Load Byte Extended, Indexed. The unsigned byte contained in
a computed memory location is loaded onto the stack, with zero extension, 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 that is either G[0] (coded 0256--) or the current L register value
(coded 0266--); the data word so indicated is assumed to be the first word of a two-
word extended memory pointer. The index value in A is then added to the extended
memory pointer to address the byte that is to be loaded. The Condition Code is set on
the category of the loaded byte in A: CCL indicates ASCII numeric, CCE indicates
ASCII alphabetic, and CCG indicates special ASCII character. For binary coding
details, refer to Table B-3 on page B-3.
LCMP (000205). Logical Compare B With A. B is logically compared to A and the
Condition Code set accordingly. A and B are then deleted from the stack.
LDA (000362). Load Double via A. The doubleword contained in the effective memory
locations starting at the location pointed to by the address in A is loaded into BA (after
the address in A is deleted). LDA accesses the current data segment only. Condition
Code is set.
LDAS (000352). Load Double via A From System. The doubleword contained in the
effective memory locations starting at the location pointed to by the address in A is
loaded into BA (after the address in A is deleted). A refers to an address in the system
data segment. Condition Code is set.
LDB (-50---). Load A With Byte From Data Space. The contents of the effective
memory location are loaded into bits 8:15 of A; the left byte is set to zero. (Refer to
Byte Addressing in the Data Segment
on page 6-22 for calculation of the effective
address in byte addressing.) The Condition Code is set on the category of the loaded
byte in A: CCL indicates ASCII numeric, CCE indicates ASCII alphabetic, and CCG
indicates special ASCII character. For binary coding details, refer to Table B-1
on
page B-1.
LDD (-60---). Load Doubleword from Data Space Into BA. The doubleword integer
contained in the effective memory location is pushed onto the stack. Condition Code is
set. Figure 11-2 on page 11-3 illustrates the addressing methods for doubleword
instructions. For binary coding details, refer to Table B-1 on page B-1.
LDDX (000412). Load Doubleword Extended. The doubleword starting at the memory
location specified by the 32-bit even-byte address in registers B and A is loaded onto
the register stack, replacing the prior contents of B and A. Condition Code is set.