A controller of a microprocessor includes a control store for storing microinstructions. A programmable logic array (PLA), enabled when a predetermined macroinstruction type is to be executed, translated the operand field of the macroinstruction into information bits which are used to modify the microinstruction...http://www.google.com/patents/US4825363?utm_source=gb-gplus-sharePatent US4825363 - Apparatus for modifying microinstructions of a microprogrammed processor

Apparatus for modifying microinstructions of a microprogrammed processorUS 4825363 A

Abstract

A controller of a microprocessor includes a control store for storing microinstructions. A programmable logic array (PLA), enabled when a predetermined macroinstruction type is to be executed, translated the operand field of the macroinstruction into information bits which are used to modify the microinstruction as it is being fetched from the control store. The bits of the microinstruction which are changeable are coupled from the control store to a first input of a multiplexer. The output of the PLA is coupled to a second input of the multiplexer. A select signal for the multiplexer is generated when the predetermined instruction type is to be excuted, thereby effecting a modification of the fetched microinstruction, and yielding a modification to the basic operation of the macroinstruction.

Images(5)

Claims(7)

We claim:

1. A micprogrammable microprocessor for executing macroinstructions, each macroinstruction including an operation code field of binary signals and an operand field of binary signals, said microprocessor including:

first register means for storing a macroinstruction in execution by the microprocessor:

first control storage means for storing microinstructions at addressable locations, said first control storage means responsive to address signals being applied thereto for producing as an output a microinstruction stored at the addressed location, each microinstruction including a set of "n" binary signals, each microinstruction further including a subset of "b" binary signals, where "n" and "b" are integers greater than 0, and "n" is greater than "b", each microinstruction also including signals representing the address of the next microinstruction to be executed by the microprocessor:

circuit means for applying addresses signals to the first control storage means;

programmable logic array means for producing as a first output "b" binary signals which are a function of the binary signals applied thereto:

circuit means for applying to the programmable logic array means binary signals of the operand field of the macroinstruction stored in the first register means;

multiplexer means responsive to a select signal for producing as its output, one of two sets of "b" input signals applied thereto:

circuit means for applying the first output of the programmable logic array means as one set of "b" input signal and the subset of "b" binary signals of a microinstruction produced by the control storage means as a second set of input signals to the multiplexer means:

microinstruction register means for storing a microinstruction;

circuit means for applying the subset of "b" signals produced by the multiplexer means and the binary signals of the microinstruction produced by the control storage means less said subset of "b" binary signals of the microinstruction for storage in the microinstruction register means, the signals stored in the microinstruction register means being the microinstruction in execution at any given time;

decoder means to which selected signals of the microinstruction stored in the microinstruction register means are applied for producing a binary select signal;

circuit means for applying the select signal produced by the decoder means to the multiplexer means, said select signal determining whether the subset of "b" binary signals of the microinstruction produced by the control store is stored in the microinstruction register, or the "b" bits binary signals produced by the programmable logic array means is stored in the microinstruction register means;

test flip flop means for storing the results of the execution of a test microinstruction and for producing an output signal representing such result;

test flip flop control logic means for controlling the state of the test flip flop means responsive to a second output of "c" binary signals produced by the programmable array logic means where "c" is an integer greater than zero, a binary signal stored in a designated position of a second register means, and an ALU test output binary signal produced by the ALU means;

circuit means for applying the second output of the programmable array logic means, the binary signal from the second register means and the ALU test output signal to the test flip flop logic means; and

circuit means for applying the output signal of the test flip flop as an address signal applied to the first control storage means.

2. The microprogrammable microprocessor of claim 1 which further comprises a second control storage means for storing constants at addressable locations, said second control storage means responsive to address signals being applied thereto for producing as its output a constant stored at the addressed location, circuit means for applying address signals from a micro-opcode register means or the mmicroinstruction register means to the second control store, and circuit means for applying the output of the second control storage means to the ALU means.

3. The microprogrammable microprocessor of claim 2 in which the first and second control store means are read only memories.

b. first register means for storing binary signals of a macroinstruction in execution;

c. second register means for storing binary signals of a microinstruction in execution,

