US5247624A - Microprogram controller including leading microinstruction from a generator executed while succeeding microinstruction from memory is read out - Google Patents

Microprogram controller including leading microinstruction from a generator executed while succeeding microinstruction from memory is read out Download PDF

Info

Publication number
US5247624A
US5247624A US07/491,952 US49195290A US5247624A US 5247624 A US5247624 A US 5247624A US 49195290 A US49195290 A US 49195290A US 5247624 A US5247624 A US 5247624A
Authority
US
United States
Prior art keywords
microinstruction
register
information
memory
generator
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
US07/491,952
Inventor
Yasuhiko Koumoto
Kouji Maemura
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from JP7120889A external-priority patent/JPH0833820B2/en
Application filed by NEC Corp filed Critical NEC Corp
Assigned to NEC CORPORATION reassignment NEC CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST. Assignors: KOUMOTO, YASUHIKO, MAEMURA, KOUJI
Application granted granted Critical
Publication of US5247624A publication Critical patent/US5247624A/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/22Microcontrol or microprogram arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30003Arrangements for executing specific machine instructions
    • G06F9/30007Arrangements for executing specific machine instructions to perform operations on data operands
    • G06F9/30032Movement instructions, e.g. MOVE, SHIFT, ROTATE, SHUFFLE
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/22Microcontrol or microprogram arrangements
    • G06F9/26Address formation of the next micro-instruction ; Microprogram storage or retrieval arrangements
    • G06F9/262Arrangements for next microinstruction selection
    • G06F9/264Microinstruction selection based on results of processing
    • G06F9/267Microinstruction selection based on results of processing by instruction selection on output of storage
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/22Microcontrol or microprogram arrangements
    • G06F9/26Address formation of the next micro-instruction ; Microprogram storage or retrieval arrangements
    • G06F9/262Arrangements for next microinstruction selection
    • G06F9/268Microinstruction selection not based on processing results, e.g. interrupt, patch, first cycle store, diagnostic programs

