JPS63136133A - Information processing circuit - Google Patents

Information processing circuit

Info

Publication number
JPS63136133A
JPS63136133A JP61284812A JP28481286A JPS63136133A JP S63136133 A JPS63136133 A JP S63136133A JP 61284812 A JP61284812 A JP 61284812A JP 28481286 A JP28481286 A JP 28481286A JP S63136133 A JPS63136133 A JP S63136133A
Authority
JP
Japan
Prior art keywords
data
register
bus
rbo
rbm
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.)
Pending
Application number
JP61284812A
Other languages
Japanese (ja)
Inventor
Yasushi Aoki
泰 青木
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
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP61284812A priority Critical patent/JPS63136133A/en
Publication of JPS63136133A publication Critical patent/JPS63136133A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To increase the number of words of the data to be held without increasing the word length of a microinstruction by writing the data on a data bus into a register equivalent to a single word and at the same time transferring the data stored in each register to other different registers respectively. CONSTITUTION:When a write command is delivered, the b-bit data on a data bus Bb is written into a b-bit register RbO via a selector SbO. In this case, the data on registers RbO-Rbm-2 are written into registers Rb1-Rbm-1 respectively and the data stored in the Rbm-1 is lost. When a read instruction is received, the b-bit data of the RbO is read into the bus Bb via a bus driver Db. At the same time, the data of Rb1-Rbm-1 are written into RbO-Rbm-2 together with the data of the RbO written into the Rbm-1. Thereafter the data of RbO-Rbm-1 are never lost.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は情報処理回路に係り、特にマイクロブラセッサ
内部のデータバスに接続され、このデータバス上のデー
タを一時的に保持する情報処理回路の汎用レジスタに間
する。
DETAILED DESCRIPTION OF THE INVENTION (Industrial Application Field) The present invention relates to an information processing circuit, and particularly to an information processing circuit that is connected to a data bus inside a microcontroller and temporarily retains data on the data bus. be used in general-purpose registers.

(従来の技術) 従来、この種の情報処理回路は、第3図に示されている
ように、データバスのビット数をbとすると、b個のレ
ジスタRO〜Rb−1とb個のバスドライバDO〜Db
−1とにより構成されており、データバスBO−Bb−
1上のデータを1ワーFだけ書き込む機能と、書き込ま
れたデータをデータバスBO−Bbに読み出す機能とを
有していた。
(Prior Art) Conventionally, as shown in FIG. 3, an information processing circuit of this type has b registers RO to Rb-1 and b buses, where b is the number of bits of a data bus. Driver DO~Db
-1, and data bus BO-Bb-
It had the function of writing data on the data bus BO-Bb by 1 word F, and the function of reading the written data onto the data bus BO-Bb.

また、第4図の回路図に示すように、第3図の回路図に
示したbビットの汎用レジスタRbO〜Rbn−1をn
個データバスに接続することにより、nワード分のデー
タを保持することがてきる構成がある。
Furthermore, as shown in the circuit diagram of FIG. 4, the b-bit general-purpose registers RbO to Rbn-1 shown in the circuit diagram of FIG.
There is a configuration that can hold data for n words by connecting to n data buses.

(発明が解決しようとする問題点) しかしながら、上述した従来のマイクロプロセッサの汎
用レジスタは、データバスのビット数分のレジスタしか
有していないため、1ワード分のデータしか保持するこ
とができないという問題点がある。
(Problem to be Solved by the Invention) However, the general-purpose registers of the conventional microprocessor described above have only as many registers as the number of bits of the data bus, so they can only hold one word of data. There is a problem.

また、第3図の回路図に示した汎用レジスタをn個用い
た第4図の構成では、nワード分のデータを保持するこ
とがてきるが、マイクロ命令の種類を、第3図の構成の
場合のn倍用意しなければならないという問題点がある
。すなわち、マイクロ命令の語長を大きくしなければな
らない。また、バスドライバの数が第3図の構成の場合
の1倍必要であるため、回路の規模が大きくなるという
問題点がある。
In addition, the configuration shown in FIG. 4 using n general-purpose registers shown in the circuit diagram of FIG. 3 can hold data for n words, but the type of microinstruction There is a problem in that it is necessary to prepare n times more than in the case of . That is, the word length of the microinstruction must be increased. Furthermore, since the number of bus drivers is required to be one times that of the configuration shown in FIG. 3, there is a problem that the scale of the circuit increases.