d. control storage means for storing binary signals of microinstructions at addressable locations and, for outputting the binary signals of a microinstruction stored at the addressed location in response to address signals, each microinstruction being a set of "n" binary signals in which there is a first subset of "b" binary signals, where "n" and "b" are integers greater than zero, and "n" is greater than "b";

e. first circuit means, connected to said first register means and responsive to binary signals of the macroinstruction stored in the first register means being applied thereto, for producing a second subset of "b" binary signals;

f. multiplexer mean, connected to said first circuit means and to said control store means, for selectively outputting said second subset of "b" binary signals or said first subset of "b" binary signals, respectively, in response to a decoded control signal from said second register means, thereby modifying the microinstruction outputted from the control storage means, the modified microinstruction being received by the second register means, the modified microinstruction yielding a modified set of control signals for a modified operation by said ALU means;

g. second circuit means, connected to said first register means, to said second register means, and to said first circuit means, and further connected to said control storage means, for determining a next microinstruction address, the next microinstruction address being the address signal received by said control storage means.

6. A microprogrammable microprocessor as defined in claim 5 in which signals of the subset of "b" signals form at least a part of the address of the next microinstruction to be produced by the control storage means.

7. A microprogrammable microprocessor as defined in claim 6 in which signals of the subset of "b" signals further include signals determining the operation to be performed by the ALU in executing the microinstruction stored in the second register means.

Description

BACKGROUND OF THE INVENTION

This invention relates to a processor, and more particularly, to a control unit which generates control signals for controlling the arithmetic and logic unit, in the execution of a microinstruction currently being held in a microinstruction register.

Processors execute a variety of instructions, which can include arithmetic type instructions, shift type instructions, logical type instructions, data manipulative type instructions, . . . These instructions can be categorized as memory-to-memory instructions, memory-to-register instructions, register-to-register instructions, . . . , and as a result can be further classified as a type one instruction, type two instruction, . . . , each type of instruction having a corresponding instruction format. Various approaches currently exist for executing a macro instruction in a microprogrammable microprocessor. In one such implementation, a firmware program, or routine (i.e., group of instructions) can reside in a control store (or control memory) which stores the group of microinstructions. When the operation code (OP code) of a macro instruction is initially decoded, one of the firmware routines can be invoked and executed. For a predetermined type of macro instruction, such as the data manipulative type macro instruction, the basic operation can be common to more than one macroinstruction, for example, "TEST BIT FOR A LOGIC VALUE OF 1", or "TEST BIT FOR A LOGIC VALUE OF 0". Based on the specific instruction, a branch to the corresponding microprogram routine could be performed which would then execute the specific instruction and test the bit specified. This implementation requires several microinstructions to be executed and, requires these microinstructions to be stored in the control store.

In an effort to reduce the size of the control store and to reduce the number of instructions required to be executed in the execution of the macro instruction resulting in a faster execution time, the present invention modifies the microinstruction as it is fetched from the control store and transferred to the microinstruction register. Predetermined fields of the microinstruction are modified with predetermined fields of the macro instruction which specifies the variation of the basic OP code, thereby modifying the basic operation, decreasing the execution time of the macro instruction, and resulting in speeding up the execution time of the macro instruction.

SUMMARY OF THE INVENTION

Therefore, there is supplied by the present invention, a control unit of a microprogrammable microprocessor. The microprogrammable microprocessor, includes a controller, an arithmetic and logic unit (ALU), and associated registers, for executing each macroinstruction of a predefined macroinstruction set, each macroinstruction having an operand field and an operation code field. The controller of the present invention comprises a control store for storing a plurality of microinstructions. A translation element, having input terminals adapted to receive the operand field of the macroinstruction currently being executed, converts the information expressed by the format of the operand field of the macroinstruction into information compatible with the format of the microinstruction word, thereby outputting converted operand data utilized to modify the microinstruction word as it is being fetched from the control store. A switching element, having a first set of input terminals operatively connected to the control store to receive preselected portions of a fetched microinstruction, and further having a second set of input terminals operatively connected to the translation element to receive the converted operand data, selects between (i) the preselected portion of a fetched microinstruction word and (ii) the converted operand data, in response to a select signal, thereby outputting selected data. A register, operatively connected to the switching element to receive the selected data, and further operatively connected to the control store to receive that portion of the fetched microinstruction word which is not subject to being selected by the switching element, holds the microinstruction for current execution.