Definitions

  • the present invention relates to a microprocessor and, more particularly, to a microprocessor executing a microprogram (called hereinafter "microprogram controller") based on a received macroinstruction.
  • microprogram controller a microprogram executing a microprogram based on a received macroinstruction.
  • each of instructions to be executed is programmed by a user as a form of macroinstruction and is performed in the microprogram controller after being converted into a string of microinstructions corresponding to the received macroinstruction.
  • the respective strings of microinstructions corresponding to all the possible macroinstructions are preliminarily stored or written into a microinstruction memory.
  • Each of the macroinstructions has a specific address information for designating a leading microinstruction of the corresponding string of microinstruction.
  • the address information peculiar to the macroinstruction to be executed is loaded to a microaddress register and is used to access the microinstruction memory for reading out a microinstruction therefrom.
  • the read/out microinstruction is then latched in a microinstruction register and executed by a microinstruction execution control unit.
  • the microinstruction read out of the memory is latched in the microinstruction register, the content of the microaddress register is updated by one, so that a next microinstruction is read out of a next address of the memory.
  • This next microinstruction is latched in the microinstruction register and executed by the execution control unit after the execution of the current microinstruction is completed.
  • the address information of a new macroinstruction to be executed next is loaded to the microaddress register.
  • the string of microinstructions corresponding to the macroinstruction to be executed is initiated after the content of the microaddress register is settled by being loaded with the address information of the macroinstruction to be executed and the leading microinstruction is read out of the memory.
  • the actual start of executing the string of microinstructions is thereby delayed and the completion of the string of microinstructions is delayed accordingly.
  • an object of the present invention is to provide an improved microprogram controller.
  • Another object of the present invention is to provide a microprogram controller in which the initiation of a string of microinstructions is advanced to enhance the overall speed of instruction execution.
  • a microprogram controller comprises a memory for storing macroinstructions, a first register for temporarily storing address information for accessing the memory, a second register for temporarily storing a microinstruction to be executed, an execution control unit for receiving and executing a microinstruction from the second register, a fixed-instruction generator for generating a leading microinstruction of a predetermined string of microinstructions, a selector for selecting one of a microinstruction read out of the memory and the leading microinstruction generated from the fixed-microinstruction generator, and a sequence control unit for loading the leading microinstruction to the second register through the selector before a second microinstruction of the predetermined string of microinstructions is read out of the memory by the first register being loaded with predetermined address information, the sequence control unit loading the second microinstruction from the memory to the second register through the selector after the leading microinstruction is loaded.
  • the second microinstruction and, if present, later instruction(s) of the predetermined string of microinstructions are stored in the memory, and the leading microinstruction thereof generated like a constant from the generator is loaded to the second register so as to save the period required for reading out the microinstruction from the memory. Accordingly, the initiation of actually executing the string of microinstructions is accelerated and the instruction execution speed is enhanced correspondingly.
  • FIG 1 is a block diagram representative of a first embodiment of the present invention
  • FIG. 2 is an internal circuit diagram representative of a fixed-instruction generator (FIGEN) shown in FIG. 1;
  • FIGEN fixed-instruction generator
  • FIG. 3 is a program diagram indicating a string of microinstructions, the leading microinstruction of which is generated by FIGEN shown in FIG. 1;
  • FIG. 4 is a timing chart representative of an operation of a microprogram controller shown in FIG. 1;
  • FIG. 5 is a block diagram representative of a second embodiment of the present invention.
  • FIG. 6 is a program diagram indicating another string of microinstructions, the leading microinstruction of which is generated by FIGEN shown in FIG. 5;
  • FIG. 7 is a timing chart representative of an operation of a microprogram controller shown in FIG. 5;
  • FIG. 8 is a block diagram representative of a third embodiment of the present invention.
  • FIGS. 9 to 12 are block diagrams representative of the respective main parts of modifications of the microprogram controller shown in FIG. 1.
  • a macroinstruction is decoded by an instruction decoder unit (IDU), which is not shown in the drawings, and the decoded information thereof is supplied via a bus 5 to a decoded instruction queue (IDQ) 10 and then stored therein.
  • IDQ 10 stored in IDQ 10 are address information (STADQ) 11 for accessing a microinstruction memory (MROM) 50, source operand information (SOPRNQ) 13, destination operand information (DOPRNQ) 14 and operational information (ALUFQ) 15 for designating an operation on one or two operand data, each information being derived from the macroinstruction to be executed.
  • IDU instruction decoder unit
  • IDQ 10 stored in IDQ 10 are address information (STADQ) 11 for accessing a microinstruction memory (MROM) 50, source operand information (SOPRNQ) 13, destination operand information (DOPRNQ) 14 and operational information (ALUFQ) 15 for designating an operation on one or two operand data, each information being derived from the macroinstruction
  • IDQ 10 further stored in IDQ 10 is sequence control information (SEQ) 12 representing whether or not the macroinstruction to be executed is performed by a typical string of microinstructions which will be described later.
  • SEQ sequence control information
  • IDU changes a valid signal (VQ) 6 to an active high level to inform a microinstruction sequencer (MISEQ) 20 of this fact.
  • MISEQ 20 returns an acknowledge signal (IDACK) 7 to inform IDU of receiving the information from IDQ 10.
  • IDACK acknowledge signal
  • MISEQ 20 further loads STADQ 11 to a microaddress register (MA) 40 via a multiplexer (MPX) 44 to access MROM 50 with STADQ 11.
  • MA microaddress register
  • MPX multiplexer
  • the content of MA 40 is updated by one by an incrementer 48 and then returned to MA 40.
  • respective addresses for a string of microinstructions consisting of three or more steps are designated to access MROM 50.
  • the microinstruction read out of MROM 50 is supplied via a bus 55 to one input of a selector (SEL) 60 having the other input supplied via a bus 35 with a microinstruction generated by a fixed-microinstruction generator (FIGEN) 30 which is provided in accordance with the present invention.
  • FIGEN 30 is controlled by MISEQ 20 and generates the microinstruction that is a leading or first microinstruction of the typical string of microinstructions.
  • SEL 60 selects one of the microinstructions from the buses 35 and 55 in response to a selection signal 26 from MISEQ 20.
  • the selected microinstruction is latched in a microinstruction register (MI) 70 and then supplied to and executed by a microinstruction execution control unit (MICNT) 80.
  • MI microinstruction register
  • MICNT microinstruction execution control unit
  • MICNT 80 generates a set of control signals 85 for reading and writing operand data and includes an arithmetic and logic unit (ALU) 83 for performing an arithmetic and/or logic operation on one or two operand data supplied thereto, input registers (TA and TB) 82 and 81 for temporarily storing source and destination operand data, respectively, and an output register (ALUO) 84 for temporarily storing resultant data from ALU 83.
  • Control information such as an execution start signal and an execution-completion signal of microinstructions and so forth is transmitted via a control bus 88 between MISEQ 20 and MICNT 80.
  • SOPRNQ 13, DOPRNQ 14 and ALUFQ 15 in IDU 10 are supplied to MICNT 80.
  • the typical string of microinstructions is such that the source operand data designated by SOPRNQ 13 and the destination operand data designated by DOPRNQ 14 are transferred respectively via a first bus (MD-BUS) 90 and a second bus (SD-BUS) 95 and then subjected to the operation designated by ALUFQ 15 and the operation resultant data is thereafter returned to the operand designated by DOPRNQ 14.
  • a microinstruction string is shown in FIG. 3.
  • SRC represents a source operand designated by SOPRNQ 13
  • DST represents a destination operand designated by DOPRNQ 14
  • ALU represents a command for setting ALU 83 with an operation designated by ALUFQ 105
  • " "represents a transmission command
  • "ENDM” represents a control command for terminating the execution of the microinstruction string.
  • the source and destination operand data are transferred respectively to TA 82 and TB 81; ALU 83 performs the designated operation on these operand data; and the operation resultant data is stored in ALUO 84.
  • FIGEN 30 generates the leading microinstruction MI1 and MROM 50 stores the second microinstruction MI2.
  • FIGEN 30 includes a plurality pairs of a transfer gate TG and a resistor R, the number of which is the same as the number of bits required for the leading microinstruction MI1.
  • One end of each of the transfer gates TG is connected via the corresponding resistor R to a positive power voltage Vcc as logic 1 or the ground voltage GND as logic 0, and the other end thereof is connected to SEL 60 as one bit of bus 35.
  • the respective transfer gates TG are made open by an active high signal 25 from MISEQ 20, so that FIGEN 30 supplies a machine code of the heading microinstruction MI1 to SEL 60.
  • the macroinstruction to be executed is an addition instruction of two operand data, which is therefore performed by the execution of the microinstruction string shown in FIG. 3.
  • IDU stores in IDQ 10 as STADQ 11 address information designating an address ADDO of MROM 50 into which the second microinstruction MI2 is written and as ALUFQ 15 addition operation information. Since this macroinstruction is performed by the typical microinstruction string shown in FIG. 3, "execution-enable" information is further stored in IDQ 10 as SEQ 12.
  • operand information representing whether the operand to be processed is a memory operand or a register operand and data length information denoting the data length of the operand to be processed are stored in IDQ 10 as SOPRNQ 13 and DOPRNQ 14. It should be noted that, as well known in the art, an effective address of the operand to be processed is previously obtained by an effective address generator (not shown) and the required operand data are stored in operand registers (also not shown) coupled to the buses 90 and 95, respectively.
  • IDU changes VQ 6 to the active level in synchronism with a clock signal CLOCK, as shown in FIG. 4.
  • MISEQ 20 returns IDACK 7 to IDU at a timing when MICNT 80 is ready to execute the microinstruction string.
  • MISEQ 20 further loads the content of STADQ 11, i.e. the address ADDO, to MA 40 via MPX 44 to initiate the microinstruction reading-out operation from MROM 50.
  • the execution-enable information of SEQ 12 is decoded by a decoder 21 of MISEQ 20, so that the signals 25 and 26 are changed to an active high level during one clock period.
  • the leading microinstruction MI1 is generated from FIGEN 30 and stored in MI 70 via SEL 60, as shown in FIG. 4.
  • MICNT 80 thus starts to decode the leading microinstruction MI1.
  • the access to the address ADDO of MROM 50 is completed and the second microinstruction MI2 is thus read out therefrom onto the bus 55.
  • the second microinstruction MI2 is latched in MI 70 via SEL 60, as shown in FIG. 4.
  • the execution of the leading microinstruction MI1 starts, so that the source and destination operand data are fetched in MICNT 80 via the buses 90 and 95 and are subjected to the addition operation by ALU 83, as shown by "R" in FIG. 4. Since the macroinstruction in the present description is performed by two-step microinstruction, MPX 44 prevents the output of the incrementer 44 from being loaded to MA 40 in response to the signal 27. Since the microinstruction execution terminating command ENDM is transferred to MISEQ 20 via the bus 88, MISEQ 20 is ready to receive the next macroinstruction.
  • MISEQ 20 responds to VQ 6 which is generated during the microinstruction MI2 being latched in MI 70, and returns IDACK 7 to IDU.
  • VQ 6 which is generated during the microinstruction MI2 being latched in MI 70
  • IDACK 7 returns IDACK 7 to IDU.
  • the signals 25 and 26 are again changed to the high level in response to a next clock, so that the leading microinstruction MI1 is latched in MI 70 via SEL 60.
  • the address ADDO is again loaded to MA 40.
  • the execution of the microinstruction MI2 starts, the addition resultant data is returned to the destination operand via MD-BUS 90, as shown by "W" in FIG. 4.
  • leading microinstruction MI1 is latched in MI 70 before the microinstruction is read out of MROM 50 by MA 40 being loaded with the address of STADQ 11, and therefore the execution initiation of the microinstruction string is advanced to enhance the instruction execution speed.
  • STADQ 11 has the address information for designating the leading microinstruction of a string of microinstructions corresponding to that macroinstruction
  • SEQ 12 has "execution-disable" information. Accordingly, the signals 25 and 26 are held at the low level and the leading instruction is read out of MROM 50 and latched in MI 70 after one clock time elapses from a time point at which MA 40 is loaded with the address of STADQ 11.
  • macroinstructions there is a macroinstruction having an addressing mode accompanied with a register modification.
  • a register modified data move macroinstruction is known in which the content of a particular register is used as an operand address and modified (i.e., incremented or decremented) by a predetermined value and the data accessed by the modified operand address is transferred to another register.
  • the above register modification operation can be performed by a microinstruction generated by FIGEN.
  • the microinstruction string for performing the register modification operation is described in FIG.
  • the resultant data is returned to the register to be modified, and the required processing using the modified register is then initiated. Since the register modification operation shown in FIG. 6 is also performed by two-step microinstruction string, the leading microinstruction MI10 can be produced by FIGEN and executed simultaneously with the second microinstruction MI11 being read out of MROM.
  • FIG. 5 A microprogram controller having such a construction is shown in FIG. 5 as a second embodiment of the present invention, in which the same constituents as those shown in FIG. 1 are denoted by the same reference numerals, and is omitted further description thereof.
  • register modification information (REGMOD) 16 is added to IDQ 10.
  • REGMOD 16 includes information representing whether or not the register modification is required, a modification amount and a modification direction (increment or decrement). The first one of them is supplied to a second decoder 22 of MISEQ 20 and the remaining ones of them are supplied to MICNT 80.
  • the decoder 21 produces logic 1 output in response to the execution-enable information of SEQ 12 and the decoder 22 produces logic 1 output in response to the information representing that the register modification is required.
  • FIGEN 30 generates a machine code representing the leading microinstruction MI10 shown in FIG. 6, in this embodiment.
  • the second microinstruction MI11 is written in MROM 50 and address information ADD10 for accessing MI11 is previously stored in a register (SNDA) 24 of MISEQ 20.
  • MPX 44 is of a three-input type and selects SNDA 24 in response to a signal 28 of an active high level and STADQ 11 in response to the high level signal 27. When both of the signals 27 and 28 are at the low level, MPX 44 selects the output of the incrementer 48.
  • the signal 28 is also derived from the AND gate 23.
  • IDU changes VQ 6 to the high level when all of necessary information for this macroinstruction are read into in IDQ 10, as shown in FIG. 7.
  • STADQ 11 has an address ADD20 of a microinstruction MI20 in MROM 50, which is executed by use of the modified register content.
  • MISEQ 20 then returns IDQACK 7 to IDU to initiate the microprogram for the above macroinstruction.
  • SEQ 12 has the execution-enable information and REGMOD 16 has the modification request information, and hence the signals 25, 26 and 28 are changed to the high level during one clock period.
  • the leading microinstruction MI10 from FIGEN 30 is latched in MI 70 via SEL 60 and the address ADD10 from SNDA 24 is loaded to MA 40 via MPX 44.
  • the second microinstruction MI11 read out of MROM 50 is latched in MI 70 via SEL 60.
  • the signal 27 is changed to the high level, so that the address ADD20 of STADQ 11 is loaded to MA 40 via MPX 44.
  • the microinstruction MI20 is thereby read out from MROM 50 and thereafter latched in MI 70 via SEL 60.
  • microprogram of FIG. 6 for performing the register modification operation is executed at the same time sequence as the typical microprogram shown in FIG. 3, and the microprogram for the macroinstruction accompanied by the register modification is initiated by RESTART control command.
  • FIG. 8 a microprogram controller according to a third embodiment of the present invention has both functions described in the above first and second embodiments. More specifically, FIGEN 30 generates both of the microinstruction MI1 of FIG. 3 and the microinstruction MI10 of FIG. 6 and supplies SEL 60 with the microinstruction MI1 when a signal 25-1 is at a high level and with the microinstruction MI10 when a signal 25-2 is at a high level.
  • the signal 25-1 is produced by an AND gate 29 receiving the output of the decoder 21 and the inverted output of the decoder 22, and the signal 25-1 is produced by the AND gate 23.
  • An OR gate 26-1 which receives the signals 25-1 and 25-2, produces the selection signal 26 for SEL 60.
  • the microprogram controller of this embodiment performs the same operation as the first embodiment when the macroinstruction to be executed is performed by the microinstruction string of FIG. 3 and as the second embodiment when the macroinstruction to be executed has an addressing mode accompanied by the register modification.
  • FIGEN 30 may be thus constructed to generate respective leading microinstructions of microinstruction strings corresponding respectively to those macroinstructions.
  • a memory cell array structure is required in order to generate a plurality of microinstructions, so that the effect of FIGEN 30 is deteriorated.
  • FIG. 9 is for a compare macroinstruction, when this macroinstruction is decoded, "compare operation" information is stored in IDQ 10 as ALUFQ 15. This information is decoded by a decoder 200, so that a SD-BUS write inhibite signal 201 takes an active level.
  • MI1 a compare operation is performed on two operand data to be compared.
  • MI2 since the SD-BUS write inhibite signal 201 is at the active level, the control signal 85 for returning the comparison resultant data back to the destination operand is not generated, so that the microprogram is terminated without the result data being written in the destination operand.
  • the inactive level of the SD-BUS write inhibit signal 201 causes MICNT 80 to write the resultant data into the destination operand.
  • FIG. 10 is for a single operand macroinstruction in which the constant "1" is added to or subtracted from the operand data.
  • ALUFQ 15 has information of "addition/subtraction operation of 1". This information is decoded by a decoder 300 when the microprogram shown in FIG. 3 is initiated.
  • the decoder 300 includes a selector and thus selects a constant "1" generator 300 in place of SOPRNQ 13.
  • the microinstruction MI1 therefore, the constant "1" is added to or subtracted from the destination operand data, and thereafter, the resultant data is returned to the destination operand by the microinstruction MI2.
  • FIG. 11 is for a data transfer macroinstruction.
  • DOPRNQ 14 has "read-disable" information in addition to operand destination information.
  • a decoder 400 decodes the read-disable information and changes a SD-BUS read inhibite signal 401 to an active level.
  • MI1 since the signal 401 is at the active level, the control signal 85 for reading out the destination operand data is not generated.
  • ALU 83 thereby performs a designated operation on the source operand data from MD-BUS 90 and invalid data left in TB 81. However, in the data transfer macroinstruction, such an operation is designated that does not influence the destination data.
  • ALU 83 produces correct data. This data is then transferred to the destination operand of DOPRNQ 14, by the second microinstruction MI2.
  • FIG. 12 is for a no-operand macroinstruction such as a branch instruction.
  • both of SOPRNQ 13 and DOPRNQ 14 has "invalid operand" information.
  • First and second decoders 500 and 600 transfer SOPRNQ 13 and DOPRNQ 14 respectively to MICNT 80 as they are when the invalid operand information is not detected.
  • the decoders 500 and 600 convert SOPRNQ 13 and DOPRNQ 14 respectively into information designating an internal resource that does not influence the execution of a microprogram.
  • MD-BUS 90 and SD-BUS 95 are designated.
  • MD-BUS 90 and SD-BUS 95 are subjected to some operation as source and destination operands and the resultant data is applied to SD-BUS 95.
  • substantial operand data is not designated.

