Register Control Instructions - HP 3000 III Series Manual

Table of Contents
Machine Instructions and Stack Operations
Sub-opcode 2: 05
Indicators: CCA on the new TOS,
Carry, Overflow
Traps: STUN, ARITH
LDI
Load Immediate
~
0 0 1 0 0 0 1 0
l
,
Immediate Operand
The immediate operand N is pushed onto the stack.
The value of N
is given in the argument field of the instruction, and is expres-
sed as a positive integer in the range 0 through 255.
Sub-opcode 2: 02
Indicators: CCA on the new TOS
Traps: STOV
4-12. Register Control Instructions
PSHR
Push Registers
The content
of a register
(or the
displacement it
represents)
specified
by
any bit 8 through 15 is pushed onto the stack.
If
more than one register (or displacement) is specified,
the
con-
tents
will be stacked in the order shown below, such that if all
nine were specified, S-Bank would be on the TOS after
execution,
DB
next,
etc.
Note that when S-DB is pushed, the value stacked
will be as it existed before the execution of
this
instruction.
Stack
overflow
occurs if the original S+9 exceeds Z, regardless
of the number of registers pushed.
If bit 15
=
1, push S-DB
If bit 14
=
1, push Q-DB
If bit 13
=
1, push Index Register
If bit 12
=
1, push Sta tus Register
If bit 11
=
1, push Z-DB
If bit 10
=
1, push DL-DB
*If bit
9
=
1, push DB-Bank and DB Registe r
*If bit
8
=
1, push S-Bank
Sub-opcode 2: 11
Indicators: Unaffected
Traps: STOV, MODE
* Th es ear e p r i viIe ge d op era t i on s •
4-14
Table of Contents
loading

Table of Contents