Accordingly, it is an object of the present invention to provide a control unit which modifies the microinstruction as it is being fetched from a control store.

It is another object of the present invention to provide a control unit of a microprogrammable processor which modifies the microinstruction as it is fetched from control store with predetermined fields from the macroinstruction.

These and other objects of the present invention will become more apparent when taken in conjunction with the following description and attached drawings, wherein like characters indicate like parts, and which drawings form a part of the present application.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows a block diagram of a microprogrammable microprocessor which incorporates a control unit of the present invention;

FIG. 2 shows an instruction format of a data manipulative/test bit instruction of the processor of FIG. 1;

FIG. 3 shows a format of a microinstructions word of the processor of FIG. 1;

FIG. 4 shows a logic diagram of a programmable logic array of the controller of the preferred embodiment of the present invention;

FIG. 5 shows a partial logic diagram of a decoder of the controller of the preferred embodiment of the present invention; and

FIG. 6 shows the truth table utilized for the implementation of control logic for a test flip/flop of the controller of the preferred embodiment of the present invention.

DETAILED DESCRIPTION

Referring to FIG. 1, there is shown a block diagram of a microprogrammable microprocessor (or more simply microprocessor) 10 which can incorporate a control unit 20 of the present invention. The microprocessor 10 includes a memory data register (MD register) 101 and a memory address register (MA register) 102 which interfaces with a memory (not shown) via a memory bus 103. The microprocessor 10 of the preferred embodiment is an AQ type processor and includes an A register 104, a Q register (not shown), the Q register being a dedicated memory location, and a B register 105. A program counter 106 and a shift counter 107 are utilized in the overall control and execution of the instructions of the microprocessor 10. An ALU 110 executes the various arithmetic and logic operations under control of the control unit 20. In the preferred embodiment of the present invention, the ALU 110 is an 74F181 TTL integrated circuit chip. The A input and the B input of the ALU 110 are operatively coupled to receive the operand data from A register 104, B register 105, MD register 101, MA register 102, and data from a K-register 115 via a K bus through an A-MUX 111, and a B-MUX 112, respectively. (The numbers 24 through the lines of the A input and the B input of ALU 110 indicate the number of bits of the line utilized in the preferred embodiment of the present invention, in this case the lines being a 24 bit line. This nomenclature is included in the drawings of the present application.) Any bit in the A register 104 may be tested/manipulated through the use of a 24-to-1 A-register multiplexer (24-to-1 A-REG MUX) 113 and a 1 of 24 bit mask 114.

The control unit 20 of the preferred embodiment of the present invention includes a 48 bit wide control ROM 201 which stores the microinstructions utilized to implement the macro instruction set of the microprocessor 10. The control ROM 201 also includes as part of the microinstruction a constant which is obtained from a constant PROM 203 in the execution of some of the microinstructions. Twelve bits from the control ROM 201 are coupled to a first input of a MUX 202. A second group of 12 bits is coupled from a field programmable logic array (FPLA) 204 to a second input of the MUX 202. The 12 bit output of the MUX 202 is coupled to a microinstruction register 205, along with 36 bits from the control ROM 201. The outputs of the microinstruction register 205 in conjunction with a decoder 206 comprise the control signals which are in turn coupled to the various units, such as the ALU 110, for controlling the operation of these units. By selecting the second inputs of MUX 202 via a select signal, SELECT(206), predetermined bits of the microinstruction read from control ROM 201 can be modified thereby giving the microinstruction transmitted to the microinstruction register 205 a different (or modified) set of control indicators, yielding a modified set of control signals for a modified operation. The 12 bits of the microinstruction which are modified are in part determined from the operand field of the macroinstruction. The operand field temporarily stored in the MA register 102 is coupled to the FPLA 204 which decodes the operand data into control bits of the microinstruction. The control ROM 201 is addressed by bits 1-12 of the MA register 102, a "next instruction address" field of the microinstruction, or from an address supplied by a macro OP code register (OP-CODE register) 120.