(問題点を解決するための手段及び作用)本発明に係る
情報処理回路は、データバス上のデータを受けとって保
持するレジスタと、このレジスタに保持されたデータを
受けとって前記データバスに送り出すトライステートバ
スドライバと、前記レジスタに保持するデータを選択す
るセレクタと、を備えており、前記レジスタは同時に複
数ワードのデータを保持することがてきる記憶容量を有
しており、書き込み命令により前記レジスタのうちの1
ワード分のレジスタに前記データバス上のデータが書き
込まれ、同時に一のレジスタを除く各レジスタに保持さ
れていたデータが前記データバス上のデータが書き込ま
れるレジスタ以外の各々異なる他のレジスタに転送され
、読み出し命令により、全ての各レジスタに保持されて
いたデータが各々異なる他のレジスタに転送され、同時
に前記書き込み命令の場合にデータバス上のデータが書
き込まれるレジスタに保持されていたデータが前記バス
ドライバを経由してデータバスに送り出されることを特
徴としている。
(Means and operations for solving the problem) The information processing circuit according to the present invention includes a register that receives and holds data on a data bus, and a register that receives and sends the data held in this register to the data bus. The register includes a state bus driver and a selector that selects data to be held in the register, and the register has a storage capacity that can hold multiple words of data at the same time. one of them
The data on the data bus is written to a word worth of registers, and at the same time, the data held in each register except one register is transferred to each different register other than the register to which the data on the data bus is written. , a read command transfers the data held in all registers to different registers, and at the same time, in the case of the write command, the data held in the register to which data on the data bus is written is transferred to the bus. It is characterized by being sent to the data bus via the driver.

従って、上述した従来のマイクロプロセッサの汎用レジ
スタに対し、本発明はマイクロ命令の語長を大きくする
ことなく、また、バスドライバの数を増すことなく、複
数ワードのデータを保持することがてきるという独創的
内容を有する。
Therefore, in contrast to the general-purpose registers of the conventional microprocessor described above, the present invention can hold multiple words of data without increasing the word length of microinstructions or increasing the number of bus drivers. It has an original content.

(実施例) 次に、本発明の実施例について図面を参照して説明する
(Example) Next, an example of the present invention will be described with reference to the drawings.

第1図は本発明の第1実施例の回路図である。FIG. 1 is a circuit diagram of a first embodiment of the present invention.

データバスBbはマイクロプロセッサ内部のデータバス
でbビットである。bビットのレジスタRbO〜Rbm
−1は各々、セレクタsboS−sbm−1からのbビ
ットのデータを人力して保持するbビットのレジスタで
ある。Rb1−Rbm−2の出力データは各々、Sb2
〜Sbm−1とSbOSbo−5bに入力される。Rb
Oの出力データはsbi、Sbm−1とbビットのトラ
イステートのバスドライバDbに入力される。Rbm−
1の出力データはSbm−2に人力される。バスドライ
バDbの出力はデータバスBbに接続される。
The data bus Bb is a data bus inside the microprocessor and has b bits. b-bit registers RbO to Rbm
-1 are b-bit registers that manually hold b-bit data from the selectors sboS-sbm-1. The output data of Rb1-Rbm-2 is Sb2, respectively.
- Input to Sbm-1 and SbOSbo-5b. Rb
The output data of O is input to a tri-state bus driver Db of sbi, Sbm-1 and b bits. Rbm-
The output data of 1 is manually input to Sbm-2. The output of bus driver Db is connected to data bus Bb.

次に動作について説明する。Next, the operation will be explained.

マイクロプロセッサ内部のマイクロ命令により本汎用レ
ジスタに書き込み命令が発せられると、データバスBb
のbビットのデータがセレクタSbOを経由してbビッ
トのレジスタRbOに書き込まれる。この時、同時に、
Rb0−Rbm−2のデータは各々、Rbl〜Rbm−
1に書き込まれる。Rbm−1にあったデータは失われ
る。マイクロプロセッサ内部のマイクロ命令により本汎
用レジスタに読み出し命令が発せられると、RbOにあ
るbビットのデータがバスドライバDbを経由してデー
タバスBbに読み出される・これと同時にRb1−Rb
m−1のデータはRbO〜Rbm−2に書き込まれ、R
bOにあったデータはRbm−1に書き込まれろ。従っ
て・この時、RbO〜Rbm−1のデータはいずれも失
われない。
When a write command is issued to this general-purpose register by a microinstruction inside the microprocessor, the data bus Bb
The b-bit data of is written to the b-bit register RbO via the selector SbO. At this time, at the same time,
The data for Rb0-Rbm-2 are Rbl-Rbm-, respectively.
Written to 1. The data in Rbm-1 will be lost. When a read command is issued to this general-purpose register by a microinstruction inside the microprocessor, b-bit data in RbO is read out to data bus Bb via bus driver Db. At the same time, Rb1-Rb
The data of m-1 is written to RbO to Rbm-2, and R
The data in bO should be written to Rbm-1. Therefore, at this time, none of the data from RbO to Rbm-1 is lost.

