30
TABLE 8. HS-RTX2010RH
AND
ACCESS OPERATIONS
(Note)
OPERATION
(g-read, g-write)
RETURN
BIT
VALUE
ASIC
ADDRESS
ggggg
REGISTER
FUNCTION
Read mode
0
00000
Pushes the contents of
into
(with no pop of the Return Stack)
Read mode
1
00000
Pushes the contents of
into
, then performs a Subroutine Return
Write mode
0
00000
Pops the contents of
into
(with no push of the Return Stack)
Write mode
1
00000
Performs a Subroutine Return, then pushes the contents of
into
Read mode
0
00001
Pushes the contents of
into
, popping the Return Stack
Read mode
1
00001
Pushes the contents of
executes the Subroutine Return
into
without popping the Return Stack, then
Write mode
0
00001
Pushes the contents of
into
popping the Parameter Stack
Write mode
1
00001
Performs a Subroutine Return, then pushes the contents of
into
Read mode
0
00010
Pushes the contents of
is not popped)
shifted left by one bit, into
(the Return Stack
Read mode
1
00010
Pushes the contents of
is not popped), then performs a Subroutine Return
shifted left by one bit, into
(the Return Stack
Write mode
0
00010
Pushes the contents of
next instruction is to be performed a specified number of times; the Parameter
Stack is popped
into
as a “stream” count, indicating that the
Write mode
1
00010
Performs a Subroutine Return, then pushes the stream count into
Read mode
0
00111
Pushes the contents of
into
Read mode
1
00111
Pushes the contents of
into
, then performs a Subroutine Return
Write mode
0
00111
Performs a Subroutine Call to the address contained in
Parameter Stack
, popping the
Write mode
1
00111
Pushes the contents of
Subroutine Return
onto the Return Stack before executing the
NOTE: See the RTX Programmer’s Reference Manual for a complete listing of typical software functions.
I
PC
I
I
TOP
I
I
TOP
I
TOP
I
I
TOP
I
I
I
TOP
I
I
TOP
I
TOP
I
I
TOP
I
I
I
TOP
I
I
TOP
I
TOP
I
I
I
PC
PC
TOP
PC
PC
TOP
PC
TOP
PC
TOP
TABLE 9. HS-RTX2010RH RESERVED I/O OPCODES
INSTRUCTION CODE
OPERATION
15 14 13 12
11 10 9 8
7 6 5 4
3 2 1 0
1 0 1 1
0 0 0 0
1 0 R 0
1 1 0 1
Select
1 0 1 1
0 0 0 0
0 0 R 0
1 1 0 1
Select
1 0 1 1
0 0 0 0
1 0 R 1
0 0 0 0
Set SOFTINT
1 0 1 1
0 0 0 0
0 0 R 1
0 0 0 0
Clear SOFTINT
DPR
CPR
TABLE 10. SUBROUTINE CALL INSTRUCTIONS
INSTRUCTION CODE
OPERATION
15 14 13 12
11 10 9 8
7 6 5 4
3 2 1 0
0 a a a
a a a a
a a a a
a a a a
Call word address
aaaa aaaa aaaa aaa0, in the page
indicated by
produced when the processor
performs a left shift on the address in
the instruction code.
. This address is
Subroutine Call Bit
(Bit 15 = 0: Call,
Bit 15 = 1: No Call)
CPR
HS-RTX2010RH