Since the preferred embodiment of the present invention is implemented for data manipulative/bit test type instructions, a test flip-flop control logic 207 and test flip-flop 208 are included. Four bits from the FPLA 204 are coupled to the test flip-flop control logic 207 along with an ALU TEST OUTPUT signal from ALU 110 and the output signal of the 24-to-1 A-REG MUX 113.

The microprocessor 10 of the preferred embodiment of the present invention has defined five instruction types as shown in Table 1.

of particular interest here in the Type 1 instruction which utilizes the modification feature of the control unit of the present invention. Before discussing the operations required by the microprocessor 10 in the execution of the Type 1 instruction, some general discussion of the microprocessor 10 will be given.

Referring to FIG. 2, there is shown an instruction format of a Type 1 macroinstruction word. The microprocessor 10 of the preferred embodiment of the present invention utilizes a 24 bit macroinstruction word. The upper six bits (bits 18-23) are utilized for the macro OP code. For those instructions which can be indexed, bits 15-17 are utilized for specifying an index register. Bits 0-14 define an operand field. For a Type 4 macroinstruction, the operand defines the memory address of the operand data. For a Type 1 macroinstruction the R field defines a variation of the basic operation of the OP code. The test field (bit 5) defines whether a test operation is involved, and the K field (bits 0-4) specify the bit to be tested. The effective bit to be tested is a function of the K field and the index field since the K field is subject to an indexing operation.

FIG. 3 shows a format of the microinstruction word of the microprocessor 10 of the preferred embodiment of the present invention. The modification bits are supplied by the FPLA 204. Bits 35-40 and bits 8-13 of the microinstruction word are modified by the FPLA 204. Bits 35-39 of the microinstruction word are utilized for the control of the ALU 10, and bit 40 of the microinstruction word is utilized for the destination of the ALU, bit 40 specifying the A register 104. The next microinstruction address is provided by bits 6-17 of the microinstruction word.

The basic operation of the microprocessor 10 will now be discussed. During a first cycle of a microprocessor 10 an macroinstruction is fetched from the memory (not shown) and is placed into the memory data register 101. The upper six bits (bits 18-23) are also placed in the OP code register 120. These six bits comprise the basic instruction (or MACRO) OP code. As part of this first cycle, the instruction undergoes any address or instruction modification that might result from relative addressing or indexing. The result of this operation is then stored in the memory address register 102. Based on the OP code supplied by OP code register 120, the firmware routines stored in control ROM 201 execute a 64 way branch based on the contents of the OP code register 120. This vectors the firmware to the routine required to execute any one of the 64 basic OP codes of the microprocessor 10. The operations described thus far are common to the execution of all of the instructions of the microprocessor 10.

The lower 18 bits of the macroinstruction are now contained in the MA register 102. For an instruction which requires an operand data fetch from memory, the memory address is now stored in the memory address register. For a Type 1 macroinstruction the lower 15 bits of the MA register 102 are transmitted to the FPLA 204. The lower 5 bits of the MA register 102 are also used to select the input to the 24-to-1 A register multiplexer 113 and the mask to be outputted by the 1 of 24 bit mask 114. The first microinstruction specifies SELECT(206). This allows the next microinstruction that is currently being fetched to be modified by the output of the FPLA 204. The microinstruction that is being fetched and modified always specifies the A register and the K bus as sources and the B register as one of the destinations. The FPLA 204 outputs 12 bits which are substituted or used to set 12 f the bits of the microinstruction stored in microinstruction register 205. Five of the FPLA outputs are substituted for bits 35-39 of the microinstruction. These bits define the ALU operation to be performed. One FPLA output is substituted for bit 40 in the microinstruction and this bit determines if the A register will be a destination for the ALU 110 output. The five remaining output bits of the FPLA 204 are substituted for bits 8-12 of the microinstruction. These bits form part of the address of the next microinstruction and are used to vector firmware to various routines required to complete the execution of various Type 1 instructions. As a result of modifying the microinstruction fetched and transmitted to the microinstruction register 205, the ALU 10 operation will be changed to the appropriate operation. The majority of the Type 1 instructions will be completed when the modified microinstruction has completed its execution. The Type 1 instructions that have not been completed will be vectored by the modified microinstruction to an appropriate routine that will complete that specific Type 1 instruction.

