JPS6121694Y2 - - Google Patents

Info

Publication number
JPS6121694Y2
JPS6121694Y2 JP14277983U JP14277983U JPS6121694Y2 JP S6121694 Y2 JPS6121694 Y2 JP S6121694Y2 JP 14277983 U JP14277983 U JP 14277983U JP 14277983 U JP14277983 U JP 14277983U JP S6121694 Y2 JPS6121694 Y2 JP S6121694Y2
Authority
JP
Japan
Prior art keywords
register
general
microinstruction
zero
addressing
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
Application number
JP14277983U
Other languages
Japanese (ja)
Other versions
JPS59138960U (en
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 filed Critical
Priority to JP14277983U priority Critical patent/JPS59138960U/en
Publication of JPS59138960U publication Critical patent/JPS59138960U/en
Application granted granted Critical
Publication of JPS6121694Y2 publication Critical patent/JPS6121694Y2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Executing Machine-Instructions (AREA)

Description

【考案の詳細な説明】 本考案は、マイクロプログラム制御方式の情報
処理装置における汎用レジスタ読出し装置に関す
るものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a general-purpose register reading device in a microprogram-controlled information processing device.

通常、汎用レジスタは算術演算や論理演算を行
うときアキユームレータとして使用されるほか、
オペランドアドレスを生成するときのベース・ア
ドレス・レジスタ(Base Adress Register)や
インデツクス・レジスタ(Index Register)とし
て使用される。
Generally, general-purpose registers are used as accumulators when performing arithmetic and logical operations.
Used as a base address register or index register when generating operand addresses.

第1図はRX形式のマクロ命令を示すものであ
つて、OPはオペレーシヨン・フイルド、Rは汎
用レジスタ指定フイルド、Xはインデツクス・レ
ジスタ指定フイルド、Bはベース・レジスタ指定
フイルド、Dはデイスプレイスメイト・フイルド
をそれぞれ表わしている。オペランド・アドレス
を生成するとき、Xフイルドで指定する汎用レジ
スタ即ちインデツクス・レジスタの内容Xと、B
フイルドで指定する汎用レジスタ即ちベース・レ
ジスタの内容Bと、Dフイルドの値Dとを2進加
算する。例外として、Xフイルドの値がXが零の
ときはインデツクス・レジスタを使用しないとい
う指定になり、また、Bフイルドの値Bが零のと
きはベース・レジスタを使用しないという指定に
なる。
Figure 1 shows an RX-format macro instruction, where OP is an operation field, R is a general-purpose register specification field, X is an index register specification field, B is a base register specification field, and D is a displacement field. Each represents a mate field. When generating an operand address, the contents of the general-purpose register, or index register, specified by the X field, X, and B
The contents B of the general-purpose register, that is, the base register specified by the field, and the value D of the D field are added in binary. As an exception, when the value of the X field is zero, it is specified that the index register is not used, and when the value B of the B field is zero, it is specified that the base register is not used.

従来の技術においては、オペランド・アドレス
は第2図の如きフローチヤートに従つて生成され
た。従来技術においてはXフイルドが零か、Bフ
イルドが零かをマイクロ命令を用いて判定してお
り、このためオペランド・アドレス生成に要する
時間が長くなるという欠点が存在した。
In the prior art, operand addresses were generated according to a flowchart such as that shown in FIG. In the prior art, a microinstruction is used to determine whether the X field is zero or the B field is zero, which has the disadvantage that it takes a long time to generate an operand address.

本考案は、上記の欠点を除去することを目的と
するものであつて、オペランド・アドレスの生成
に要する時間が短縮できるようになつたレジスタ
読出し装置を提供することを目的としている。そ
してそのため、本考案のレジスタ読出し装置は、
汎用レジスタ群と、それをアドレスするアドレス
指定用レジスタとを備え、該アドレス指定用レジ
スタからのアドレス情報により指定された汎用レ
ジスタが読出されるレジスタ読出し装置におい
て、上記アドレス指定用レジスタ内のアドレス情
報が零値を示すデータか否かを判定する零判定回
路と、マイクロ命令を格納するマイクロ命令格納
用レジスタと、上記汎用レジスタの読出し出力を
修正するデータ修正手段とを有し、且つ該データ
修正手段は、上記アドレス指定用レジスタ内のア
ドレス情報が零値を有すると共に上記マイクロ命
令格納用レジスタ内のマイクロ命令の特定ビツト
が特定値を有する場合には、零値を示すデータを
出力し、それ以外の場合には汎用レジスタの読出
し出力をそのまま出力するように構成されている
ことを特徴とするものである。以下、本考案を図
面を参照しつつ説明する。
SUMMARY OF THE INVENTION The present invention aims to eliminate the above-mentioned drawbacks and provides a register reading device that can reduce the time required to generate operand addresses. Therefore, the register reading device of the present invention is
In a register reading device that includes a group of general-purpose registers and an addressing register that addresses them, and reads out a general-purpose register specified by address information from the addressing register, address information in the addressing register is provided. a zero determination circuit that determines whether or not data indicates a zero value; a microinstruction storage register that stores microinstructions; and data modification means that modifies the readout output of the general-purpose register; The means outputs data indicating a zero value when the address information in the addressing register has a zero value and a specific bit of the microinstruction in the microinstruction storage register has a specific value; In other cases, the readout output of the general-purpose register is output as is. Hereinafter, the present invention will be explained with reference to the drawings.

第3図は本考案の一実施例のブロツク図、第4
図は本考案を用いた場合におけるオペランド・ア
ドレスを生成するためのフローチヤートである。
第3図において、1はアドレス指定用のレジス
タ、2は零判定回路、3はアドレス情報線、4,
5,6,7は信号線、8はマイクロ命令格納用レ
ジスタ、9は汎用レジスタ群、10はAND回
路、11は読出し出力線、12はNAND回路をそ
れぞれ示している。
Figure 3 is a block diagram of an embodiment of the present invention;
The figure is a flowchart for generating operand addresses using the present invention.
In FIG. 3, 1 is a register for address designation, 2 is a zero determination circuit, 3 is an address information line, 4,
5, 6, and 7 are signal lines, 8 is a microinstruction storage register, 9 is a general-purpose register group, 10 is an AND circuit, 11 is a read output line, and 12 is a NAND circuit.

オペランド・アドレスを生成する場合、マイク
ロ命令の特定ビツトが論理「1」であるマイクロ
命令を使用する。この時、アドレス指定用レジス
タ1には、マイクロ命令のBフイルドの値B及び
Xフイルドの値Xが置数される。
When generating an operand address, a microinstruction is used in which a specific bit of the microinstruction is logic "1". At this time, the value B of the B field and the value X of the X field of the microinstruction are set in the addressing register 1.

マイクロ命令格納レジスタ8に格納されたマイ
クロ命令の特定ビツトPが論理「1」であるた
め、信号線5は論理「1」になる。いま、アドレ
ス指定用レジスタ1から値Xが読出されたとし、
且つその読出し信号即ちアドレス情報がオール・
ゼロであつたとする。この場合、零判定回路2は
論理「1」を信号線4に出力しNAND回路12は
信号線6に論理「0」を出力する。この結果、
AND回路10は全て論理「0」を出力する。オ
ール・ゼロのアドレス情報により、汎用レジスタ
群9における第0番目の汎用レジスタが指定さ
れ、信号線7に出力が生じるが、この出力は無効
化される。特定ビツトPが論理「1」である状態
の下でアドレス指定用レジスタ1からマクロ命令
のBフイルドの値Bが読出され、且つその値Bが
オール・ゼロであつた場合も、読出し出力線11
はオール・ゼロとなる。
Since the specific bit P of the microinstruction stored in the microinstruction storage register 8 is logic "1", the signal line 5 becomes logic "1". Now, suppose that value X is read from addressing register 1,
In addition, the read signal, that is, the address information is all
Suppose it is zero. In this case, the zero determination circuit 2 outputs a logic "1" to the signal line 4, and the NAND circuit 12 outputs a logic "0" to the signal line 6. As a result,
All AND circuits 10 output logic "0". The all-zero address information specifies the 0th general-purpose register in the general-purpose register group 9, and an output is generated on the signal line 7, but this output is invalidated. If the value B of the B field of the macro instruction is read from the addressing register 1 under the state where the specific bit P is logic "1" and the value B is all zeros, the read output line 11
becomes all zero.

オペランド・アドレスを生成するとき以外の場
合、例えば通常の汎用レジスタを使用した演算を
行う場合、マイクロ命令の特定ビツトが論理
「0」であるマイクロ命令を使用する。この時、
アドレス情報線3で指定された汎用レジスタの出
力がそのまま読出し出力線11に現われる。
In cases other than when generating an operand address, for example, when performing an operation using a general-purpose register, a microinstruction in which a specific bit of the microinstruction is logic "0" is used. At this time,
The output of the general-purpose register designated by the address information line 3 appears as is on the read output line 11.

第4図は本考案を用いた場合におけるオペラン
ド・アドレス生成のためのフローチヤートを示す
ものであつて、この図から判るように、マクロ命
令のXフイルドの値Xで汎用レジスタを指定した
ときに読出し出力線11から得られる値と、マク
ロ命令のBフイルドの値Bで汎用レジスタを指定
したときに読出し出力線11から得られる値と、
デイスプレイスメントDを単純に加えることによ
り、オペランド・アドレスが生成される。
Figure 4 shows a flowchart for generating operand addresses when using the present invention.As can be seen from this figure, when a general-purpose register is specified by the value A value obtained from the read output line 11, and a value obtained from the read output line 11 when a general-purpose register is specified with the value B of the B field of the macro instruction.
By simply adding the displacement D, the operand address is generated.

以上の説明から明らかなように、本考案を使用
することにより、マクロ命令のインデツク・レジ
スタ指定のフイルドの内容が零か、ベース・レジ
スタ指定フイルドの内容が零かをマイクロ命令を
用いて判定することなく、オペランド・アドレス
を生成することが出来、この結果、オペランド・
アドレス生成に要する時間を短縮することが出来
る。
As is clear from the above explanation, by using the present invention, it is possible to use a microinstruction to determine whether the contents of the index/register specification field of a macroinstruction are zero or the contents of the base register specification field are zero. As a result, the operand address can be generated without
The time required for address generation can be shortened.

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

第1図はRX形式のマクロ命令を示す図、第2
図は従来のオペランド・アドレス生成のフロー・
チヤート、第3図は本考案の1実施例のブロツク
図、第4図は本考案を使用した場合におけるオペ
ランド・アドレス生成のフロー・チヤートであ
る。 1……アドレス指定用レジスタ、2……零判定
回路、3……アドレス情報線、4,5,6,7…
…信号線、8……マイクロ命令格納レジスタ、9
……汎用レジスタ群、10……AND回路、11
……読出し出力線、12……NAND回路。
Figure 1 shows RX format macro instructions, Figure 2
The figure shows the conventional operand address generation flow.
FIG. 3 is a block diagram of one embodiment of the present invention, and FIG. 4 is a flow chart of operand address generation when the present invention is used. 1... Address designation register, 2... Zero determination circuit, 3... Address information line, 4, 5, 6, 7...
...Signal line, 8...Micro instruction storage register, 9
...General-purpose register group, 10...AND circuit, 11
...Readout output line, 12...NAND circuit.

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 汎用レジスタ群と、それをアドレスするアドレ
ス指定用レジスタとを備え、該アドレス指定用レ
ジスタからのアドレス情報により指定された汎用
レジスタが読出されるレジスタ読出し装置におい
て、上記アドレス指定用レジスタ内のアドレス情
報が零値を示すデータか否かを判定する零判定回
路と、マイクロ命令を格納するマイクロ命令格納
用レジスタと、上記汎用レジスタの読出し出力を
修正するデータ修正手段とを有し、且し該データ
修正手段は、上記アドレス指定用レジスタ内のア
ドレス情報が零値を有すると共に上記マイクロ命
令格納用レジスタ内のマイクロ命令の特定ビツト
が特定値を有する場合には、零値を示すデータを
出力し、それ以外の場合には汎用レジスタの読出
し出力をそのまま出力するように構成されている
ことを特徴とするレジスタ読出し装置。
In a register reading device that includes a group of general-purpose registers and an addressing register that addresses them, and reads out a general-purpose register specified by address information from the addressing register, address information in the addressing register is provided. a zero determination circuit that determines whether or not data indicates a zero value; a microinstruction storage register that stores microinstructions; and data modification means that modifies the readout output of the general-purpose register; The modifying means outputs data indicating a zero value when the address information in the addressing register has a zero value and a specific bit of the microinstruction in the microinstruction storage register has a specific value; A register reading device characterized in that it is configured to output the readout output of a general-purpose register as is in other cases.
JP14277983U 1983-09-14 1983-09-14 register reading device Granted JPS59138960U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14277983U JPS59138960U (en) 1983-09-14 1983-09-14 register reading device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14277983U JPS59138960U (en) 1983-09-14 1983-09-14 register reading device

Publications (2)

Publication Number Publication Date
JPS59138960U JPS59138960U (en) 1984-09-17
JPS6121694Y2 true JPS6121694Y2 (en) 1986-06-28

Family

ID=30318913

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14277983U Granted JPS59138960U (en) 1983-09-14 1983-09-14 register reading device

Country Status (1)

Country Link
JP (1) JPS59138960U (en)

Also Published As

Publication number Publication date
JPS59138960U (en) 1984-09-17

Similar Documents

Publication Publication Date Title
US4630192A (en) Apparatus for executing an instruction and for simultaneously generating and storing related information
JPH0248931B2 (en)
JPS623461B2 (en)
JPS6121694Y2 (en)
JPS59188764A (en) Memory device
KR900015014A (en) Data processor
US4723258A (en) Counter circuit
JPS6355635A (en) Data processing system
JPS6330658B2 (en)
JPS6148735B2 (en)
JPS6017131B2 (en) memory control circuit
JPS6155731A (en) Processor provided with condition code discriminating function
RU1815636C (en) Device for microprogram control
JPH0128966B2 (en)
JPS5932820B2 (en) address modification circuit
JPS6226729B2 (en)
JPS629926B2 (en)
JPS58155587A (en) Processing device
JPS59188900A (en) Data processor
JPS62237544A (en) Memory access controller
JPS6049331B2 (en) Information processing device with read-only control storage section and rewritable control storage section
JPS6250854B2 (en)
JPS6320631A (en) Register selecting system
JPS6237413B2 (en)
JPH0520052A (en) Microgram controller