HP 3000 III Series Manual page 149

Table of Contents

Advertisement

Machine Instructions and Stack Operations
Special opcode: 12
Indicators: CCE
=
responding device controller
CCL
=
non-responding device controller
Traps: STOVE, MODE
This is a privileged instruction.
WI 0
Wr i te I/O
K
This instruction assumes that the TOS contains a
data
word
and
expects
a
device
number
to be given in the stack at S-K.
WIO
first checks if the device is ready by checking bit 1 of the
de-
vice controller's
Status Register.
If it is ready (bit
=
"1"),
the word is transmitted to the specified device and then
deleted
from
the
stack; the Condition Code is set to CCE.
If it is not
ready (bit
=
"0"),
the content of the device controller's
Status
Register is
pushed onto the stack and the
Condition Code is set
to CCG.
If the device controller does not respond, the Condition
Code is set to CCL and the instruction is terminated.
Special opcode: 11
Indicators: CCL
=
non-responding device controller
CCE
=
device ready
CCG
=
device not ready
Traps: STUN, STOV, MODE
This is privileged instruction.
4-15. Memory Address Instructions
ADDM
Add Memory To TOS
~
,
,
..
Mode and Displacement
The content of the effective address memory location is added
in
integer form to the TOS.
The result replaces the operand on
the
TOS.
Memory opcode: 07
Indicators: CCA, Carry, Overflow
Addressing modes: P+, P-, DB+, Q+, Q-, S- relative
Direct or indirect
Indexing available
Traps: STUN, BNDV, ARITH
CMPM
Compare TOS With Memory
~
,
I
..
Mode and Displacement
4-19

Advertisement

Table of Contents
loading

Table of Contents