マイクロプロセッサ内部のマイクロ命令により、1回の
書き込み命令の後に1回の読み出し命令が本汎用レジス
タに発せられる場合、データバスBbにあるデータがレ
ジスタRbOに書き込まれ、バスドライバDbを経由し
てデータバスBbに読み出される。これは、第2図の従
来技術の汎用レジスタの動作と同様である。
When a microinstruction inside the microprocessor issues one read command to this general-purpose register after one write command, the data on the data bus Bb is written to the register RbO, and the data is transferred via the bus driver Db. The data is read out onto bus Bb. This is similar to the operation of the prior art general purpose register of FIG.

マイクロプロセッサ内部のマイクロ命令により、1回の
書き込み命令が本汎用レジスタに発せられた場合、m≧
lならば、Rb0−Rb1−1のレジスタにデータが書
き込まれる。RbO〜Rb1−1に書き込まれたデータ
は、k回の読み出し命令により読み出すことができる。
When a single write command is issued to this general-purpose register by a microinstruction inside the microprocessor, m≧
If it is 1, data is written to registers Rb0-Rb1-1. The data written in RbO to Rb1-1 can be read by k times of read instructions.

但し、k≧1で、データの読み出す順番によりkの数は
変わる。
However, k≧1, and the number of k changes depending on the order in which data is read.

第2図は本発明の第2実施例の回路図である。FIG. 2 is a circuit diagram of a second embodiment of the present invention.

bビットのセレクタsbはbビットのデータバスBbの
データとbビットのレジスタRb2のデータを選択し、
RbOに出力する。RbOの出力はRblに、Rblの
出力はRb2に入力する。bビットのバスドライバDb
はRboのデータを受けとってデータバスBbに出力す
るバスドライバである。
The b-bit selector sb selects the b-bit data on the data bus Bb and the b-bit data on the register Rb2,
Output to RbO. The output of RbO is input to Rbl, and the output of Rbl is input to Rb2. b-bit bus driver Db
is a bus driver that receives data on Rbo and outputs it to data bus Bb.

マイクロ命令による書き込み命令が本汎用レジスタに発
せられると、データバスBbのデータがRbOに書き込
まれ、RbOのデータがRblに、RblのデータがR
b2に転送される。マイクロ命令による読み出し命令が
本汎用レジスタに発せられると、RbOのデータがDb
を経由してデータバスBbに読み出され、Rblに転送
される。
When a write command by a microinstruction is issued to this general-purpose register, the data on data bus Bb is written to RbO, the data on RbO is written to Rbl, and the data on Rbl is written to R.
Transferred to b2. When a read command by a microinstruction is issued to this general-purpose register, the data in RbO becomes Db.
The data is read out to data bus Bb via , and transferred to Rbl.

また、同時に、RbOのデータがRblに、Rb1のデ
ータがRb2に転送される。
At the same time, data in RbO is transferred to Rbl, and data in Rb1 is transferred to Rb2.

この第2実施例ではセレクタの数が少なく、ハード規模
が小さいという利点がある。
This second embodiment has the advantage that the number of selectors is small and the hardware scale is small.

(発明の効果) 以上説明したように、本発明のマイクロプロセッサの汎
用レジスタは、マイクロプロセッサ内部のマイクロ命令
の種類を増やすことなく、すなわち、マイクロ命令の語
長を増大させることなく、保持するデータのワード数を
増やすことができるという効果がある。また、バスドラ
イバの数を増やすことなく保持するデータのワード数を
増やすことができるため、ハード規模を小さくすること
がてきるという効果がある。
(Effects of the Invention) As explained above, the general-purpose register of the microprocessor of the present invention can hold data without increasing the types of microinstructions inside the microprocessor, that is, without increasing the word length of the microinstructions. This has the effect of increasing the number of words. Furthermore, since the number of data words to be held can be increased without increasing the number of bus drivers, there is an effect that the hardware scale can be reduced.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の第1実施例の構成を示す回路図、第2
図は本発明の第2実施例の構成を示す回路図、第3図は
従来例の回路図、第4図は第3図の従来例の汎用レジス
タをn個のデータバスに接続した構成を示す回路図であ
る。 RbO〜Rbm−1・φ・bビットのレジスタ、SbO
Sbo−5b・・・bビットのセレクタ、Db・・・・
・・・・bビットのバスドライバ、Bb・・・・・・争
・bビ・ソトのデータバス。
FIG. 1 is a circuit diagram showing the configuration of the first embodiment of the present invention;
The figure is a circuit diagram showing the configuration of the second embodiment of the present invention, Figure 3 is a circuit diagram of a conventional example, and Figure 4 shows a configuration in which the general-purpose register of the conventional example shown in Figure 3 is connected to n data buses. FIG. RbO~Rbm-1/φ/b bit register, SbO
Sbo-5b... b bit selector, Db...
...b-bit bus driver, Bb...contention, b-bit, soto data bus.

