KR950004227B1 - Information processing system - Google Patents

Information processing system Download PDF

Info

Publication number
KR950004227B1
KR950004227B1 KR1019910019939A KR910019939A KR950004227B1 KR 950004227 B1 KR950004227 B1 KR 950004227B1 KR 1019910019939 A KR1019910019939 A KR 1019910019939A KR 910019939 A KR910019939 A KR 910019939A KR 950004227 B1 KR950004227 B1 KR 950004227B1
Authority
KR
South Korea
Prior art keywords
microprocessor
fixed disk
storage device
external storage
microprogram
Prior art date
Application number
KR1019910019939A
Other languages
Korean (ko)
Other versions
KR920010439A (en
Inventor
노부까즈 곤도
다까시 마루야마
히로아끼 아오쯔
겐 와따나베
겐이찌 이사무
Original Assignee
가부시끼가이샤 히다찌세이사꾸쇼
가나이 쯔또무
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
Application filed by 가부시끼가이샤 히다찌세이사꾸쇼, 가나이 쯔또무 filed Critical 가부시끼가이샤 히다찌세이사꾸쇼
Publication of KR920010439A publication Critical patent/KR920010439A/en
Application granted granted Critical
Publication of KR950004227B1 publication Critical patent/KR950004227B1/en

Links

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multi Processors (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

내용 없음.No content.

Description

정보처리시스템Information processing system

제1도는 본 발명의 1실시예에 관한 정보처리시스템의 구성을 도시한 블럭도.1 is a block diagram showing the configuration of an information processing system according to an embodiment of the present invention.

제2도는 디스크제어부의 구성을 도시한 블럭도.2 is a block diagram showing the structure of a disk control unit.

제3도는 마이크로프로그램의 단락마다 받아들이는 인터럽트의 원리를 도시한 설명도.3 is an explanatory diagram showing the principle of interrupts to be accepted for each paragraph of a microprogram.

제4도(a)는 레지스터의 세이브, 복귀기구를 도시한 블럭도.Fig. 4A is a block diagram showing a save and return mechanism of a register.

제4도(b)는 레지스터의 세이브, 복귀기구의 동작타이밍을 도시한 타이밍도.Fig. 4B is a timing diagram showing operation timing of the register save and return mechanism.

제5도는 종래의 정보처리시스템의 구성을 도시한 블록도.5 is a block diagram showing the configuration of a conventional information processing system.

제6도는 종래의 디스크제어부의 구성을 도시한 블록도.6 is a block diagram showing the structure of a conventional disk control unit.

* 도면의 주요 부분에 대한 부호의 설명* Explanation of symbols for the main parts of the drawings

1 : MPU 2 : 템퍼러리 레지스터군1: MPU 2: Temporary register group

3 : 상대 플래그류 8 : 마이크로프로그램메모리3: relative flags 8: microprogram memory

10 : 디스크제어부 16 : 템퍼러리레지스터군(2)용의 세이브레지스터군10: disk control unit 16: save register group for temporal register group (2)

17 : 플래그류(3)용의 세이브레지스터군17: Save register group for flags (3)

100 : 시스템버스 인터페이스제어부100: system bus interface control unit

103 : 고정디스크컨트롤러 104 : 기계제어부103: fixed disk controller 104: machine control unit

본 발명은 개인용컴퓨터, 워크 스테이션, 사무실용 컴퓨터등의 정보처리장치와 외부기억장치를 갖는 정보처리시스템에 관한 것이다.The present invention relates to an information processing system having an information storage device such as a personal computer, a workstation, an office computer, and an external storage device.

종래의 정보처리시스템에서의 외부기억장치의 제어방식은, 예를들면 일본국 특허공개공보 소화 57-86910호에 기재되어 있는 바와 같은 기술이 일반적이다.As a control method of an external storage device in a conventional information processing system, for example, a technique as described in Japanese Patent Laid-Open No. 57-86910 is common.

여기서, 이와같은 일반적인 종래의 정보처리시스템의 구성을 제5도에 도시한다.Here, the structure of such a conventional conventional information processing system is shown in FIG.

제5도에서 (1)은 MPU, (2)는 템퍼러리 레지스터군, (3)은 MPU(1)내부의 상태를 래그류, (4)는 마이크로프로그램 카운터, (5) 는 인크리멘터, (6) 은 마이크로프로그램어 드레스, (7) 은 MPU(1) 내부버스, (8) 은 마이크로프로그램메모리, (9)는 주기억장치(메인메모리), (10)은 디스크제어부, (11)은 디스크드라이브, (l2)는 디스크제어용의 프로그램메모리, (13)은 메모리버스, (14)는 시스템버스(3)은 디스크제어부를 제어하기 위한 마이크로프로세서이다.In FIG. 5, (1) is an MPU, (2) is a temporal register group, (3) is a lag inside the MPU (1), (4) is a microprogram counter, (5) is an incrementer, (6) microprogram dress, (7) MPU (1) internal bus, (8) microprogram memory, (9) main memory (main memory), (10) disk controller, (11) A disk drive, l2 is a program memory for disk control, 13 is a memory bus, 14 is a system bus 3, and a microprocessor for controlling the disk control unit.

제6도는 상기 디스크제어부(10)을 상세하게 도시한 것이다.6 shows the disk control unit 10 in detail.

도면에서(100)은 시스템버스 인터페이스제어부, (101)은 디스크캐시메모리, (102) 는 디스크드라이브에 대한 리드 및 라이트를 제어하는 리드/라이트 제어부, (103)은 고정디스크컨트롤러, (104)는 기계제어부, (105)는 시스템버스 인터페이스제어부(l00)에서 마이크로프로세서(30)에 대한 인터럽트신호, (106)은 고정디스크컨트롤러(103)에서 마이크로프로세서(30)에 대해서 발생되는 인터럽트신호, (107)은 기계제어부(104)에서 마이크로프로세서(30)에 대해서 발생되는 인터럽트신호, (108)은 리드/라이트제어부(102)와 고정디스크컨트롤러(103) 사이의 제어 신호, (109)는 고정 디스크제어부(10) 내부의 제어신호와 제어용버스를 나타낸다. (110). (111)은 데이터버스, (112)는 제어용프로그램메모리, (113)은 리드/라이트제어부(102)와 디스크드라이브(11)사이의 제어신호, (114)는 기계제어부(104)와 디스크드라이브(11)사이의 제어신호를 나타낸다.In the drawing, reference numeral 100 denotes a system bus interface controller, 101 a disk cache memory, 102 a read / write control unit for controlling read and write of a disk drive, 103 a fixed disk controller, Machine control unit 105 is an interrupt signal for the microprocessor 30 in the system bus interface control unit l00, 106 is an interrupt signal generated for the microprocessor 30 in the fixed disk controller 103, (107) ) Is an interrupt signal generated by the machine control unit 104 to the microprocessor 30, 108 is a control signal between the read / write control unit 102 and the fixed disk controller 103, and 109 is a fixed disk controller (10) The internal control signal and control bus are shown. (110). Reference numeral 111 denotes a data bus, 112 denotes a control program memory, 113 denotes a control signal between the read / write control unit 102 and the disk drive 11, 114 denotes a machine control unit 104 and a disk drive ( 11) Control signal between.

이상과 같이 .종래의 정보처리시스템은 중앙처리장치와 고정디스크장치 각각에 마이크로프로세서를 갖는구성으로 되어 있다. 또, 중앙처리장치측의 MPU(1)이 갖는 인터럽트처리는 기계어 명령의 단락마다 인터럽트를 받아서 처리하는 것이다.As described above, the conventional information processing system has a configuration in which each of the central processing unit and the fixed disk unit has a microprocessor. In addition, the interrupt processing of the MPU 1 on the central processing unit side receives and processes interrupts for each paragraph of the machine language instruction.

여기서, 논리어드레스/물리어드레스 변환이나 명령의 해석등의 처리를 실행하는 경우의 디스크제어부(10)의 동작에 대해서 설명한다.Here, the operation of the disk control unit 10 in the case of executing processing such as logical address / modal address conversion or command interpretation will be described.

이 경우 처리의 요구원으로 되는 시스템버스 인터페이스제어부 또는 고정디스크컨트롤러 또는 기계제어부등에서 인터럽트 신호가 마이크로프로세서(30)으로 출력된다.In this case, an interrupt signal is output to the microprocessor 30 from the system bus interface controller, the fixed disk controller, or the machine controller, which is a source of processing.

인더럽트를 받은 마이크로프로세서(30)은 각각의 처리내용에 따라 디스크제어용의 프로그램메모리(12)의 내용에 따른 제어를 실행하여 처리를 실행한다.The interrupted microprocessor 30 executes the control in accordance with the contents of the program memory 12 for disk control in accordance with the respective processing contents and executes the processing.

상기 종래기술에시 나타낸 고정디스크장치의 제어기술에서는 고정디스크장치제어용으로 반듯이 마이크로프로세서의 기능을 갖는 LSI부품이 필요하게 되어 내장부품수의 삭각에 의한 소형화를 방해한다는 문제가 있었다.In the control technology of the fixed disk device shown in the prior art, there is a problem in that an LSI part having a function of a microprocessor is required for the fixed disk device control, which hinders miniaturization due to the reduction of the number of internal parts.

본 발명의 목적은 종래의 시스템성능을 유지하면서 외부기억 장치를 제어하기 위한 내장부품수를 삭감하여 정보처리시스템의 소형화를 도모하는 기술을 제공하는 것이다.It is an object of the present invention to provide a technique for miniaturizing an information processing system by reducing the number of built-in parts for controlling an external storage device while maintaining conventional system performance.

상기 목적을 달성하기 위해서 본 발명은 마이크로프로그래밍 방식으로 제어되고, 마이크로명령의 단락마다 인터럽트요구를 받아들일 수 있는 마이크로프로세서로서, 세이브레지스터와 상기 인더럽트 요구시에 마이크로프로세서 내부의 마이크로명령 실행에 사용하는 렘퍼러리레지스터나 플래그류를 저장하는 레지스터등 모든 레지스터의 내용을 세이브레지스터로 세이브시키는 세이브회로를 갖는 것을 특징으로 하는 마이크로프로세서를 제공하는 것이다.In order to achieve the above object, the present invention provides a microprocessor that is controlled by a microprogramming scheme and that can accept interrupt requests for each paragraph of a microinstruction. The present invention provides a microprocessor having a save circuit for saving the contents of all registers to a save register, such as a used register register or a flag storing flag.

본 발명에 관한 마이크로프로세서에 의하면, 인터럽트요구를 마이크로명령이 실행종료할 때마다 받아들여서 마이크로프로세서 내부의 마이크로명령실행에 사용하는 모든 레지스터의 내용을 세이브레지스터에 세이브한다. 따라서 그후의 인터럽트처리에서는 연산부를 비롯해서 마이크로프로세서내의 모든 자원을 이용할수가 있다.According to the microprocessor according to the present invention, the interrupt request is received each time the microinstruction finishes executing, and the contents of all the registers used for executing the microinstruction inside the microprocessor are saved in the save register. Therefore, subsequent interrupt processing can use all resources in the microprocessor, including the operation unit.

그래서, 발명에 관한 마이크로프로세서를 이용하는 것에 의해 마이크로명령이 실행종료할 때마다 고정디스크장치등의 외부기억 장치에서의 인터럽트요구를 받아들여 응답성이 좋은 인터럽트처리로 외부기억장치를 제어할 수 있게 되고, 종래의 시스템성능을 유지하면서 종래 외부 기억장치에 마련되어 있던 마이크로프로세서의 기 ; 능을 가진 LSI부품을 삭감할 수 있어 장치의 소형화를 도모할 수가 있다.Therefore, by using the microprocessor according to the present invention, whenever the micro-instruction is finished, the interrupt request from the external storage device such as a fixed disk device can be accepted, and the external storage device can be controlled by the responsive interrupt processing. A microprocessor provided in a conventional external memory device while maintaining the conventional system performance; It is possible to reduce the number of LSI parts with the ability to reduce the size of the device.

이하 본 발명에 관한 정보처리시스템의 1실시예에 대해서 설명한다.An embodiment of an information processing system according to the present invention will be described below.

제1도에 본 실시예에 관한 정보처리시스템의 구성을 도시한다. 도면에서(1)은 MPU이다. 본 실시예에서 MPU(1)로서 마이크로명령의 단락마다, 즉 마이크로레벨로 인터럽트를 받는 마이크로프로세서를 사용한다. 이와같은 마이크로레벨로 인터럽트를 받는 마이크로프로세서로서는 일본국특허공개공보소화 61-115133호에 기재되어 있는 것등이 알려져 있다.1 shows the configuration of an information processing system according to the present embodiment. In the drawing, 1 is an MPU. In the present embodiment, as the MPU 1, a microprocessor interrupted at every microinstruction, that is, at the micro level, is used. As the microprocessor interrupted at such a micro level, those disclosed in Japanese Patent Laid-Open No. 61-115133 are known.

또, MPU(1)중, (2)는 기계어명령을 실현하기 위한 마이크로명령의 실행에 일시적으로 사용하는 MPU(1)내부의 템퍼리리 레지스터군, (3)은 마이크로명령의 실행에 일시적으로 사용하는 MPU(1)내부의 상태플래그류, (4)는 실행하는 마이크로프로그램의 어드레스를 지정하는 마이크로프로그램카운터, (5)는 마이크로프로그램카운터를 갱신하기 위한 인크리멘터, (6)은 마이크로프로그램 어드레스, (7)은 MPU(1)의 내부버스, (8)은 마이크로프로그램을 저장하기 위한 마이크로프로그램메모리, (12)는 디스크제어용의 프로그램메모리, (18)은 마이크로프로그램레벨의 인터럽트를 받은 경우의 마이크로프로그램의 도약행선지 어드레스인 마이크로스틸어드레스, (19)는 셀렉터이다. 또한, 제1도에는 본 실시예에서는 특징적인 부위만을 도시하고, 종래와 마찬가지의 구성, 기능을 다하는 연산부등의 부위를 생략하였다.In the MPU 1, (2) is a temporary register group in the MPU (1) temporarily used for execution of micro instructions for realizing machine language instructions, and (3) is temporarily used for execution of micro instructions. The status flags inside the MPU (1), (4) the microprogram counter specifying the address of the microprogram to execute, (5) the incrementer for updating the microprogram counter, (6) the microprogram address (7) is an internal bus of the MPU 1, (8) is a microprogram memory for storing microprograms, (12) is a program memory for disk control, and (18) is a microprogram level interrupt. The microstill address 19, which is the jump destination address of the microprogram, is a selector. In addition, in FIG. 1, only a characteristic part is shown in this Example, and the site | parts, such as the calculation part which performs the structure and function similar to the conventional one, are abbreviate | omitted.

또, 본 실시예에서는 특히 MPU(1)중에 템퍼러리레지스터군(2)용의 세이브레지스터군(16) 및 플래그류(3)용의 세이브레지스터군(l7)을 마련한다.In the present embodiment, particularly, the save register group 16 for the temporal register group 2 and the save register group l7 for the flags 3 are provided in the MPU 1.

또, (9)는 주기억장치(메인 메모리), (10)은 외부기억징치인 고정디스크를 제어하는 디스크제어부, (11)은 디스크드라이브, (13)은 메인 메모리액세스를 위한 메모리버스, (14)는 시스템버스, (15)는 마이크로프로그램레벨의 인터럽트를 요구하는 마이크로스틸요구신호이다.9 denotes a main memory device (main memory), 10 denotes a disk controller for controlling a fixed disk which is an external memory device, 11 denotes a disk drive, 13 denotes a memory bus for main memory access, 14 Is a system bus and 15 is a microsteel request signal for requesting an interrupt at the microprogram level.

다음에 제2도에 상기 디스크 제어부(10)의 구성을 도시한다.Next, the configuration of the disc control section 10 is shown in FIG.

도면중(100)은 시스템버스인터페이스제어부, (101)은 디스크캐시메모리, (102)는 디스크드라이브에 대한 리드 및 라이트를 제어하는 리드/라이트제어부, (103)은 고정디스크컨트롤러, (104)는 기계제어부, (105)는시스템버스 인터페이스제어부(100)에서 발생되는 인터럽트신호, (106)은 고정디스크컨트롤러(103)에서 발생되는 인터럽트신호, (107)은 기계제어부(104)에서 발생되는 인터럽트신호, (115)는 3개의 인터럽트신호의 논리합을 마이크로스틸요구신호(15)로서 출력하는 논리 게이트, (108)은 리드/라이트 제어부(102)와 고정디스크컨트롤러(103)사이의 제어 신호, (109)는 고정디스크제어부(10)내부의 제어신호와 제어용버스를 나타내고 있다. (110),(111)은 데이터버스, (113)은 리드/라이트제어부(102)와 디스크드라이브(11)사이의 제어신호, (114)는 기계제어부(104)와 디스크드라이브(11)사이의 제어신호를 나타내고 있다.In the drawing, reference numeral 100 denotes a system bus interface controller, 101 a disk cache memory, 102 a read / write controller for controlling reads and writes to a disk drive, 103 a fixed disk controller, and Machine control unit 105 is the interrupt signal generated by the system bus interface control unit 100, 106 is the interrupt signal generated by the fixed disk controller 103, 107 is the interrupt signal generated by the machine control unit 104 115 denotes a logic gate for outputting the logical sum of three interrupt signals as the microsteel request signal 15, 108 denotes a control signal between the read / write control unit 102 and the fixed disk controller 103, Denotes a control signal and a control bus inside the fixed disk control unit 10. Reference numerals 110 and 111 denote data buses, 113 denote control signals between the read / write control unit 102 and the disc drive 11, and 114 denote between the machine control unit 104 and the disc drive 11, respectively. The control signal is shown.

본 실시예에서는 내장부품수를 삭감하여 장치 자체의 소형화를 도모하기 위해 종래 고정디스크장치에서의 마이크로프로세서가 담당하고 있던 제어를 중앙처리장치의 마이크로프로세서에서 실행한다.In the present embodiment, the microprocessor of the central processing unit executes the control which the microprocessor in the conventional fixed disk apparatus is in charge of in order to reduce the number of internal parts and to miniaturize the apparatus itself.

이하 그 동작을 설명한다.The operation will be described below.

먼저 고정디스크장치에서 논리어드레스/물리어드레스변환, 명령의 해석등의 처리를 실행하는 경우, 처리의 요구원인 시스템 버스인터페이스제어부 또는 고정디스크컨트롤러 또는 기계제어부 등에서의 인터럽트처리의 의뢰가 마이크로스틸요구신호(15)로서 MPU(1)에 전달된다.In the case where the fixed disk device executes processing such as logical address / modal address conversion and command interpretation, first, the request for interrupt processing from the system bus interface controller, the fixed disk controller, or the machine controller, which is the request source for processing, requests the micro-steel request signal ( 15) to the MPU 1.

또한, 본 실시예에서는 이 마이크로스틸요구신호(15)를 시스템버스 인터페이스 제어부(100)에서 마이크로프로세서(30)에 대한 인터럽트신호(105), 고정디스크컨트롤러(103)에서 마이크로프로세서(30)에 대한 인터럽트신호(106), 기계제어부(104)에서 마이크로프로세서(30)에 대한 인터럽트신호(107)의 논리합으로서 출력하고 있지만, 3개의 인터럽트신호를 각각 개별적인 마이크로스틸요구신호로서 취급하도록 해도 좋다.In addition, in the present embodiment, the microsteel request signal 15 is applied to the interrupt signal 105 for the microprocessor 30 by the system bus interface controller 100 and the microprocessor 30 for the fixed disk controller 103. Although the interrupt signal 106 and the machine control unit 104 output the logical sum of the interrupt signals 107 to the microprocessor 30, the three interrupt signals may be treated as individual micro steel request signals.

그런데, 마이크로 레벨의 인터럽트를 받은 MPU(1)은 각각의 처리내용에 따라 마이크로프로그램모리(8)중에 저장되어 있는 디스크제어용의 프로그램(12)의 내용에 따라서 제어를 실행한다.By the way, the MPU 1 having received the micro level interrupt executes control in accordance with the contents of the disk control program 12 stored in the microprogram memory 8 in accordance with the respective processing contents.

여기서, 마이크로 명령의 단락마다 받아들이는 인터럽트처리(마이크로스틸처리)와 통상의 인터럽트처리의 상이점을 제3도에 도시한다.Here, FIG. 3 shows the difference between the interrupt processing (microsteel processing) and the normal interrupt processing accepted for each paragraph of the micro instruction.

도시한 바와같이 통상의 인터럽트처리는 기계어단위의 단락마다 받아들여서 실행되는 것에 대하여 마아크로스틸 처리는 마이크로 명령의 단락마다 받아들어서 실행된다.As shown in the drawing, the normal interrupt processing is executed for each paragraph of the machine unit, and the macrosteel process is received for each paragraph of the micro-instruction.

이와같이 마이크로스틸처리로 디스크제어를 실행하므로, 예를들면 인터럽트시에 실행하고 있는 기계어가 멀티로드명령이나 멀티스토어명령이나 분기명령등의 실행에 장기간을 요하는 것이라도 그 마이크로명령의 단락에서 인더럽트를 받아서 처리할 수 있으므로 고정디스크장치내에 마련되어 있던 마이크로프로세서기능을 갖는 LSI를 없애도 고정디스크장치의 제어에 관하여 시스템성능을 저하시키는 일이 없다.In this way, the disk control is executed by microsteel processing. For example, even if the machine language executed at the time of interruption requires a long time to execute a multiload instruction, a multistore instruction, a branch instruction, etc. Since the LSI having the microprocessor function provided in the fixed disk device can be removed, the system performance is not deteriorated with respect to the control of the fixed disk device.

여기서, MPU(1)은 디스크제어부(10)내부의 시스템버스인터페이스제어부(100), 디스크캐시메모리(101), 디스크드라이브에 대한 리드/라이트제어부(102), 고정디스크컨트롤러(103), 기계제어부(104)를 I/O(입출력장치)로서 각각 시스템버스(14), 또는 시스템버스(14) 및 시스템버스인터페이스제어부(100)을 거쳐서 액세스할 수 있는 구조로 하고 있다(제 2도참조).Herein, the MPU 1 includes a system bus interface controller 100, a disk cache memory 101, a read / write controller 102 for a disk drive, a fixed disk controller 103, and a machine controller within the disk controller 10. The 104 is configured as an I / O (input and output device) which can be accessed via the system bus 14 or the system bus 14 and the system bus interface control unit 100, respectively (see FIG. 2).

따라서 이상의 처리에 의해 고정디스크장치에서의 마이크로프로세서를 중앙처리장치의 마이크로프로세서로 대용할 수 있고, 게다가 상술한 바와같이 응답성이 좋은 마이크로스틸처리로 실행할 수 있으므로, 종래의 기능을 상실하는 일은 없다.Therefore, the microprocessor in the fixed disk device can be replaced by the microprocessor in the central processing unit by the above processing, and the microprocessor can be executed in a highly responsive microsteel process as described above. Therefore, conventional functions are not lost. .

다음에 MPU(1)내부의 상기 마이크로레밸의 인터럽트처리에 대해서 상세하게 설명한다.Next, the interrupt processing of the micro level in the MPU 1 will be described in detail.

제1도중 MPU(1)에서 마이크로명령의 단락마다 받아들일 수 있는 인터럽트요구인 마이크로스틸요구신호(15)를 받은 셀렉터(19)는 마이크로스틸어드레스(18)즉, 마이크로레벨의 인터럽트처리프로그램이 저장되어있는 도약행선지어드레스를 마이크로프로그램어드레스(6)으로서 출력한다. 이것에 의해시 이후 인터럽트처리로 제어가 이행한다.The selector 19, which has received the microsteel request signal 15, which is an interrupt request that can be accepted for each micro instruction paragraph in the MPU 1, is stored in the microsteel address 18, i.e., the microlevel interrupt processing program. The leap destination address is output as the microprogram address 6. This transfers the control to the interrupt processing after the time.

또, 그것과 동시에 기계어명령을 실행하기 위한 마이크로명령에 의해 일시적으로 사용하는 MPU(1)내부의 템퍼러리레지스터군(2) 및 기계어명령을 실행하기 위한 마이크로명령에 의해 일시적으로 사용하는 MPU(1)내부의 상태플래그류(3)은 각각 세이브레지스터군(16), (17)에 하드웨어로 자동적으로 저장한다.At the same time, the temporal register group 2 inside the MPU 1 temporarily used by micro instructions for executing machine language instructions and the MPU 1 temporarily used by micro instructions for executing machine instruction instructions. The internal state flags (3) are automatically stored in hardware in the save register group (16) and (17), respectively.

인터럽트처리 종료후에 인터럽트처리 직전에 실행하고 있던 처리로 복귀할 수 있게 하기 위함이다.This is to return to the processing that was executed just before the interrupt processing after the interrupt processing.

그리고 인터럽트처리가 종료된 시점에서 하드웨어로 원래의 상태로 복귀하는 제어를 실행한다.At the end of interrupt processing, the control returns to the hardware to its original state.

이와같이 마이크로스틸에 따르는 MPU(1)내부상태의 레지스터세이브, 복귀를 하드웨어로 자동적으로 실행하도록 했으므로, 응답성이 좋은 인터럽트기능을 실현할 수 있다.In this way, the register save and return of the internal state of the MPU 1 in accordance with the micro-steel are executed automatically by hardware, so that a responsive interrupt function can be realized.

이상과 같이 세이브레지스터를 마련하여 모든 템퍼러리 레지스터군(2), 상태플래그류(3)을 마이크로스틸에 따라 세이브하므로 어떠한 기계어명령을 실행하는 중이라도 인터럽트를 받아들일 수가 있으며, 또 인터럽트처리에 있어서 연산부를 비롯해서 MPU(1)내의 모든 자원을 이용할 수가 있다.As described above, save registers (2) and state flags (3) are stored according to microsteels so that interrupts can be accepted during execution of any machine language instruction. In addition, all resources in the MPU 1 can be used.

여기서 상기 MPU(1)내부의 템퍼러리레지스터군(2) 및 기계어명령을 실행하기 위한 마이크로명령에 의해 일시적으로 사용하는 MPU(1)내부의 상태플래그(3)의 세이브레지스터군(16)으로의 세이브 및 복귀처리에 대해서 설명한다.Here, the temporal register group 2 inside the MPU 1 and the state flag 3 in the MPU 1 temporarily used by the micro-instruction for executing a machine language instruction are stored in the save register group 16. The save and return processing will be described.

제4도(a)에 이 세이브, 복귀의 기구의 구성을, 제4도(b)에 그 동작타이밍을 도시한다.Fig. 4 (a) shows the structure of this save and return mechanism, and Fig. 4 (b) shows its operation timing.

제4도(a)에서, (3a)가 마이크로명령의 실행에 사용하는 레지스터, (17a)가 이 레지스터의 세이브에 사용하는 세이브레지스터, (45), (46)은 셀렉터이다.In Fig. 4 (a), registers (3a) are used to execute microinstructions, save registers (17a) are used to save these registers, and (45) and (46) are selectors.

통상동작시 셀렉터(45)는 통상데이터(40)을, 셀렉터(46)은 통상클럭(41)을 선택 출력한다.In the normal operation, the selector 45 selects and outputs the normal data 40 and the selector 46 selects and outputs the normal clock 41.

따라서 레지스터(3a)는 통상클럭(41)로 통상데이타(40)을 래치한다.Therefore, the register 3a latches the normal data 40 with the normal clock 41.

또 마이크로요구발생시에는 세이브레지스터(17a)가 제4도(b)의 (42)로 나타내는 클럭으로 레지스터(3a)의 출력을 래치하는 것에 의해 레지스터(3a)의 내용을 래치한다.At the time of micro-request, the save register 17a latches the contents of the register 3a by latching the output of the register 3a with the clock shown in 42 in FIG.

한편, 마이크로스틸 처리후는 셀렉터(46)이 제4도(b)의 (42)로 나타낸 클럭을 선택 출력하고, 셀렉터(46)이 제4도(b)의 (42)로 나타낸 클럭을 선택 출력하고, 셀렉터(45)가 세이브레지스터(17a)의 내용을 선택출력하는 것에 의해 세이브레지스터(17a)에 세이브한 데이타를 레지스터(3a)로 복귀시킨다.On the other hand, after the microstill process, the selector 46 selects and outputs the clock shown in 42 in FIG. 4B, and the selector 46 selects the clock shown in 42 in FIG. 4B. The selector 45 selects and outputs the contents of the save register 17a to return the data saved in the save register 17a to the register 3a.

또한, 이상 본 발명에 관한 정보처리시스템의 1실시예로서 외부기억장치로서 고정디스크장치를 구비한 정보처리시스템을 예로해서설명하였지만, 외부기억장치가 플로피디스크장치나 광디스크장치, 자기테이프장치등 다른 종류의 기억장치라도 마찬가지로 실시할 수가 있다.In addition, although one embodiment of the information processing system according to the present invention has been described as an example of an information processing system having a fixed disk device as an external storage device, the external storage device may be a floppy disk device, an optical disk device, or a magnetic tape device. The same kind of storage device can be implemented.

이상과 같이 본 실시예에 의하면 종래 고정디스크장치에서 마이크로프로세서의 기능을 가진 LSI에 의해 실행되고 있던 논리어드레스/물리어드레스변환이나 명령의 해석등의 처리를 마이크로프로세서의 응답성이 좋은 마이크로프로그램의 단락마다의 인터럽트처리로 실행할 수가 있다.As described above, according to the present embodiment, a short circuit of a microprogram with good responsiveness to a microprocessor is used to perform processing such as logical address / modal address conversion and interpretation of instructions which are conventionally executed by an LSI having a microprocessor function in a fixed disk device. Each interrupt can be executed.

따라서 고정디스크장치 내부에 마이크로프로세서의 기능을 가진 LSl를 마련할 필요가 없고, 내장부품수의 삭감에 의해 장치의 소형화를 도모할 수가 있다.Therefore, it is not necessary to provide LSl having the function of a microprocessor inside the fixed disk device, and the device can be miniaturized by reducing the number of internal parts.

이상 설명한 바와같이 본 발명에 관한 정보처리시스템에 의하면, 종래의 시스템성능을 유지하면서 외부기억장치를 제어하기 위한 내장부품수를 삭감하여 정보 처리시스템의 소형화를 도모할 수가 있다.As described above, according to the information processing system of the present invention, it is possible to reduce the size of the information processing system by reducing the number of built-in parts for controlling the external storage device while maintaining the conventional system performance.

Claims (5)

레지스터 및 마이크로명령으로 구성되는 마이크로프로그램을 상기 레지스터를 사용해서 실행하는 제어부를 갖고 있으며, 또한 각 마이크로명령의 실행종료시마다 인터럽트요구를 받아들이는 기능을 갖는 마이크로프로세서에 있어서, 세이브레지스터 및 상기 인터럽트요구를 받아들일 때 상기 제어부에 의한 마이크로명령의 실행에 사용하는 모든 레지스터의 내용을 상기 세이브레지스터로 세이브시키는 세이브수단을 갖는 마이크로프로세서.A microprocessor having a control unit for executing a microprogram consisting of a register and a microinstruction using the register, and having a function of accepting an interrupt request at the end of execution of each microinstruction, the save register and the interrupt request. And a save means for saving the contents of all registers used for execution of the microinstruction by the control part to the save register upon receipt. 특허청구의 범위 제1항의 마이크로 프로세서와 외부기억장치를 구비하고, 상기 마이크로프로세서는 상기 외부기억장치에서 발생된 인터럽트요구를 받은 경우에 상기 외부기억장치의 제어처리를 인러럽트처리로서 실행하는 정보처리시스템.A microprocessor and an external storage device according to claim 1, wherein the microprocessor executes a control process of the external storage device as an interrupt processing when receiving an interrupt request generated from the external storage device. system. 특허청구의 범위 제2항에 있어서, 상기 외부 기억장치는 고정디스크장치인 정보처리시스템.The information processing system according to claim 2, wherein the external storage device is a fixed disk device. 특허청구의 범위 제2항에 있어서, 상기 마이크로프로세서는 상기 외부기억장치의 제어용마이크로프로그램을 포함하는 여러개의 마이크로프로그램을 저장하는 마이크로프로그램메모리를 구비하며, 또한 상기 외부기억장치의 제어처리로서 마이크로프로그램메모리에 저장된 상기 외부기억 장치의 제어용 마이크로프로그램을 실행하는 정보처리시스템.The microprocessor of claim 2, wherein the microprocessor includes a microprogram memory for storing a plurality of microprograms including a microprogram for controlling the external memory device, and the microprogram as a control process of the external memory device. An information processing system for executing a control microprogram of the external storage device stored in a memory. 특허청구의 범위 제3항에 있어서, 상기 고정디스크장치는 고정디스크 드라이브와 고정디스크 내부버스와 상기 마이크로프로세서의 프로세스버스의 인터페이스를 제어하는 시스템버스 인터페이스제어부, 기억데이타계의 처리를 담당하는 고정디스크 컨트롤러 및 고정디스크드라이브의 기계게의 제어를 담당하는 기계제어부를 구비하고, 상기 외부기억장치에서 발생되는 인터럽트요구는 시스템버스 인터페이스 제어부, 고정디스크컨트롤러 또는 기계제어부에서 발생하는 인터럽트요구이고, 상기 마이크로프로세서에서 상기 인터럽트처리에 의해서 실행되는 외부 기억장치의 제어용프로그램은 논리어드레스/물리어드레스변환, 명령의 해석, 기계제어를 위한 연산처리 프로그램인 정보처리시스템.The fixed disk device according to claim 3, wherein the fixed disk device comprises a system bus interface controller for controlling an interface between a fixed disk drive, a fixed disk internal bus, and a process bus of the microprocessor, and a fixed disk for processing the storage data system. The controller and the machine control unit for controlling the machine of the fixed disk drive, the interrupt request generated from the external storage device is an interrupt request generated from the system bus interface control unit, fixed disk controller or machine control unit, the microprocessor The control program of the external storage device executed by the interrupt processing in the above is an information processing system which is an arithmetic processing program for logical address / various address conversion, command interpretation, and machine control.
KR1019910019939A 1990-11-22 1991-11-11 Information processing system KR950004227B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2318448A JPH04188324A (en) 1990-11-22 1990-11-22 Information processing system
JP90-318448 1990-11-22

Publications (2)

Publication Number Publication Date
KR920010439A KR920010439A (en) 1992-06-26
KR950004227B1 true KR950004227B1 (en) 1995-04-27

Family

ID=18099244

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019910019939A KR950004227B1 (en) 1990-11-22 1991-11-11 Information processing system

Country Status (2)

Country Link
JP (1) JPH04188324A (en)
KR (1) KR950004227B1 (en)

Also Published As

Publication number Publication date
JPH04188324A (en) 1992-07-06
KR920010439A (en) 1992-06-26

Similar Documents

Publication Publication Date Title
US5608881A (en) Microcomputer system for accessing hierarchical buses
US4250546A (en) Fast interrupt method
JP2810068B2 (en) Processor system, computer system, and instruction processing method
US4715013A (en) Coprocessor instruction format
US4729094A (en) Method and apparatus for coordinating execution of an instruction by a coprocessor
KR19990044957A (en) Methods and apparatus that affect the processing of subsequent instructions in a data processor
JPH0816870B2 (en) System for draining the instruction pipeline
US4731736A (en) Method and apparatus for coordinating execution of an instruction by a selected coprocessor
US4750110A (en) Method and apparatus for executing an instruction contingent upon a condition present in another data processor
US5021991A (en) Coprocessor instruction format
KR970003321B1 (en) System using microprocessor address lines coprocessor selection within a multi-coprocessor apparatus
US4758950A (en) Method and apparatus for selectively delaying an interrupt of a coprocessor
US4821231A (en) Method and apparatus for selectively evaluating an effective address for a coprocessor
US4791551A (en) Microprogrammable devices using transparent latch
US4914578A (en) Method and apparatus for interrupting a coprocessor
JPH05342084A (en) Device and method for storing data
US4047245A (en) Indirect memory addressing
US4409653A (en) Method of performing a clear and wait operation with a single instruction
KR950004227B1 (en) Information processing system
US4994961A (en) Coprocessor instruction format
US4758978A (en) Method and apparatus for selectively evaluating an effective address for a coprocessor
JPH0377137A (en) Information processor
JPH06324861A (en) System and method for controlling cpu
US4811274A (en) Method and apparatus for selectively evaluating an effective address for a coprocessor
SU1124316A1 (en) Microcomputer

Legal Events

Date Code Title Description
A201 Request for examination
G160 Decision to publish patent application
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20040401

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee