Claims (15)
반도체칩에 형성된 마이크로 컴퓨터에 있어서 여러개의 제1레지스터를 각각 갖는 여러개의 레지스터 세트, 여러개의 제2레지스터, 상기 여러개의 제2레지스터에 결합된 연산수단, 상기 여러개의 레지스터 세트 내의 소장의 레지스터 세트를 지시하는 레지스터 세트 지시수단 및 연산명령에 응답해서 상기 레지스터 세트 지시수단에 의해 지시된 레지스터 세트 내의 소정의 제1레지스터의 내용을 상기 제2레지스터로 전송하는 전송수단을 갖는 마이크로 컴퓨터.In a microcomputer formed on a semiconductor chip, a plurality of register sets each having a plurality of first registers, a plurality of second registers, arithmetic means coupled to the plurality of second registers, and a set of registers in the plurality of register sets And transfer means for transferring the contents of a predetermined first register in the register set indicated by said register set indicating means to said second register in response to said register set indicating means and an operation instruction.
특허청구의 범위 제1항에 있어서, 상기 연산수단은 상기 연산 명령에 의해서 지시된 연산을 상기 제2레지스터 사이에서 실행하는 연산회로를 갖는 마이크로 컴퓨터.The microcomputer according to claim 1, wherein said calculating means has a calculating circuit for executing the operation indicated by said calculating instruction between said second registers.
특허청구의 범위 제1항에 있어서, 상기 레지스터 세트 지시수단은 레지스터 세트 정보를 갖는 전환 명령에 응답해서 상기 정보에 따른 레지스터 세트를 지시하는 수단을 갖는 마이크로 컴퓨터.The microcomputer according to claim 1, wherein said register set indicating means has means for indicating a register set according to said information in response to a switching instruction having register set information.
특허청구의 범위 제3항에 있어서, 또 상기 전환명령에 응답해서 상기 제2레지스터의 내용을 상기 레지스터세트 내의 상기 소정의 제1레지스터로 세이브하는 세이브 수단을 갖는 마이크로 컴퓨터.4. The microcomputer according to claim 3, further comprising save means for saving the contents of said second register to said predetermined first register in said register set in response to said switching instruction.
(a)연산에서 사용하는 레지스터를 지시하는 지시정보를 갖는 연산명령에 응답해서 여러개의 제1레지스터를 갖는 레지스터 세트에서 상기 지시정보에 의해서 지시된 제1레지스터의 내용을 제2레지스터로 전송하는 스텝 및 (b)상기 연산 명령에 의해 지시된 연산을 상기 제2레지스터에서 실행하는 스텝을 갖는 마이크로 컴퓨터에서의 연산방법.(a) transferring the contents of the first register indicated by the indication information to the second register in a register set having a plurality of first registers in response to an operation instruction having instruction information indicating a register used in the operation; And (b) executing the operation indicated by the operation instruction in the second register.
특허청구의 범위 제5항에 있어서, 또 여러개의 레지스터 세트에서 소정의 레지스터 세트를 선택하는 선택 스텝을 갖는 갖는 마이크로 컴퓨터에서의 연산방법.6. A method according to claim 5, further comprising a selection step of selecting a predetermined register set from a plurality of register sets.
특허청구의 범위 제6항에 있어서, 상기 선택스텝은 소정의 명령에 응답해서 실행되는 마이크로 컴퓨터에서의 연산방법.The computing method according to claim 6, wherein the selection step is executed in response to a predetermined command.
특허청구의 범위 제6항에 있어서, 상기 선택스텝은 상기 스텝(b)후에 실행되고, 상기 선택 스텝을 실행하기 전에 (c)상기 제2레지스터의 내용을 상기 레지스터 세트의 상기 제1레지스터로 세이브하는 스텝이실행되는 마이크로 컴퓨터에서의 연산방법.The method of claim 6, wherein the selection step is executed after the step (b), and before executing the selection step (c) saving the contents of the second register to the first register of the register set. A computing method in a microcomputer in which a step is performed.
특허청구의 범위 제8항에 있어서, 상기 선택스텝과 상기 스텝(c)는 소정의 명령에 응답해서 실행되는 마이크로 컴퓨터에서의 연산방법.The method of claim 8, wherein the selection step and step (c) are executed in response to a predetermined command.
특허청구의 범위 제6항에 있어서, 상기 선택스텝은 상기 스텝(a)전에 실행되는 마이크로 컴퓨터에서의 연산방법.The method of claim 6, wherein the selection step is executed before the step (a).
특허청구의 범위 제10항에 있어서, 상기 선택스텝은 소정의 명령에 응답해서 실행되는 마이크로 컴퓨터에서의 연산방법.The computing method according to claim 10, wherein said selection step is executed in response to a predetermined command.
여러개의 범용레지스터를 갖는 멀티레지스터 세트, 상기 레지스터 세트 보다 소용량의 기억장치로 이루어지고, 적어도 2개의 리드 버스와 1개의 라이트 버스를 구비한 워크레지스터 세트, 상기 2개의 리드버스의 내용을 폐치해서 연산하고 연산결과를 상기 라이트 버스로 출력하는 연산수단 및 상기 연산수단에 대한 명령이나 상기 워크레지스터 세트 및 상기 멀티 레지스터 세트에 대한 리드 및 라이트의 제어 그리고 상기 멀티 레지스터 세트와 워크레지스터 세트 사이의 데이타 전송젱어를 실행하는 제어수단을 구비하는 마이크로 컴퓨터.A multi-register set having several general-purpose registers, a storage device having a smaller capacity than the register set, and a work register set having at least two read buses and one write bus, and calculating contents by closing the contents of the two read buses. Operation means for outputting the result of the operation to the write bus and instructions for the operation means or control of reads and writes for the work register set and the multi register set, and data transfer between the multi register set and the work register set. Microcomputer having a control means for executing the.
특허청구의 범위 제12항에 있어서, 상기 워크레지스터 세트 내의 각각의 레지스터가 상기 멀티 레지스터세트 내의 어느 범용레지스터에 대응하는 것인가를 나타내는 레지스터 대응수단을 구비하고, 상기 제어수단은 사익 레지스터 대응수단을 참조해서 명령으로 지정된 범용레지스터가 사이 워크 레지스터 세트내의 레지스터와 대응하고 있으면 사익 제어수단은 대응하고 있는 워크레지스터를 연산에 사용하도록 제어를 실행하는 마이크로 컴퓨터.13. The apparatus according to claim 12, further comprising register matching means for indicating which general register in the multi-register set corresponds to each register in the work register set, wherein the control means refers to a sound register matching means. And the general-purpose register specified by the instruction corresponds to a register in the cy work register set, the microcontroller executes control to use the corresponding work register for calculation.
특허청구의 범위 제12항에 있어서, 상기 워크레지스터 세트 내의 레지스터로 연산결과를 라이트 한 것을 기억하는 라이트 기억수단을 구비하고, 상기 제어수단은 상기 라이트 제어수단의 내용에 따라서 상기 워크 레지스터 세트의 내용을 대응하는 범용레지스터로 전송하는 마이크로 컴퓨터.13. The apparatus according to claim 12, further comprising write storage means for storing writing of arithmetic result into a register in said work register set, said control means having contents of said work register set in accordance with the contents of said write control means. Microcomputer to transfer the data to the corresponding general register.
특허청구의 범위 제13항에 있어서, 상기 레지스터 대응수단은 연산에 사용한 범용레지스터의 뱅크 번호 및 레지스터 번호를 기억하는 기억회로를 구비하고, 또 상기 제어수단은 가장 오랜기간 사용하지 않았던 워크레지스터의 번호를 검출하는 치환레지스터 검출수단을 구비하고, 상기 레지스터 대응수단에 명령으로 지시된 범용레지스터의 뱅크 번호 및 레지스터 번호가 기억되어 있지 않는 경우에는 상기 치환레지스터 검출수단이 나타나는 워크레지스터의 내용을 대응하는 범용레지스터에 저장하는 마이크로 컴퓨터.The method according to claim 13, wherein the register correspondence means includes a memory circuit for storing the bank number and the register number of the general-purpose register used for the calculation, and the control means is the number of the work register that has not been used for the longest period. A general register corresponding to the contents of the work register indicated by the replacement register detecting means, when the bank number and the register number of the general purpose register instructed by the instruction in the register correspondence means are not stored. Microcomputer to store in registers.
※ 참고사항 : 최초출원 내용에 의하여 공개되는 것임.※ Note: This is to be disclosed by the original application.