Claims (1)

【特許請求の範囲】[Claims] データバス上のデータをセレクタを通して受けとって保
持するレジスタと、このレジスタに保持されたデータを
受けとって前記データバスに送り出すトライステートバ
スドライバと、を有する情報処理回路において、前記レ
ジスタは同時に複数ワードのデータを保持することがて
きる記憶容量を有しており、書き込み命令により、前記
レジスタのうちの1ワード分のレジスタに前記データバ
ス上のデータが前記セレクタを通して書き込まれ、同時
に一のレジスタを除く各レジスタに保持されていたデー
タが前記データバス上のデータが書き込まれるレジスタ
以外の各々異なる他のレジスタに転送され、読み出し命
令により、全ての各レジスタに保持されていたデータが
各々異なる他のレジスタに転送され、同時に前記書き込
み命令の場合にデータバス上のデータが書き込まれるレ
ジスタに保持されていたデータが前記バスドライバを経
由してデータバスに送り出されることを特徴とする情報
処理回路。
In an information processing circuit that has a register that receives and holds data on a data bus through a selector, and a tristate bus driver that receives the data held in this register and sends it to the data bus, the register can simultaneously store multiple words. It has a storage capacity capable of holding data, and in response to a write command, the data on the data bus is written to one word of the registers through the selector, and at the same time, one register is removed. The data held in each register is transferred to different registers other than the register to which the data on the data bus is written, and by a read command, the data held in all registers is transferred to different registers. and at the same time, data held in a register to which data on the data bus is written in the case of the write command is sent out to the data bus via the bus driver.
JP61284812A 1986-11-27 1986-11-27 Information processing circuit Pending JPS63136133A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61284812A JPS63136133A (en) 1986-11-27 1986-11-27 Information processing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61284812A JPS63136133A (en) 1986-11-27 1986-11-27 Information processing circuit

Publications (1)

Publication Number Publication Date
JPS63136133A true JPS63136133A (en) 1988-06-08

Family

ID=17683329

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61284812A Pending JPS63136133A (en) 1986-11-27 1986-11-27 Information processing circuit

Country Status (1)

Country Link
JP (1) JPS63136133A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1323655C (en) * 2001-07-04 2007-07-04 韩国化妆品公司 Cosmetic composition containing the extract of mountain ginseng adventitious roots

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1323655C (en) * 2001-07-04 2007-07-04 韩国化妆品公司 Cosmetic composition containing the extract of mountain ginseng adventitious roots

Similar Documents

Publication Publication Date Title
US6539448B1 (en) Priority first come first serve interrupt controller
EP0081358B1 (en) Data processing system providing improved data transfer between modules
JPH02100737A (en) Data transfer controller
JPS63136133A (en) Information processing circuit
JPS5936390A (en) Register circuit
US4803655A (en) Data processing system employing a plurality of rapidly switchable pages for providing data transfer between modules
US6510480B1 (en) Data transfer circuit and data processing method using data transfer circuit for handling interruption processing
JPS6136854A (en) Memory switching device
JPS5977557A (en) Bit access circuit
JPS616746A (en) Partial writing control system
EP0264740A2 (en) Time partitioned bus arrangement
JPS61289448A (en) Buffer memory device
JPH0370816B2 (en)
JP2657947B2 (en) Data processing device
JPH0683639A (en) Register device
JPH0376557B2 (en)
JPS61128342A (en) Serial scan control system
JPS62186328A (en) Sort processing system
JPH02287732A (en) Register address generating device
JPH0376558B2 (en)
JPS589274A (en) Write data buffer control device
JPH03246654A (en) Method for controlling data transfer
JPH02103635A (en) Digital system
JPH0255821B2 (en)
JPS6375927A (en) Buffer control system