|
This reference covers the base instruction set applicable to processors up to and including the 2100A. The extended instruction set (a hardware option) and the additions of later processors are not covered.
The instruction set is broadly divided into 4 groups. The instructions documented here occupy a maximum of 1 word. In the Shift-Rotate Group and Alter-Skip Group, 'micro-instruction encoding' permits multiple instructions in one word.
|
|
(Compiled from HP-2100A Reference Manual from http://oscar.taurus.com/~jeff/2100/index.html)
Prioritised vectored interrupt servicing is a standard provision of the processors. The interrupt vector address for a channel is the same as the channel select code. To handle an interrupt the appropriate interrupt vector memory location must be loaded with an instruction (not the address of the interrupt service routine). For example, to handle an interrupt for channel 11, memory location 11 must be loaded with an instruction. When an interrupt occurs the instruction will be executed without first altering or loading the PC. Consequently, if the instruction is a JSB to an interrupt service subroutine then the return address placed in the first word of the subroutine will be the PC value when the interrupt occurred (in other words: the desired restart address).
Once the processor has trapped thru an interrupt vector it is deemed to be executing at the associated priority level and remains so until the flag bit (or control bit?) for the interrupting channel is cleared. Thus, the last thing a typical interrupt service subroutine does is to clear the channel flag and return from the subroutine.
Lower priority interrupts (channels with higher select code) cannot interrupt the processor when it is executing at a higher priority level (interrupted by a channel with lower select code).
A few channels and memory locations have dedicated applications, independant of the I/O bus interface slots. These are documented in the table below.
For DMA, memory protection and parity the applicable optional board(s) must be installed.
|
Notes:
[DMA refs: 2100 documention, example program in Type 13181 Magnetic Tape I/O Interface manual, experimentation with the hardware]
CTµL
| 2116
| I/O Interfaces
| Programming Ref
| Software
| 2116C Refurb
HP 21xx Series |
bhilpert Jun 2004 |