Referring to FIG. 4 there is shown a logic diagram of the FPLA 204, and the MUX 202. The FPLA 204 is divided into two individual FPLAs, FPLA-1 250 and FPLA-2 251. The inputs of each FPLA 250, 251 are numbered from I00 through I15, each input coupled to a corresponding input bit MA00 -MA14 from the memory address register 102, the memory address register being used to temporarily store the operand field of the Type 1 macroinstruction. I15 of each FPLA 250, 251 is a combined input of MA03 and MA04. The input I15 is utilized as a check on the K field in which a value of logic 0 indicates the value of K must be less than or equal to 23, a logic 1 indicates the K field must have a value of greater than or equal to 24, or if no value is specified K is a don't care term. The FPLAs 250, 251 can be of the type of 82S100 integrated circuit chip. The MUX 202 of the preferred embodiment of the present invention comprises three integrated circuit chips of the type F157, denoted 222, 223, 224. Each zero input of the MUX 202 is coupled to a corresponding output F00 through F05 of the FPLAs 250, 251 as shown. Each one input of the MUX 202 is coupled to a corresponding bit CR08 through CR13, and CR35 through CR40 of the control ROM 201 (CR08 denoting bit 8 of the control ROM, CR09 denoting bit 9 of the control ROM . . . ). The output of the MUX 202 is then coupled to a corresponding bit of the microinstruction register 205, MIR40 denoting bit 40 of the microinstruction register 205, MIR39 denoting bit 39 of the microinstruction register 205, . . . . Output F05 of PLA 251 is combined with bit 32 of the next microinstruction if SELECT(206) is enabled in the current microinstruction. This operation is used to change a function of the microinstruction word to a Type 1 shift operation. Bits 0-14 of the Type 1 instruction are utilized to generate the modification bits of the microinstruction word in accordance with Tables 2 and 3. (The letter L indicates low (or a logic zero) and the letter H indicates high (or a logic one). The letter A indicates active, the preferred embodiment of the present invention utilizes active high. The dot and the dash indicate not present and don't care, respectively.)

Referring to FIG. 5 there is shown a partial logic diagram of the decoder 206. The decoder 206 comprises a plurality of decoder integrated circuit chips. A first 3-to-8 decoder 306 has coupled to the inputs the outputs of the microinstruction register 205, the output of the microinstruction register 205 being denoted OMIRXX where XX denotes the bit of the microinstruction register. A second 3-to-8 decoder 307 is utilized to generate the ENABLE(230) signal, the second decoder decoding the output bits from the microinstruction register 205 as shown. The first and second decoders 306, 307 are of the type F138 integrated circuit chip.

The control ROM 201 is of the type AMD AM 27S191, and the microinstruction register 205 is of the type 74F175 integrated circuit chip. The test flip flop control logic 207 is implemented in accordance with the truth table of FIG. 6, from the output signals F6 and F7 from the FPLAs 250, 251. The data manipulation and bit testing instructions implemented in the microprocessor 10 of the preferred embodiment of the present invention are listed in the Appendix along with a brief description of the function performed by the instruction.

While there has been shown what is considered to be the preferred embodiment of the present invention, it will be manifest that many changes and modifications can be made therein without departing from the essential spirit and scope of the invention. It is intended, therefore, in the annexed claims to cover all such changes and modifications which fall within the true scope of the invention.

