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

TNS Instruction Binary Coding
HP NonStop S-Series Server Description Manual520331-003
B-7
Table B-6. Binary Coding, Decimal Arithmetic Instructions
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
0 0 0 Stack Operand Code
<7:15> vk cc <7:15> vk cc
230 QST
231 QST x5
232 QST x6
233 QST x7
234 QLD a
235 QLD x5 a
236 QLD x6 a
237 QLD x7 a
240 QADDvka
241 QSUBvka
242 QMPYva
243 QDIV va
244 QNEGvka
245 QCMP a
246 CQL v
247 CQD v
250 QUP va
251 QDWN v=0a
252 QUP (2) va
253 QDWN (2)v=0a
254 QUP (3) va
255 QDWN (3)v=0a
256 QUP (4) va
257 QDWN (4)v=0a
260 CQA va
261 CAQV v!
262 CAQ v!
263 QRND v=0a
264 CQI v
265 CDQ
266 CIQ
267 CLQ
x5 = Indexing for the effective address uses register R[5].
x6 = Indexing for the effective address uses register R[6].
x7 = Indexing for the effective address uses register R[7].
(2) = Power of 10 for scaling.
(3) = Power of 10 for scaling.
(4) = Power of 10 for scaling.
v = Overflow
k = Carry
cc = Condition Codes:
a CCL (result < 0) or (opr1 < opr2)
CCE (result = 0) or (opr1 = opr2)
CCG (result > 0) or (opr1 > opr2)
Note: opr1 is first item pushed on
stack, opr2 is second.
! = CCE if entire string is ASCII digits; CCG if not