Abstract

A microprogram controller advances the initiation of a string of microinstructions for certain macroinstructions to enhance the overall speed of instruction execution. The microprogram controller includes a memory (50) for storing microinstructions and a generator (30) for generating an initial microinstruction of a certain macroinstruction. A selector (60) selects one of a microinstruction read out of the memory and the initial microinstruction from the generator and latches the selected microinstruction in a microinstruction register (70). The initial microinstruction from the generator is first latched into the register and executed while a succeeding microinstruction is read out of the memory.

Description

BACKGROUND OF THE INVENTION
The present invention relates to a microprocessor and, more particularly, to a microprocessor executing a microprogram (called hereinafter "microprogram controller") based on a received macroinstruction.
In a microprogram controller, each of instructions to be executed is programmed by a user as a form of macroinstruction and is performed in the microprogram controller after being converted into a string of microinstructions corresponding to the received macroinstruction. The respective strings of microinstructions corresponding to all the possible macroinstructions are preliminarily stored or written into a microinstruction memory. Each of the macroinstructions has a specific address information for designating a leading microinstruction of the corresponding string of microinstruction.
Specifically, the address information peculiar to the macroinstruction to be executed is loaded to a microaddress register and is used to access the microinstruction memory for reading out a microinstruction therefrom. The read/out microinstruction is then latched in a microinstruction register and executed by a microinstruction execution control unit. When the microinstruction read out of the memory is latched in the microinstruction register, the content of the microaddress register is updated by one, so that a next microinstruction is read out of a next address of the memory. This next microinstruction is latched in the microinstruction register and executed by the execution control unit after the execution of the current microinstruction is completed. When the execution of the string of microinstruction corresponding to the current macroinstruction is completed, the address information of a new macroinstruction to be executed next is loaded to the microaddress register.
Thus, the string of microinstructions corresponding to the macroinstruction to be executed is initiated after the content of the microaddress register is settled by being loaded with the address information of the macroinstruction to be executed and the leading microinstruction is read out of the memory. The actual start of executing the string of microinstructions is thereby delayed and the completion of the string of microinstructions is delayed accordingly.
SUMMARY OF THE INVENTION
Therefore, an object of the present invention is to provide an improved microprogram controller.
Another object of the present invention is to provide a microprogram controller in which the initiation of a string of microinstructions is advanced to enhance the overall speed of instruction execution.
A microprogram controller according to the present invention comprises a memory for storing macroinstructions, a first register for temporarily storing address information for accessing the memory, a second register for temporarily storing a microinstruction to be executed, an execution control unit for receiving and executing a microinstruction from the second register, a fixed-instruction generator for generating a leading microinstruction of a predetermined string of microinstructions, a selector for selecting one of a microinstruction read out of the memory and the leading microinstruction generated from the fixed-microinstruction generator, and a sequence control unit for loading the leading microinstruction to the second register through the selector before a second microinstruction of the predetermined string of microinstructions is read out of the memory by the first register being loaded with predetermined address information, the sequence control unit loading the second microinstruction from the memory to the second register through the selector after the leading microinstruction is loaded.
Thus, the second microinstruction and, if present, later instruction(s) of the predetermined string of microinstructions are stored in the memory, and the leading microinstruction thereof generated like a constant from the generator is loaded to the second register so as to save the period required for reading out the microinstruction from the memory. Accordingly, the initiation of actually executing the string of microinstructions is accelerated and the instruction execution speed is enhanced correspondingly.
BRIEF DESCRIPTION OF THE DRAWINGS
The above and other objects, of the present invention will be more apparent from the following-description taken in conjunction with the accompanying drawings, in which
FIG 1 is a block diagram representative of a first embodiment of the present invention;
FIG. 2 is an internal circuit diagram representative of a fixed-instruction generator (FIGEN) shown in FIG. 1;
FIG. 3 is a program diagram indicating a string of microinstructions, the leading microinstruction of which is generated by FIGEN shown in FIG. 1;
FIG. 4 is a timing chart representative of an operation of a microprogram controller shown in FIG. 1;
FIG. 5 is a block diagram representative of a second embodiment of the present invention;
FIG. 6 is a program diagram indicating another string of microinstructions, the leading microinstruction of which is generated by FIGEN shown in FIG. 5;
FIG. 7 is a timing chart representative of an operation of a microprogram controller shown in FIG. 5;
FIG. 8 is a block diagram representative of a third embodiment of the present invention; and
FIGS. 9 to 12 are block diagrams representative of the respective main parts of modifications of the microprogram controller shown in FIG. 1.
DETAILED DESCRIPTION OF THE EMBODIMENTS
Referring to FIG. 1, there is shown a microprogram controller according to a first embodiment of the present invention. A macroinstruction is decoded by an instruction decoder unit (IDU), which is not shown in the drawings, and the decoded information thereof is supplied via a bus 5 to a decoded instruction queue (IDQ) 10 and then stored therein. In detail, stored in IDQ 10 are address information (STADQ) 11 for accessing a microinstruction memory (MROM) 50, source operand information (SOPRNQ) 13, destination operand information (DOPRNQ) 14 and operational information (ALUFQ) 15 for designating an operation on one or two operand data, each information being derived from the macroinstruction to be executed. In accordance with the present invention, further stored in IDQ 10 is sequence control information (SEQ) 12 representing whether or not the macroinstruction to be executed is performed by a typical string of microinstructions which will be described later. When all of the information are ready in IDQ 10, IDU changes a valid signal (VQ) 6 to an active high level to inform a microinstruction sequencer (MISEQ) 20 of this fact. Under the condition of the execution of microinstructions being enabled, MISEQ 20 returns an acknowledge signal (IDACK) 7 to inform IDU of receiving the information from IDQ 10. MISEQ 20 further loads STADQ 11 to a microaddress register (MA) 40 via a multiplexer (MPX) 44 to access MROM 50 with STADQ 11. The content of MA 40 is updated by one by an incrementer 48 and then returned to MA 40. Thus, respective addresses for a string of microinstructions consisting of three or more steps are designated to access MROM 50.
The microinstruction read out of MROM 50 is supplied via a bus 55 to one input of a selector (SEL) 60 having the other input supplied via a bus 35 with a microinstruction generated by a fixed-microinstruction generator (FIGEN) 30 which is provided in accordance with the present invention. FIGEN 30 is controlled by MISEQ 20 and generates the microinstruction that is a leading or first microinstruction of the typical string of microinstructions. SEL 60 selects one of the microinstructions from the buses 35 and 55 in response to a selection signal 26 from MISEQ 20. The selected microinstruction is latched in a microinstruction register (MI) 70 and then supplied to and executed by a microinstruction execution control unit (MICNT) 80. MICNT 80 generates a set of control signals 85 for reading and writing operand data and includes an arithmetic and logic unit (ALU) 83 for performing an arithmetic and/or logic operation on one or two operand data supplied thereto, input registers (TA and TB) 82 and 81 for temporarily storing source and destination operand data, respectively, and an output register (ALUO) 84 for temporarily storing resultant data from ALU 83. Control information such as an execution start signal and an execution-completion signal of microinstructions and so forth is transmitted via a control bus 88 between MISEQ 20 and MICNT 80. SOPRNQ 13, DOPRNQ 14 and ALUFQ 15 in IDU 10 are supplied to MICNT 80.
In the present embodiment, the typical string of microinstructions, the leading microinstruction of which is generated by FIGEN 30, is such that the source operand data designated by SOPRNQ 13 and the destination operand data designated by DOPRNQ 14 are transferred respectively via a first bus (MD-BUS) 90 and a second bus (SD-BUS) 95 and then subjected to the operation designated by ALUFQ 15 and the operation resultant data is thereafter returned to the operand designated by DOPRNQ 14. Such a microinstruction string is shown in FIG. 3.
In FIG. 3, "SRC" represents a source operand designated by SOPRNQ 13; "DST" represents a destination operand designated by DOPRNQ 14; "ALU" represents a command for setting ALU 83 with an operation designated by ALUFQ 105; "="represents a transmission command; and "ENDM" represents a control command for terminating the execution of the microinstruction string. Specifically, in the first step STEP1 by the leading microinstruction MI1, the source and destination operand data are transferred respectively to TA 82 and TB 81; ALU 83 performs the designated operation on these operand data; and the operation resultant data is stored in ALUO 84. Thereafter, in the second step STEP2 by the second microinstruction MI2, the data stored in ALUO 84 is transferred to the destination operand, so that the execution of this microinstruction string is completed. In the present embodiment, therefore FIGEN 30 generates the leading microinstruction MI1 and MROM 50 stores the second microinstruction MI2.
Referring to FIG. 2, FIGEN 30 includes a plurality pairs of a transfer gate TG and a resistor R, the number of which is the same as the number of bits required for the leading microinstruction MI1. One end of each of the transfer gates TG is connected via the corresponding resistor R to a positive power voltage Vcc as logic 1 or the ground voltage GND as logic 0, and the other end thereof is connected to SEL 60 as one bit of bus 35. The respective transfer gates TG are made open by an active high signal 25 from MISEQ 20, so that FIGEN 30 supplies a machine code of the heading microinstruction MI1 to SEL 60.
In operation, assume that the macroinstruction to be executed is an addition instruction of two operand data, which is therefore performed by the execution of the microinstruction string shown in FIG. 3. When this addition macroinstruction is decoded, IDU stores in IDQ 10 as STADQ 11 address information designating an address ADDO of MROM 50 into which the second microinstruction MI2 is written and as ALUFQ 15 addition operation information. Since this macroinstruction is performed by the typical microinstruction string shown in FIG. 3, "execution-enable" information is further stored in IDQ 10 as SEQ 12. Moreover, operand information representing whether the operand to be processed is a memory operand or a register operand and data length information denoting the data length of the operand to be processed are stored in IDQ 10 as SOPRNQ 13 and DOPRNQ 14. It should be noted that, as well known in the art, an effective address of the operand to be processed is previously obtained by an effective address generator (not shown) and the required operand data are stored in operand registers (also not shown) coupled to the buses 90 and 95, respectively.
When all of the required information are stored in IDQ 10, IDU changes VQ 6 to the active level in synchronism with a clock signal CLOCK, as shown in FIG. 4. In response thereto, MISEQ 20 returns IDACK 7 to IDU at a timing when MICNT 80 is ready to execute the microinstruction string. MISEQ 20 further loads the content of STADQ 11, i.e. the address ADDO, to MA 40 via MPX 44 to initiate the microinstruction reading-out operation from MROM 50. At this time, the execution-enable information of SEQ 12 is decoded by a decoder 21 of MISEQ 20, so that the signals 25 and 26 are changed to an active high level during one clock period. Accordingly, the leading microinstruction MI1 is generated from FIGEN 30 and stored in MI 70 via SEL 60, as shown in FIG. 4. MICNT 80 thus starts to decode the leading microinstruction MI1. During the high level period of the signal 25 (26), the access to the address ADDO of MROM 50 is completed and the second microinstruction MI2 is thus read out therefrom onto the bus 55. In response to the change of the signal 26 to the low level, therefore, the second microinstruction MI2 is latched in MI 70 via SEL 60, as shown in FIG. 4. Simultaneously, the execution of the leading microinstruction MI1 starts, so that the source and destination operand data are fetched in MICNT 80 via the buses 90 and 95 and are subjected to the addition operation by ALU 83, as shown by "R" in FIG. 4. Since the macroinstruction in the present description is performed by two-step microinstruction, MPX 44 prevents the output of the incrementer 44 from being loaded to MA 40 in response to the signal 27. Since the microinstruction execution terminating command ENDM is transferred to MISEQ 20 via the bus 88, MISEQ 20 is ready to receive the next macroinstruction. Therefore, MISEQ 20 responds to VQ 6 which is generated during the microinstruction MI2 being latched in MI 70, and returns IDACK 7 to IDU. Assuming that this macroinstruction is also performed by the microinstruction string shown in FIG. 3, the signals 25 and 26 are again changed to the high level in response to a next clock, so that the leading microinstruction MI1 is latched in MI 70 via SEL 60. The address ADDO is again loaded to MA 40. Simultaneously, the execution of the microinstruction MI2 starts, the addition resultant data is returned to the destination operand via MD-BUS 90, as shown by "W" in FIG. 4.
Thus, the leading microinstruction MI1 is latched in MI 70 before the microinstruction is read out of MROM 50 by MA 40 being loaded with the address of STADQ 11, and therefore the execution initiation of the microinstruction string is advanced to enhance the instruction execution speed.
In the case where the macroinstruction to be executed is not performed by the microinstruction string shown in FIG. 3, STADQ 11 has the address information for designating the leading microinstruction of a string of microinstructions corresponding to that macroinstruction, and SEQ 12 has "execution-disable" information. Accordingly, the signals 25 and 26 are held at the low level and the leading instruction is read out of MROM 50 and latched in MI 70 after one clock time elapses from a time point at which MA 40 is loaded with the address of STADQ 11.
As one of macroinstructions, there is a macroinstruction having an addressing mode accompanied with a register modification. For instance, a register modified data move macroinstruction is known in which the content of a particular register is used as an operand address and modified (i.e., incremented or decremented) by a predetermined value and the data accessed by the modified operand address is transferred to another register. In accordance with the present invention, the above register modification operation can be performed by a microinstruction generated by FIGEN. The microinstruction string for performing the register modification operation is described in FIG. 6, in which "MODREG" represent a register to be modified; "INCDEC" represents a command for setting ALU with an operation for incrementing or decrementing the content of the register to be modified by a predetermined value; "RESTART" represents a control command for starting the execution of a microprogram from an address designated by STADQ after the register modification operation is completed; and other marks are the same as those shown in FIG. 3. Specifically, by the leading microinstruction MI10 of the first step STEP1, the content of the register to be modified is transferred to TA 82 and then incremented or decremented by a modification value, and the operation resultant data is stored in ALUO 84. By the second microinstruction MI11 in the second step STEP2, the resultant data is returned to the register to be modified, and the required processing using the modified register is then initiated. Since the register modification operation shown in FIG. 6 is also performed by two-step microinstruction string, the leading microinstruction MI10 can be produced by FIGEN and executed simultaneously with the second microinstruction MI11 being read out of MROM.
A microprogram controller having such a construction is shown in FIG. 5 as a second embodiment of the present invention, in which the same constituents as those shown in FIG. 1 are denoted by the same reference numerals, and is omitted further description thereof. In this embodiment, register modification information (REGMOD) 16 is added to IDQ 10. REGMOD 16 includes information representing whether or not the register modification is required, a modification amount and a modification direction (increment or decrement). The first one of them is supplied to a second decoder 22 of MISEQ 20 and the remaining ones of them are supplied to MICNT 80. The decoder 21 produces logic 1 output in response to the execution-enable information of SEQ 12 and the decoder 22 produces logic 1 output in response to the information representing that the register modification is required. The outputs from the decoders 21 and 22 are supplied to an AND gate 23 whose output is in turn employed as the signals 25 and 26. FIGEN 30 generates a machine code representing the leading microinstruction MI10 shown in FIG. 6, in this embodiment. The second microinstruction MI11 is written in MROM 50 and address information ADD10 for accessing MI11 is previously stored in a register (SNDA) 24 of MISEQ 20. MPX 44 is of a three-input type and selects SNDA 24 in response to a signal 28 of an active high level and STADQ 11 in response to the high level signal 27. When both of the signals 27 and 28 are at the low level, MPX 44 selects the output of the incrementer 48. The signal 28 is also derived from the AND gate 23.
Assuming now that a macroinstruction having an addressing mode accompanied by the register modification is decoded, IDU changes VQ 6 to the high level when all of necessary information for this macroinstruction are read into in IDQ 10, as shown in FIG. 7. STADQ 11 has an address ADD20 of a microinstruction MI20 in MROM 50, which is executed by use of the modified register content. MISEQ 20 then returns IDQACK 7 to IDU to initiate the microprogram for the above macroinstruction. At this time, SEQ 12 has the execution-enable information and REGMOD 16 has the modification request information, and hence the signals 25, 26 and 28 are changed to the high level during one clock period. Consequently, the leading microinstruction MI10 from FIGEN 30 is latched in MI 70 via SEL 60 and the address ADD10 from SNDA 24 is loaded to MA 40 via MPX 44. By the change of the signals 25, 26 and 28 to the low level, the second microinstruction MI11 read out of MROM 50 is latched in MI 70 via SEL 60. Simultaneously, the signal 27 is changed to the high level, so that the address ADD20 of STADQ 11 is loaded to MA 40 via MPX 44. The microinstruction MI20 is thereby read out from MROM 50 and thereafter latched in MI 70 via SEL 60.
Thus, the microprogram of FIG. 6 for performing the register modification operation is executed at the same time sequence as the typical microprogram shown in FIG. 3, and the microprogram for the macroinstruction accompanied by the register modification is initiated by RESTART control command.
Turning to FIG. 8, a microprogram controller according to a third embodiment of the present invention has both functions described in the above first and second embodiments. More specifically, FIGEN 30 generates both of the microinstruction MI1 of FIG. 3 and the microinstruction MI10 of FIG. 6 and supplies SEL 60 with the microinstruction MI1 when a signal 25-1 is at a high level and with the microinstruction MI10 when a signal 25-2 is at a high level. The signal 25-1 is produced by an AND gate 29 receiving the output of the decoder 21 and the inverted output of the decoder 22, and the signal 25-1 is produced by the AND gate 23. An OR gate 26-1, which receives the signals 25-1 and 25-2, produces the selection signal 26 for SEL 60. Accordingly, the microprogram controller of this embodiment performs the same operation as the first embodiment when the macroinstruction to be executed is performed by the microinstruction string of FIG. 3 and as the second embodiment when the macroinstruction to be executed has an addressing mode accompanied by the register modification.
Other than the two macroinstructions mentioned above, there are various macroinstructions such as a compare macroinstruction in which a comparison resultant data is not returned back to the destination operand, a single operand macroinstruction in which a single operand data is added or subtracted with a constant "1" and that resultant data is returned back to the destination operand, a data transfer macroinstruction between two registers, between a register and a memory or between two addresses of a memory, and a no-operand macroinstruction such as a branch instruction. FIGEN 30 may be thus constructed to generate respective leading microinstructions of microinstruction strings corresponding respectively to those macroinstructions. However, a memory cell array structure is required in order to generate a plurality of microinstructions, so that the effect of FIGEN 30 is deteriorated.
Therefore, description will be made below on the constructions for executing the macroinstructions such as a compare macroinstruction, a single operand macroinstruction and so forth by utilizing the microinstruction string shown in FIG. 3. It should be noted that only features are described in the following in order to avoid the redundancy of explanation and drawing, and other constituents are referenced to FIG. 1.
FIG. 9 is for a compare macroinstruction, when this macroinstruction is decoded, "compare operation" information is stored in IDQ 10 as ALUFQ 15. This information is decoded by a decoder 200, so that a SD-BUS write inhibite signal 201 takes an active level. By the microinstruction MI1, a compare operation is performed on two operand data to be compared. In the execution of the next microinstruction MI2, since the SD-BUS write inhibite signal 201 is at the active level, the control signal 85 for returning the comparison resultant data back to the destination operand is not generated, so that the microprogram is terminated without the result data being written in the destination operand. On the other hand, the inactive level of the SD-BUS write inhibit signal 201 causes MICNT 80 to write the resultant data into the destination operand.
FIG. 10 is for a single operand macroinstruction in which the constant "1" is added to or subtracted from the operand data. In this macroinstruction, ALUFQ 15 has information of "addition/subtraction operation of 1". This information is decoded by a decoder 300 when the microprogram shown in FIG. 3 is initiated. The decoder 300 includes a selector and thus selects a constant "1" generator 300 in place of SOPRNQ 13. By the microinstruction MI1, therefore, the constant "1" is added to or subtracted from the destination operand data, and thereafter, the resultant data is returned to the destination operand by the microinstruction MI2.
FIG. 11 is for a data transfer macroinstruction. In this instruction, DOPRNQ 14 has "read-disable" information in addition to operand destination information. A decoder 400 decodes the read-disable information and changes a SD-BUS read inhibite signal 401 to an active level. In the execution of the microinstruction MI1, since the signal 401 is at the active level, the control signal 85 for reading out the destination operand data is not generated. ALU 83 thereby performs a designated operation on the source operand data from MD-BUS 90 and invalid data left in TB 81. However, in the data transfer macroinstruction, such an operation is designated that does not influence the destination data. For example, an operation for outputting the source data as it is or for deriving 2's complement of the source data is designated. Therefore, ALU 83 produces correct data. This data is then transferred to the destination operand of DOPRNQ 14, by the second microinstruction MI2.
FIG. 12 is for a no-operand macroinstruction such as a branch instruction. In such a macroinstruction, both of SOPRNQ 13 and DOPRNQ 14 has "invalid operand" information. First and second decoders 500 and 600 transfer SOPRNQ 13 and DOPRNQ 14 respectively to MICNT 80 as they are when the invalid operand information is not detected. On the other hand, when the invalid operand information is detected, the decoders 500 and 600 convert SOPRNQ 13 and DOPRNQ 14 respectively into information designating an internal resource that does not influence the execution of a microprogram. For example, MD-BUS 90 and SD-BUS 95 are designated. In this case, MD-BUS 90 and SD-BUS 95 are subjected to some operation as source and destination operands and the resultant data is applied to SD-BUS 95. Thus, substantial operand data is not designated.
It is apparent that the present invention is not limited to the above embodiments, but may be changed and modified without departing from the scope and spirit of the invention.

