NonStop S-Series Server Description Manual (G06.27+)
TNS Instruction Set
HP NonStop S-Series Server Description Manual—520331-004
11-7
Boolean Instructions Operate on Stack Registers
Similarly, Figure 11-6 shows examples of the four Boolean instructions that use
immediate operands: ORRI, ORLI, ANRI, and ANLI. These examples show how the
8-bit or 9-bit immediate operand is expanded to a 16-bit operand for the four immediate
Boolean instructions. Only the immediate operand is shown here (operand 1); the
second operand is in A on the register stack.
Figure 11-6. Examples of Boolean Immediate Instruction Operations
ORRI (OR right immediate)
00001 00 010101 011
00000 00 010101 011
The immediate is
treated as:
Operand 1
ORLI (OR left immediate)
00001 00 110101 011
10101 10 100000 000
The immediate is
treated as:
Operand 1
ANRI (AND right immediate)
00001 01 110101 011
11111 11 110101 011
The immediate is
treated as:
Operand 1
Sign bit is extended
through <0:7>
ANLI (AND left immediate)
00001 11 110101 011
10101 10 111111 111
The immediate
operand is
treated as:
Operand 1
Sign bit is extended
through <8:15>
VST324.vsd