______________________________________APPENDIX______________________________________CBK - CHANGE BIT KCBK complements bit Z of the A-Register. Allother bits of A remain unchanged.COUNT LEAST SIGNIFICANT ONESCL.0. counts the number of "one" bits to theright of the rightmost "zero" bit in the ARegister. The count value is placed into theJ Counter. If A equals 777777778, the countis 2410.CLZ - COUNT LEAST SIGNIFICANT ZEROSCLZ counts the number of "zero" bits to theright of the rightmost "one" bit in the ARegister. The count value is placed into theJ Counter. If A equals 000000008, the countis 2410.COUNT MOST SIGNIFICANT ONESCM.0. counts the number of "one" bits to theleft of the leftmost "zero" bit in the ARegister. The count value is placed into theJ Counter. If A equals 777777778, the countis 2410.CMZ - COUNT MOST SIGNIFICANT ZEROSCMZ counts the number of "zero" bits to theleft of the leftmost "one" bit in the ARegister. The count value is placed into theJ Counter. If A equals 000000008, the countis 2410.CPL - COMPLEMENT ACPL replaces the contents of the A Registerwith its ones complement.CTO - COUNT TOTAL ONECTO counts the total number of "one" bits inthe A-Register. The count value is placedinto the J-Counter. If A equals 777777778,the count is 2410.CTZ - COUNT TOTAL ZEROSCTZ counts the total number of "Zero bits" inthe A-Register. The count value is placedinto the J-Counter. If A equals 000000008,the count is 2410.IBK - ISOLATE BIT KIBK leaves a designated bit of the A Registerunchanged and sets all the other bits to"zero".ICB - ISOLATE AND COMPLEMENT BIT KICB complements Bit K of the A-Register andsets all of the other bits to "zero".LOAD ONE INTO BIT KLD.0. places a "one" into bit Z of the ARegister. All other bits are reset to"zero".LDZ - LOAD ZEROS INTO ALDZ replaces the contents of the A Registerwith "zeros".LM0 - LOAD MINUS ONELM.0. places a "one" into each of the bits ofthe A-Register.NEG - NEGATENEG replaces the contents of the A Registerwith its 2's complement.RBK - RESET BIT KRBK places a "zero" into bit Z of the ARegister. All other bits remain unchanged.RER - RESET TSTF IF BIT K IS EVEN AND RESET BIT KRER resets the test Flip-Flop (TSTF) if Bit Zof the A-Register is "Zero". If the Bit Z is"one", the TSTF remains unchanged. Bit Z ofthe A-Register is set to "Zero".REV - RESET TSTF IF BIT K IS EVENREV resets the Test Flip Flop (TSTF) if bit Zof the A-Register is "zero". If the bit is"one" the TSTF remains unchanged.RLZ - RESET TSTF AND LOAD ZEROS INTO ARLZ replaces the contents of the A-Registerwith "zeros". The test Flip Flop is alsoreset to a "Zero".RNZ - RESET TSTF IF A IS NON-ZERORNZ resets the Test Flip-Flop (TSTF) if anybit in the A Register is a "one". OtherwiseTSTF is unchanged.R.0.D - RESET TSTF IF BIT K IS ODDR.0.D resets the Test Flip-Flop (TSTF) if bit Zof the A Register is "one". If the bit is"zero" the TSTF remains unchanged.ROR - RESET TSTF IF BIT K IS ODD AND RESET BIT KROR resets the Test Flip-Flop (TSTF) if bit Zof the A-Register is "one". If the bit is"zero", the TSTF remains unchanged. Bit Z ofthe A--Register is set to "zero".ROS - RESETS TSTF IF BIT K IS ODD AND SET BIT KROS resets the test Flip-Flop (TSTF) if bit Zof the A-Register is "one". If the bit is"Zero", the TSTF remains unchanged. Bit Z ofthe A-Register is set to "one".RST - RESET TSTFRST resets the Test Flip Flop (TSTF) to a"zero".SBK - SET BIT KSBK sets bit Z of the A Register to one. Allother bits remain unchanged.SET - SET TSTFSET sets the Test Flip-Flop (TSTF) to a"one".SLZ - SET TSTF AND LOAD ZEROS INTO ASLZ replaces the contents of the A-Registerwith "Zeros". The TSTF is set to a "one".SNZ - SET TSTF IF A IS NON-ZEROSNZ sets the Test Flip-Flop (TSTF) if any bitof the A Register is a "one". Otherwise TSTFremains unchanged.S.0.D - SET TSTF IF BIT K IS ODDS.0.D sets the Test Flip Flop (TSTF ) if bit Zof the A Register is "one". If the bit is"zero", TSTF remains unchanged.SOR - SETS TSTF IF BIT K IS ODD AND RESET BIT KSOR sets the test Flip-Flop (TSTF) if bit Zof the A-Register is a "one". If the bit isa "Zero", the TSTF remains unchanged. Bit Zof the A-Register is set to " Zero".SOS - SET TSTF IF BIT K IS ODD AND SET BIT KSOS sets the test Flip-Flop (TSTF) if bit Zof the A-Register is a "one". If the bit isa "Zero", the TSTF remains unchanged. Bit Zof the A-Register is set to a "one".SRA - SHIFT RIGHT ARITHMETICSRA shifts the contents of the A Register Zplaces to the right. The sign bit is notchanged. Bits shifted out of AO are lost.Bits shifted into A22 are the same as thesign bit.SRC - SHIFT RIGHT CIRCULARSRC shifts A Register bits to the right, outof AO and into A23.SRL - SHIFT RIGHT LOGICALSRL shifts all twenty-four bits of the ARegister to the right Z places. Bits shiftedout of AO are lost. Zeros shift into A23.TEC - TEST EVEN AND COMPLEMENT BIT KTEC sets the Test Flip-Flop (TSTF) if bit Zof the A-Register was "zero", if the bit wasa "one", the TSTF is reset. Bit Z of theA-Register is then complemented.TER - TEST EVEN AND RESET BIT KTER examines bit Z of the A Register. If thebit is zero, the TSTF is set to a one; theTSTF is reset to a zero if the bit is one.TER then resets bit Z to a zero.TES - TEST EVEN AND SET BIT KTES examines bit Z of the A Register. If thebit is zero, the TSTF is set to a one; theTSTF is reset to a zero if the bit is one.TES then sets Z to a one.TEV - TEST BIT K EVENTEV sets the Test Flip-Flop (TSTF) if bit Zof the A Register is "zero". If the bit is"one" the TSTF is reset.TMF - TEST MINUS ONE FOR K BITSTMF shifts the contents of the A-Registerright circular Z places. If all Z bitsshifted into A23 are "ones", the testFlip-Flop is set, otherwise it is reset.TMO - TEST MINUS ONETMO sets the Test Flip-Flop (TSTF) if theA-Register bits are all "one". It resetsTSTF if any bit in the A-Register is a"Zero".TNM - TEST NOT MINUS ONETNM sets the TSTF if any bit in theA-Register is a zero. When all bits in theA-Register are "ones", TSTF is reset.TNZ - TEST A NON-ZEROTNZ sets the Test Flip-Flop (TSTF) if any bitin the A Register is a "one". It resets theTSTF if the A Register bits are all "zero".T.0.D - TEST BIT K ODDT.0.D sets the Test Flip-Flop (TSTF) if bit Zof the A Register is "one". If the bit is"zero" TD resets the TSTF.TOR - TEST ODD AND RESET BIT KTOR sets the TSTF if bit Z is a "one" andresets the TSTF if bit Z is a "zero".Afterthe testing operation bit Z is set to azero. That is, TOR replaces the followingtwo instruction sequence: TOD K RBK KTOS - TEST ODD AND SET BIT KTOS examines bit Z of the A Register. If Zequals one, the TSTF is set to a one; theTSTF is reset to zero if Z equals zero. TOSthen sets bit Z a one.TSC - TEST AND SHIFT CIRCULARTSC shifts the contents of the A Registerright circular Z places. If all Z bitsshifted into A23 are "zero", the TestFlip-Flop is set; otherwise it is reset.TZC - TEST ZERO AND COMPLEMENTTZC sets the TSTF when all bits in the ARegister are "zero". If any bit in the ARegister is a "one", the TSTF is reset. TZCthen replaces the contents of the A Registerby its 1's complement.TZE - TEST A ZEROTZE sets the Test Flip Flop (TSTF) if the ARegister bits are all "zero". It resets TSTFif any bit in the A Register is a "one".______________________________________ Note: Z is a function of K and X.