Claims (4)

What is claimed is:
1. A microprogram controller comprising a memory for storing microinstructions, a first register for temporarily storing address information for accessing said memory, a second register for temporarily storing a microinstruction to be executed, an execution unit for receiving and executing a microinstruction from said second register, a generator for generating a leading microinstruction of a predetermined microinstruction string consisting of at least two microinstructions, a selector coupled to said memory and said generator for selecting one of a microinstruction read out of said memory and said leading microinstruction generated from said generator and for supplying the selected microinstruction to said second register, and means for controlling said selector to select said leading microinstruction before a microinstruction is read out of said memory by said first register being loaded with predetermined address information and thereafter for controlling said selector to select the microinstruction read out of said memory, wherein said means for controlling said selector to select said leading microinstruction before a microinstruction is read out of said memory comprises:
a microinstruction sequencer including a first decoder providing first control signals, said microinstruction sequencer providing signals to said generator and said selector; and
a decoded instruction queue for storing address information, source operand information, destination operand information, operational information, and sequence control information, said address information being supplied to said first register, said source operand information, said destination operand information and said operational information being supplied to said execution unit, and said sequence control information being supplied to said decoder of said microinstruction sequencer, further including sequencing means responsive to said microinstruction sequence controller for incrementing said address information in said first register to sequentially read out a series of microinstructions stored in said memory, wherein said sequencing means comprises:
incrementing means for adding one to said address in said first register to produce an incremented address; and
multiplexer means responsive to a multiplex control signal from said microinstruction sequencer for selecting either said address information in said decoded instruction queue or said incremented address, wherein said decoded instruction queue further stores information representing whether or not register modification is required for a particular microinstruction, a modification amount and a modification direction, said information on modification amount and modification direction being supplied to said execution unit, said microinstruction sequencer further comprising:
a second decoder responsive to said information in said decoded instruction queue representing whether or not register modification is required providing second control signals;
a first AND gate for logically ANDing said first and said second control signals to produce said signals to said generator and said selector; and
a third register for temporarily storing a second microinstruction of a macroinstruction for register modification, said multiplexing means being responsive to said signals from said first AND gate and to said multiplex control signals for selecting one of said second microinstruction, said address information in said decoded instruction queue or said incremented address.
2. The microprogram controller recited in claim 1 wherein said microinstruction sequencer further comprises a second AND gate for logically ANDing said first control signal and an inverse of said second control signal to produce a signal which is supplied to said generator, and an OR gate for logically ORing signals from said first and second AND gates to produce signals to said selector.
3. A microprogram controller comprising a memory for storing microinstructions, a first register for temporarily storing address information for accessing said memory, a second register for temporarily storing a microinstruction to be executed, and execution unit for receiving and executing a microinstruction from said second register, a generator for generating a leading microinstruction of a predetermined microinstruction string consisting of at least two microinstructions, a selector coupled to said memory and said generator for selecting one of a microinstruction read out of said memory and said leading microinstruction generated from said generator and for supplying the selected microinstruction to said second register, and means for controlling said selector to select said leading microinstruction before a microinstruction is read out of said memory by said first register being loaded with predetermined address information and thereafter for controlling said selector to select the microinstruction read out of said memory,
a memory for storing a plurality of microinstructions,
a generator for generating a leading microinstruction of a predetermined microinstruction string consisting of at least two microinstructions, said memory storing a second microinstruction of said predetermined microinstruction string,
a first register for temporarily storing address information,
means for reading out a microinstruction from an address of said memory designated by the address information stored in said first register,
a selector coupled to said memory and said generator for selecting one of a microinstruction read out of said memory and said leading microinstruction from said generator,
a second register for temporarily storing the selected microinstruction from said selector,
an execution unit for receiving and executing the microinstruction from said second register,
means for detecting that a macroinstruction to be executed is performed by said microinstruction string and for producing a detection signal, and
means for controlling said selector to select said leading microinstruction from said generator before said microinstruction is read out of said memory and thereafter to select said second microinstruction read out of said memory,
wherein said means for detecting that a macroinstruction to be executed is performed by said predetermined microinstruction string comprises
a microinstruction sequencer including a first decoder providing first control signals, said microinstruction sequencer providing signals to said generator and selector, and
a decoded instruction queue for storing address information, source operand information, destination information and sequence control information, said address information being supplied to said first register, said source operand information, said destination being supplied to said execution unit, and said sequence control information being supplied to said decoder of said microinstruction sequencer, wherein said execution unit comprises:
first and second input registers respectively temporarily storing source and destination operand data;
a first data bus connected to said first input register for supplying said source operand data designated by said source operand data in said decoded instruction queue;
a second data bus connected to said second input register for supplying and receiving said destination operand data designated by said destination operand data in said decoded instruction queue;
an arithmetic and logic unit connected to receive the data stored in said first and second input registers for performing an operation designated by said operational information in said decoded instruction queue;
an output register temporarily storing resultant data from said arithmetic and logic unit and returning said resultant data to said second data bus; and
a control bus connected between said means for detecting and said execution unit for delivering an execution start signal to said execution unit and returning an execution completion signals to said means for detecting,
said microprocessor further including sequencing means responsive to said microinstruction sequence controller for incrementing said address information in said first register to sequentially read out a series of microinstructions stored in said memory, said sequencing means comprising:
incrementing means for adding one to said address in said first register to produce an incremented address; and
multiplexer means responsive to a multiplex control signal from said microinstruction sequencer for selecting either said address information in said decoded instruction queue or said incremented address
wherein said decoded instruction queue further stores information representing whether or not register modification is required for a particular microinstruction, a modification amount and a modification direction, said information on modification amount and modification direction being supplied to said execution unit, said microinstruction sequencer further comprising;
a second decoder response to said information in said decoded instruction queue representing whether or not register modification is required providing second control signals;
a first AND gate for logically ANDing said first and said second control signals to produce said signals to said generator and said selector; and
a third register for temporarily storing a second microinstruction of a macroinstruction for register modification, said multiplexing means being responsive to said signals from said first AND gate and to said multiplex control signal for selecting one of said second microinstruction, said address information in said decoded instruction queue or said incremented address.
4. The microprocessor recited in claim 3 wherein said microinstruction sequencer further comprises a second AND gate for logically ANDing said first control signal and an inverse of said second control signal to produce a signal which is supplied to said generator, and an OR gate for logically ORing signals from said first and second AND gates to produce signals to said selector.
US07/491,952 1989-03-10 1990-03-12 Microprogram controller including leading microinstruction from a generator executed while succeeding microinstruction from memory is read out Expired - Fee Related US5247624A (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP5872789 1989-03-10
JP1-58727 1989-03-10
JP7120889A JPH0833820B2 (en) 1989-03-22 1989-03-22 Micro program controller
JP1-71208 1989-03-22

Publications (1)

Publication Number Publication Date
US5247624A true US5247624A (en) 1993-09-21

Family

ID=26399751

Family Applications (1)

Application Number Title Priority Date Filing Date
US07/491,952 Expired - Fee Related US5247624A (en) 1989-03-10 1990-03-12 Microprogram controller including leading microinstruction from a generator executed while succeeding microinstruction from memory is read out

Country Status (3)

Country Link
US (1) US5247624A (en)
EP (1) EP0388735A3 (en)
KR (1) KR920007253B1 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5394558A (en) * 1992-02-20 1995-02-28 Hitachi, Ltd. Data processor having an execution unit controlled by an instruction decoder and a microprogram ROM
US5574873A (en) * 1993-05-07 1996-11-12 Apple Computer, Inc. Decoding guest instruction to directly access emulation routines that emulate the guest instructions
US5600842A (en) * 1993-10-05 1997-02-04 Nec Corporation Microprogram controller for controlling readout of a microprogram stored in multiple storage areas
US5623617A (en) * 1993-05-07 1997-04-22 Apple Computer, Inc. Method for decoding sequences of guest instructions for a host computer
US5657486A (en) * 1995-12-07 1997-08-12 Teradyne, Inc. Automatic test equipment with pipelined sequencer
US5812813A (en) * 1996-07-29 1998-09-22 Integrated Device Technology, Inc. Apparatus and method for of register changes during execution of a micro instruction tracking sequence
US5864690A (en) * 1997-07-30 1999-01-26 Integrated Device Technology, Inc. Apparatus and method for register specific fill-in of register generic micro instructions within an instruction queue
US6041403A (en) * 1996-09-27 2000-03-21 Intel Corporation Method and apparatus for generating a microinstruction responsive to the specification of an operand, in addition to a microinstruction based on the opcode, of a macroinstruction
US20110040953A1 (en) * 2009-08-14 2011-02-17 Via Technologies, Inc. Microprocessor with microtranslator and tail microcode instruction for fast execution of complex macroinstructions having both memory and register forms

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05265746A (en) * 1992-02-18 1993-10-15 Nec Corp Microprocessor
FR2737027B1 (en) * 1995-07-21 1997-09-19 Dufal Frederic ELECTRONIC DEVICE FOR LOCATING AND CONTROLLING LOOPS IN A PROCESSOR PROGRAM, IN PARTICULAR AN IMAGE PROCESSING PROCESSOR, AND CORRESPONDING METHOD

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0087785A2 (en) * 1982-02-26 1983-09-07 Hitachi, Ltd. Microprogram controlled data processing apparatus
EP0136183A2 (en) * 1983-09-29 1985-04-03 Tandem Computers Incorporated Control store arrangement for enhanced CPU pipeline performance
US4674063A (en) * 1982-10-18 1987-06-16 Nec Corporation Information processing apparatus having a sequence control function
US4812972A (en) * 1984-06-20 1989-03-14 Convex Computer Corporation Microcode computer having dispatch and main control stores for storing the first and the remaining microinstructions of machine instructions
US4873629A (en) * 1984-06-20 1989-10-10 Convex Computer Corporation Instruction processing unit for computer
US5113503A (en) * 1985-07-24 1992-05-12 Hitachi, Ltd. Data processor providing plural decoders for effecting fast register selection

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5748139A (en) * 1980-09-04 1982-03-19 Nec Corp Microprogram control device
DE3882298T2 (en) * 1987-02-24 1994-02-24 Digital Equipment Corp CIRCUIT FOR CONTROL SIGNAL GENERATION FOR AN ARITHMETIC LOGICAL UNIT IN A DIGITAL PROCESSING DEVICE.

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0087785A2 (en) * 1982-02-26 1983-09-07 Hitachi, Ltd. Microprogram controlled data processing apparatus
US4674063A (en) * 1982-10-18 1987-06-16 Nec Corporation Information processing apparatus having a sequence control function
EP0136183A2 (en) * 1983-09-29 1985-04-03 Tandem Computers Incorporated Control store arrangement for enhanced CPU pipeline performance
US4812972A (en) * 1984-06-20 1989-03-14 Convex Computer Corporation Microcode computer having dispatch and main control stores for storing the first and the remaining microinstructions of machine instructions
US4873629A (en) * 1984-06-20 1989-10-10 Convex Computer Corporation Instruction processing unit for computer
US5113503A (en) * 1985-07-24 1992-05-12 Hitachi, Ltd. Data processor providing plural decoders for effecting fast register selection

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5394558A (en) * 1992-02-20 1995-02-28 Hitachi, Ltd. Data processor having an execution unit controlled by an instruction decoder and a microprogram ROM
US5574873A (en) * 1993-05-07 1996-11-12 Apple Computer, Inc. Decoding guest instruction to directly access emulation routines that emulate the guest instructions
US5623617A (en) * 1993-05-07 1997-04-22 Apple Computer, Inc. Method for decoding sequences of guest instructions for a host computer
US5600842A (en) * 1993-10-05 1997-02-04 Nec Corporation Microprogram controller for controlling readout of a microprogram stored in multiple storage areas
US5657486A (en) * 1995-12-07 1997-08-12 Teradyne, Inc. Automatic test equipment with pipelined sequencer
US5812813A (en) * 1996-07-29 1998-09-22 Integrated Device Technology, Inc. Apparatus and method for of register changes during execution of a micro instruction tracking sequence
US6041403A (en) * 1996-09-27 2000-03-21 Intel Corporation Method and apparatus for generating a microinstruction responsive to the specification of an operand, in addition to a microinstruction based on the opcode, of a macroinstruction
US5864690A (en) * 1997-07-30 1999-01-26 Integrated Device Technology, Inc. Apparatus and method for register specific fill-in of register generic micro instructions within an instruction queue
US20110040953A1 (en) * 2009-08-14 2011-02-17 Via Technologies, Inc. Microprocessor with microtranslator and tail microcode instruction for fast execution of complex macroinstructions having both memory and register forms
US8560810B2 (en) * 2009-08-14 2013-10-15 Via Technologies, Inc. Microprocessor with microtranslator and tail microcode instruction for fast execution of complex macroinstructions having both memory and register forms

Also Published As

Publication number Publication date
EP0388735A3 (en) 1993-01-13
EP0388735A2 (en) 1990-09-26
KR920007253B1 (en) 1992-08-28
KR900014986A (en) 1990-10-25

Similar Documents

Publication Publication Date Title
US4430706A (en) Branch prediction apparatus and method for a data processing system
US4179731A (en) Microprogrammed control system
US4954943A (en) Data processing system
US3958221A (en) Method and apparatus for locating effective operand of an instruction
EP0652514A2 (en) Data processing apparatus handling plural divided interruption
US5247624A (en) Microprogram controller including leading microinstruction from a generator executed while succeeding microinstruction from memory is read out
US5361371A (en) Microprocessor with reset execution from an arbitrary address
JPH071479B2 (en) Central processing unit control store and method for providing micro-instructions for execution to an execution unit
JPH0346850B2 (en)
US4587611A (en) Multiple module control store for use in a data processing system
US4236205A (en) Access-time reduction control circuit and process for digital storage devices
US4674063A (en) Information processing apparatus having a sequence control function
US4661925A (en) Computer control memory apparatus providing variable microinstruction length
US4635188A (en) Means for fast instruction decoding for a computer
EP0240606B1 (en) Pipe-line processing system and microprocessor using the system
US4812970A (en) Microprogram control system
US5124910A (en) Microprogram control apparatus for generating a branch condition signal to be designated by a micro-branch instruction
JPH0447335B2 (en)
EP0325226B1 (en) Information processing apparatus and method
US5123096A (en) Data processor with addressing mode decoding function
KR920002573B1 (en) Data processor
KR920008142B1 (en) Microprogram processor
JP2583506B2 (en) Data processing device
US5187782A (en) Data processing system
JPS6378235A (en) Microcomputer

Legal Events

Date Code Title Description
AS Assignment

Owner name: NEC CORPORATION, JAPAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST.;ASSIGNORS:KOUMOTO, YASUHIKO;MAEMURA, KOUJI;REEL/FRAME:005255/0904

Effective date: 19900309

REMI Maintenance fee reminder mailed
LAPS Lapse for failure to pay maintenance fees
FP Lapsed due to failure to pay maintenance fee

Effective date: 19970924

STCH Information on status: patent discontinuation

Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362