JPS60103453A - Electronic computer device - Google Patents

Electronic computer device

Info

Publication number
JPS60103453A
JPS60103453A JP21016183A JP21016183A JPS60103453A JP S60103453 A JPS60103453 A JP S60103453A JP 21016183 A JP21016183 A JP 21016183A JP 21016183 A JP21016183 A JP 21016183A JP S60103453 A JPS60103453 A JP S60103453A
Authority
JP
Japan
Prior art keywords
branch
instruction
register
comparison
contents
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
JP21016183A
Other languages
Japanese (ja)
Inventor
Masaaki Kobayashi
正明 小林
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP21016183A priority Critical patent/JPS60103453A/en
Publication of JPS60103453A publication Critical patent/JPS60103453A/en
Pending legal-status Critical Current

Links

Landscapes

  • Executing Machine-Instructions (AREA)
  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To improve the efficiency of an electronic computer having a multi-direction branch instruction by decreasing the number of branch destinations described at an operand part of instruction one by one for each comparison of the branch conditions and performing a branching action when the coincidence is obtained with the designated conditions when the number of said branch destination is not zero. CONSTITUTION:An instruction 29 is fed to an instruction register 7 from a memory 17 by a reading action of the instruction. Then the number of branch destinations is supplied to a counter register 8 since the instruction fed next is equal to a multi-direction branch instruction. The contents of the register 8 are compared with ''0'' by a comparator 10. When the result of this comparison is ''0'', a controller 6 finishes the processing of the multi-direction branch instruction and shifts the processing to the next instruction. While the controller 6 feeds the branch instructions to a branch condition comparator 13 when the result of comparison is not ''0''. Then the branch conditions are compared with a general-purpose register 12. When no coincidence is obtained between both values, the contents of the register 8 are reduced by ''1'' by an arithmetic device 9. While the value of the branch address is fed to an arithmetic device 15 from the memory 17 when the coincidence is obtained between both values. The value of said branch address is added to a program counter 16 to obtain the address of the branch destination and to feed it to the counter 16 for branching action.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、高級言語で書かれたプログラム特に多方向へ
分岐させるプログラムを効率良く実Tテするだめの多方
向分岐命令を有した電子計算機に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an electronic computer having multi-directional branch instructions for efficiently executing programs written in a high-level language, especially programs that branch in multiple directions. It is.

従来例の構成とその問題点 近年、電子計算機装置のプログラミングには、PASC
AL、FORTRANやC等の高級言語が多く用いられ
ている。これらの言語で書かれたプログラムはコンパイ
ラと呼ばれる翻訳プログラムにより機械語またはアセン
ブラ言語に変換され、実行されているが、現状の高級言
語の命令と機械語の命令間には大きな能力の差があり多
くの場合、高級言語の1命令が複数の機械語に翻訳され
プログラム効率、実行速度の遅さ等の問題が発生してい
る。
Conventional configuration and its problems In recent years, PASC has been used for programming electronic computer equipment.
High-level languages such as AL, FORTRAN, and C are often used. Programs written in these languages are converted into machine language or assembly language by a translation program called a compiler and executed, but there is a large difference in ability between the current high-level language instructions and machine language instructions. In many cases, one instruction in a high-level language is translated into multiple machine languages, causing problems such as slow program efficiency and execution speed.

このため、高級言語の命令の機能に近い機JrJ&gr
:命令を備える等の割算機の命令の高機能化力;求めら
れている。
For this reason, the machine JrJ&gr
: Ability to improve the functionality of divider instructions, such as by providing instructions; required.

以下に従来の電子計算機装置について説明する。A conventional electronic computer device will be explained below.

第1図は従来の電子計算機装置の構成を示すもので、1
は制御装置、2は命令レジスタ、3は汎用レジスタ、4
は演算装置、5は記憶装置である。
Figure 1 shows the configuration of a conventional electronic computer device.
is a control device, 2 is an instruction register, 3 is a general-purpose register, 4
is an arithmetic unit, and 5 is a storage device.

第1図に示した従来の電子計算機装置の動作は記憶装置
5から命令を取り出しこの命令を命令レジスタ2に代入
し、これを制御装置1が解読して演算装置4.汎用レジ
スタ3.記憶装置6等を制御して命令を実行している。
The operation of the conventional electronic computer device shown in FIG. 1 is to take an instruction from the storage device 5 and assign this instruction to the instruction register 2, which is decoded by the control device 1 and then transferred to the arithmetic device 4. General purpose register 3. It executes instructions by controlling the storage device 6 and the like.

しかしながら上記のような構成では、多方向−・分岐す
る動作を行う場合、例えばPASCALのcase文や
C言語のswi tah文を実行する場合、比較命令と
分岐命令を交互にくり返し記述することにより実現して
いる。このためプログラム量の増大、アルゴリズムの複
雑化、プログラムの実行速度の低下等の問題点を有して
いた。
However, in the above configuration, when performing a multi-directional branching operation, for example, when executing a PASCAL case statement or a C language swi tah statement, this can be achieved by repeatedly writing comparison instructions and branch instructions alternately. are doing. This has resulted in problems such as an increase in the amount of programs, a complicated algorithm, and a decrease in program execution speed.

従来のプログラムを示すため、第2図に示す命令セット
と汎用レジスタL1および2オペランド命令を有する電
子計算機装置の例で説明する。
To illustrate a conventional program, an example of an electronic computer device having an instruction set shown in FIG. 2, a general-purpose register L1, and two-operand instructions will be described.

例として第3図にPASCAL で記述された多方向分
岐命令(case文)と第4図にCi語で記述された多
方向分岐命令(5w1tch文)を示す。第3図。
As an example, FIG. 3 shows a multi-directional branch instruction (case statement) written in PASCAL, and FIG. 4 shows a multi-directional branch instruction (5wltch statement) written in Ci language. Figure 3.

第4図のプログラムは同じ処理を表わしており、変数o
pの値が各定数の値(congtlからconst4)
のいずれかと等しい時、一致した定数の示す文を実行し
一致しない場合は何も処理を行わないことを示している
The program in Figure 4 represents the same process, with the variable o
The value of p is the value of each constant (congtl to const4)
When equal to one of the constants, the statement indicated by the matching constant is executed, and if there is no match, no processing is performed.

第3図、第4図のプログラムを従来の電子計算機装置の
命令で記述した例を第6図に示す。第6図のプログラム
は変数Opの値をレジスタL1ヘロードしその値を各定
数(constlからconst4)と比較し、一致し
た所で条件分岐命令を用いて各ラベル(Labe? 1
 からLabet4) ヘ分岐し、一致しない場合La
beA5へ分岐する。これらの機械語より第3図、第4
図の多方向分岐命令を実現しているが、第6図のプログ
ラムから明らかなように同じ命令をくり返し使用するこ
とによりプログラム量の増加やそれに伴う実行速度の低
下等の問題点を示している。
FIG. 6 shows an example in which the programs shown in FIGS. 3 and 4 are written using instructions for a conventional electronic computer device. The program in Figure 6 loads the value of variable Op into register L1, compares the value with each constant (constl to const4), and when they match, uses a conditional branch instruction to load each label (Labe? 1).
Branch from Labet4), and if there is no match, La
Branch to beA5. From these machine words, Figures 3 and 4
Although the multi-directional branch instruction shown in the figure is implemented, as is clear from the program in Figure 6, the repeated use of the same instruction causes problems such as an increase in program size and a corresponding decrease in execution speed. .

発明の目的 本発明は上記従来の問題点を解消するもので、高級言語
の多方向分岐命令の処理に対して、プログラムサイズを
従来より減少し、機械語を生成するコンパイラの負担を
軽減化し、さらにプログラムの実行時間を向上させるこ
とができる電子計算゛機装買をJフO供することを目的
とする。
OBJECTS OF THE INVENTION The present invention solves the above-mentioned conventional problems, and reduces the program size for processing multi-directional branch instructions in high-level languages compared to the conventional one, and reduces the burden on the compiler that generates machine language. Furthermore, it is an object of the present invention to provide electronic computing equipment that can improve program execution time.

発明の構成 本発明は、命令のオペランド部で記述された分岐先の数
を記憶し分岐条件を1回比較するごとに記憶した内容を
1減少させ、その内容をOと比較しその結果を制御装置
へ伝える比較分岐制御手段と、オペランド部で記述され
た分岐条件とオペランド部で指定された汎用レジスタと
の内容を比較しその結果を制御装置へ伝える条件比較手
段と、オペランド部で記述された分岐先のアドレスを計
算する分岐先アドレス引算手段を備え、複数個の分岐先
のアドレスと各分岐先に対応する分岐条件と分岐先の個
数を指定して前記分岐条件と前記汎用レジスタの内容が
一致する時、対応する分岐先へ分岐する電子計算機装置
であり、高級言語の多方向分岐命令の実行において、プ
ログラムサイズの減少、プログラムの実行速度の向上、
コンパイラの負41!の軽減化を図ることのできるもの
である。
Structure of the Invention The present invention stores the number of branch destinations described in the operand part of an instruction, decreases the stored content by 1 each time the branch condition is compared, and compares the content with O to control the result. A comparison branch control means that communicates to the device, a condition comparison means that compares the branch condition written in the operand section with the contents of the general-purpose register specified in the operand section, and conveys the result to the control device; A branch destination address subtraction means for calculating a branch destination address is provided, and a plurality of branch destination addresses, branch conditions corresponding to each branch destination, and the number of branch destinations are specified, and the branch condition and the contents of the general-purpose register are calculated. It is an electronic computer device that branches to the corresponding branch destination when the two match, and when executing multi-directional branch instructions in high-level languages, it reduces program size, improves program execution speed,
Compiler negative 41! It is possible to reduce the

実゛施例の説明 第6図は本発明の一実施例における電子計算機装置の構
成を示すものである。第6図において、6は計算機の動
作を制御する制御装置、7は命令レジスタ、8は分岐先
の個数を記憶するカウンタレジスタ、9はカウンタレジ
スタ8の内容を1減少させる定数演算装置、10はカウ
ンタレジスタ8の内容を0と比較しその結果を制御装置
6へ伝える比較装置、11は比較装置61oから制御装
置6への信号、12は汎用レジスタ、13は分岐条件の
値と汎用レジスタとの内容を比較しその結果を制御装置
6へ送る分岐条件比較装置、14は分岐比較装置13か
ら制御装置6への信号、16は分岐先のアドレスを計算
する演算装置、16はプログラムカウンタ、17は記憶
装置、18は制御装置6が電子計算機装置の制御を行う
ための制御信号である。
DESCRIPTION OF EMBODIMENTS FIG. 6 shows the configuration of an electronic computer device in an embodiment of the present invention. In FIG. 6, 6 is a control device that controls the operation of the computer, 7 is an instruction register, 8 is a counter register that stores the number of branch destinations, 9 is a constant arithmetic device that decreases the contents of the counter register 8 by 1, and 10 is a A comparison device that compares the contents of the counter register 8 with 0 and transmits the result to the control device 6, 11 is a signal from the comparison device 61o to the control device 6, 12 is a general-purpose register, and 13 is a link between the value of the branch condition and the general-purpose register. A branch condition comparison device that compares the contents and sends the result to the control device 6; 14 is a signal from the branch comparison device 13 to the control device 6; 16 is an arithmetic device that calculates a branch destination address; 16 is a program counter; 17 is a A storage device 18 is a control signal for the control device 6 to control the electronic computer device.

比較分岐制御機能は、第6図のカウンタレジスタ8.定
数演算装置9.比較装置10より構成され、条件比較機
能は分岐条件比較装[13より構成され、分岐先アドレ
ス計算機能は演算装置16とプログラムカウンタ16よ
り構成されている。
The comparison branch control function is performed by counter register 8. in FIG. Constant calculation device9. It consists of a comparison device 10, a condition comparison function consists of a branch condition comparison device [13], and a branch destination address calculation function consists of an arithmetic unit 16 and a program counter 16.

以上の」:うに構成された本実施例の電子計算機装置に
ついて以−[その動作を説明する。
The operation of the electronic computer device of this embodiment configured as above will be described below.

第7図は第6図で示した本実施例の電子計算機装置の多
方向分岐命令時の動作をフローチャー1・で表現したも
のであり、第8図は本実施例の電子言1f?機装置の持
つ多方向分岐命令を用いて第3図。
FIG. 7 is a flowchart 1 representing the operation of the electronic computer device of this embodiment shown in FIG. 6 at the time of a multi-directional branch instruction, and FIG. 8 is a flowchart 1. FIG.

第4図のプログラムを表現したものであり、第9図は第
8図の多方向分岐命令のメモリ上での配置を示したもの
であり、これらを用いて説明を行う。
This is a representation of the program shown in FIG. 4, and FIG. 9 shows the arrangement of the multidirectional branch instruction shown in FIG. 8 in memory, and the explanation will be made using these.

第8図において、26のCASEから28の命令寸でか
本実施例の多方向分岐命令であり、26のCASEに続
く1,4はそれぞれレジスタL1を参照すること、分岐
条件の数が4であることを示し、27の命令は定数値(
constl )に対し分岐先アドレス(Labetl
 )が対応することを示している。
In FIG. 8, 26 CASE to 28 instructions are the multi-directional branch instructions of this embodiment, 1 and 4 following 26 CASE refer to register L1, and the number of branch conditions is 4. 27 instructions have a constant value (
constl) to the branch destination address (Labetl)
) indicates that it corresponds.

第9図において、29は多方向分岐命令を示す命令コー
ドと参照するレジスタ番号を示し、30は分岐先の数(
第8図の命令の場合4の値)を示し7.31は分岐条件
である定数値(第8図の命令の場合congt1)を示
し、32は分岐先アドレス(第8図の命令の場合Lab
et1 )を示し、分岐条件と分岐先アドレスは組とな
り、分岐先数組メモリ上に用意されていることを示して
いる。
In FIG. 9, 29 indicates the instruction code indicating a multi-directional branch instruction and the reference register number, and 30 indicates the number of branch destinations (
7.31 indicates a constant value that is a branch condition (congt1 in the case of the instruction in FIG. 8), and 32 indicates the branch destination address (value 4 in the case of the instruction in FIG. 8).
et1), indicating that the branch condition and the branch destination address form a set, and that several sets of branch destinations are prepared on the memory.

本実施例の電子計算機装置の多方向分岐命令の動作を説
明する。第7図のフローチャー1・において、19は命
令の読み込み動作で命令レジスタ7に記憶装置17から
命令29が入力される。次に20は、入力された命令が
多方向分岐命令であるためカウンタレジスタ8へ分岐先
の数(第9図の30の値)を人力する。次に21は、カ
ウンタレジスタ8の内容を比較装置10を用いてOと比
較しその結果を制御装置6へ伝える。制御装置6は、カ
ウンタレジスタ8の内容が0の場合、多方向分岐命令の
処理を終了し次の命令へ処理を移す。Oでない場合は、
22の処理へ移す。22は分岐条件比較装置13へ分岐
条件(第9図の31の値)を入力し、命令(第8図の2
6)で指定された汎用レジスタ12(第8図の命令の場
合レジスタL1)の内容と比較し、その結果を制御装置
6へ伝える。
The operation of the multidirectional branch instruction of the electronic computer device of this embodiment will be explained. In flowchart 1 in FIG. 7, 19 is an instruction reading operation, and an instruction 29 is input from the storage device 17 to the instruction register 7. Next, at 20, since the input instruction is a multi-directional branch instruction, the number of branch destinations (value 30 in FIG. 9) is manually entered into the counter register 8. Next, 21 compares the contents of the counter register 8 with O using the comparison device 10 and transmits the result to the control device 6. If the content of the counter register 8 is 0, the control device 6 ends the processing of the multi-directional branch instruction and moves on to the next instruction. If not O,
Proceed to step 22. 22 inputs the branch condition (value 31 in FIG. 9) to the branch condition comparison device 13, and
6) is compared with the contents of the general-purpose register 12 (register L1 in the case of the instruction in FIG. 8), and the result is transmitted to the control device 6.

制御装置6は、値が異なる時、カウンタレジスタ8の内
容を定数演算装置9を用いて1減少させ21へ処理をも
どす。値が同じ時、24の処理へ移す。
When the values differ, the control device 6 decrements the contents of the counter register 8 by 1 using the constant arithmetic device 9 and returns the process to step 21. If the values are the same, proceed to step 24.

24は、分岐先アドレスの値(例えば第9図の32.3
3等の値)を記憶装置17から演算装置16に入力し、
プログラムカウンタ16の値と共に加算し分岐すべき実
際のアドレスを得る。次に26の処理は、演算装置16
で割算された実際の分岐アドレスをプログラムカウンタ
16へ入力することにより分岐を行いこれにより多方向
分岐が行われる。第6図と第8図に示すプログラムを比
べて明らかなように、第8図に7J(ず本実施例で用い
たプログラムのほうが、プログラムステップ数。
24 is the value of the branch destination address (for example, 32.3 in Figure 9).
3 etc.) from the storage device 17 to the arithmetic device 16,
It is added together with the value of the program counter 16 to obtain the actual address to branch to. Next, the processing of 26 is performed by the arithmetic unit 16.
A branch is performed by inputting the actual branch address divided by 2 to the program counter 16, thereby performing a multi-way branch. As is clear from comparing the programs shown in FIG. 6 and FIG. 8, the number of program steps in the program used in this embodiment is 7J (7J) in FIG.

プログラムサイズとも減少している。Program size has also decreased.

以上のように本実施例によれば、命令のオペランド部で
記述された分岐先の数を記憶するカウンタレジスタ8と
分岐条件を1回比較するごとにカウンタレジスタ8の内
容を1減少させる定数演算装置9とカウンタレジスタ8
の内容を0と比較しその結果を制御装置6へ伝える比較
装置10とメーペランド部で記述された分岐条件、とオ
ペランド部で指定された汎用レジスタ12との内容を比
較し、その結果を制御装置へ伝える分岐条件比較装置1
3と、オペランド部で記述された分岐先アドレスを計算
しプログラムカウンタ16へ入力する演算装置13を備
え、複数個の分岐先アドレスとそtしに対応する分岐条
件と分岐先の個数を指定して前記分岐条件と汎用レジス
タ12の内容が一致する時、対応する分岐先へ分岐する
多方向分岐命令を実イテすることにより、プログラムス
テップ数、プログラムサイズの減少とそれに伴うプログ
ラムの実行速度の向上を図ることができる。
As described above, according to the present embodiment, the constant operation reduces the contents of the counter register 8 by 1 each time the branch condition is compared with the counter register 8 that stores the number of branch destinations written in the operand part of the instruction. Device 9 and counter register 8
A comparison device 10 compares the contents of 0 with 0 and transmits the result to the control device 6, compares the branch condition written in the mapper land section with the contents of the general-purpose register 12 specified in the operand section, and transmits the result to the control device 6. Branch condition comparison device 1
3, and an arithmetic unit 13 that calculates the branch destination address written in the operand section and inputs it to the program counter 16, and specifies a plurality of branch destination addresses, corresponding branch conditions, and the number of branch destinations. By actually executing a multi-directional branch instruction that branches to the corresponding branch destination when the branch condition matches the contents of the general-purpose register 12, the number of program steps and program size can be reduced and the program execution speed can be improved accordingly. can be achieved.

発明の効果 本発明の電子計算機装置は、命令のメーベランド部で記
述された分岐先の数を記憶し分岐条件を1回比較するご
とに記憶した内容を1減少させ、その内容を0と比較し
その結果を制御装置へ伝える比較分岐制御手段とオペラ
ンド部で記述された分岐条件とオペランド部で指定され
た汎用レジスタとの内容を比較しその結果を制御装置へ
伝える条件比較手段と、オペランド部で記述された分岐
先のアドレスを計算する分岐先アドレスS1算手段を備
え、複数個の分岐先アドレスとそれに対応する分岐条件
と分岐先の個数を指定して前記分岐条件と汎用レジスタ
の内容が一致する時、対応する分岐先へ分岐する命令を
実行することにより、プログラムサイズを従来より減少
させ、機械語を生成するコンパイラの負担を軽減し、高
級言語の命令に対する機械語をハードウェアで実現する
ことに、Lリプログラムの実行時間を向1:させること
ができ、その実用的効果は大きい。
Effects of the Invention The electronic computer device of the present invention memorizes the number of branch destinations described in the maybeland part of an instruction, decreases the stored content by 1 each time the branch conditions are compared, and compares the stored content with 0. A comparison branch control means for transmitting the result to the control device, a condition comparison means for comparing the contents of the branch condition written in the operand section and the general-purpose register specified in the operand section, and transmitting the result to the control device; It is equipped with a branch destination address S1 calculating means for calculating the address of the described branch destination, and specifies a plurality of branch destination addresses, corresponding branch conditions, and the number of branch destinations so that the branch conditions and the contents of the general-purpose register match. By executing an instruction to branch to the corresponding branch destination when executing a program, the program size can be reduced compared to before, the burden on the compiler that generates machine language can be reduced, and machine language for high-level language instructions can be realized in hardware. In particular, the execution time of L reprogramming can be reduced by 1:0, which has a great practical effect.

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

第1図は従来の電子語算機装置のブロック図、第2図は
従来例の電子側算機装置の命令上ットを示す図、第3図
はPASCALで記述した多方向分岐命令の例を示す図
、第4図はC言語で記述した多方向分岐命令の例を示す
図、第6図は第3図や第4図の多方向分岐命令を従来の
電子用算機装置の命令を用いて記述したプログラムを示
す図、第6図は本発明の一実施例における電子t1豹機
装置古のブロック構成図、第7図は第6図で小した本実
施例の電子側算機装置の多方向分岐命令時の動作を示す
フローチャート、第8図は第3図や?84図の多方向分
岐命令を本発明の一実施例による電r・31算機装置の
多方向分岐命令を用いて記述したプログラムを示す図、
第9図は第8図で小した本実施例の電子i−1算機装置
の多方向分岐命令の記憶装置6」二の配置を示した図で
ある。 6・・・・・・制御装置、7・・・・・・命令レジスタ
、8・・・・・・カウンタレジスタ、9・・・・・・定
数演算装FI′、10・・・・・・比較装置、12・・
・・・・汎用レジスタ、13・・・・・・分岐条件比較
装置、16・・・・・・演算装置、16・・・・・プロ
グラムカウンタ、17・・・・・・記憶装置。 代lli人の氏名 弁理士 中 尾 敏 男 ほか1名
2図 3 図 第 4 図 PASCAL C 第Sill 却 7 図 第81!l 第9図
Fig. 1 is a block diagram of a conventional electronic computer device, Fig. 2 is a diagram showing an instruction input of a conventional electronic computer device, and Fig. 3 is an example of a multi-directional branch instruction written in PASCAL. Figure 4 is a diagram showing an example of a multi-directional branch instruction written in C language, and Figure 6 is a diagram showing an example of a multi-directional branch instruction written in C language. FIG. 6 is a block diagram of an old electronic t1 machine device according to an embodiment of the present invention, and FIG. 7 is a diagram showing the electronic side computer device of this embodiment, which is a smaller version of FIG. 6. A flowchart showing the operation at the time of a multi-directional branch instruction, Figure 8 is similar to Figure 3. 84 is a diagram showing a program in which the multi-directional branch instruction of FIG. 84 is written using the multi-directional branch instruction of the electric r.
FIG. 9 is a diagram showing the arrangement of the multi-directional branch instruction storage device 6''2 of the electronic i-1 computer device of this embodiment, which is smaller than that shown in FIG. 8. 6... Control device, 7... Instruction register, 8... Counter register, 9... Constant arithmetic unit FI', 10... Comparison device, 12...
... General purpose register, 13 ... Branch condition comparison device, 16 ... Arithmetic device, 16 ... Program counter, 17 ... Storage device. Name of representative: Patent attorney Toshio Nakao and one other person 2 Figure 3 Figure 4 PASCAL C Sill 7 Figure 81! l Figure 9

Claims (1)

【特許請求の範囲】[Claims] 命令のオペランド部で記述された分岐先の数を記憶し分
岐条件を1回比較するごとに記憶した内容を1減少させ
、その内容を0と比較しその結果を制御装置へ伝える比
較分岐制御手段とオペランド部で記述された分岐条件と
オペランド部で指定された汎用レジスタとの内容を比較
しその結果を制御装置へ伝える条件比較手段と、オペラ
ンド部で記述された分岐先のアドレスを計算する分岐先
アドレス割算手段を備え、複数個の分岐先アドレスと各
分岐先に対応する分岐条件と分岐先の個数を指定して前
記分岐条件と前記汎用レジスタの内容が一致する時、対
応する分岐先へ分岐することを!待機とする電子t1算
機装置。
Comparison branch control means that stores the number of branch destinations described in the operand part of an instruction, decrements the stored content by 1 each time the branch conditions are compared, compares the content with 0, and transmits the result to the control device. A condition comparison means that compares the branch condition written in the operand section with the contents of the general-purpose register specified in the operand section and conveys the result to the control device, and a branch that calculates the address of the branch destination written in the operand section. A destination address dividing means is provided, and a plurality of branch destination addresses, a branch condition corresponding to each branch destination, and the number of branch destinations are specified, and when the branch condition and the contents of the general-purpose register match, the corresponding branch destination is specified. To branch out! Electronic t1 computer device on standby.
JP21016183A 1983-11-09 1983-11-09 Electronic computer device Pending JPS60103453A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21016183A JPS60103453A (en) 1983-11-09 1983-11-09 Electronic computer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21016183A JPS60103453A (en) 1983-11-09 1983-11-09 Electronic computer device

Publications (1)

Publication Number Publication Date
JPS60103453A true JPS60103453A (en) 1985-06-07

Family

ID=16584771

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21016183A Pending JPS60103453A (en) 1983-11-09 1983-11-09 Electronic computer device

Country Status (1)

Country Link
JP (1) JPS60103453A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01271840A (en) * 1988-04-22 1989-10-30 Matsushita Electric Ind Co Ltd Microcomputer
JPH07160513A (en) * 1993-12-13 1995-06-23 Nec Corp Multiply branched processing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01271840A (en) * 1988-04-22 1989-10-30 Matsushita Electric Ind Co Ltd Microcomputer
JPH07160513A (en) * 1993-12-13 1995-06-23 Nec Corp Multiply branched processing system

Similar Documents

Publication Publication Date Title
US5201056A (en) RISC microprocessor architecture with multi-bit tag extended instructions for selectively attaching tag from either instruction or input data to arithmetic operation output
EP0471191A2 (en) Data processor capable of simultaneous execution of two instructions
JPS623335A (en) Computer issuing comparison and unconditional clear instructions
JPH01161442A (en) Register save and recovery system
JPS60103453A (en) Electronic computer device
JPH07281890A (en) Instruction set and its executing method by microcomputer
JPS623336A (en) Conditional branch system
JPH06337792A (en) Program converting device and processor
CA1155231A (en) Pipelined digital processor arranged for conditional operation
EP0265948A2 (en) Data processor capable of immediately calculating branch address in relative address branch
JPS6051734B2 (en) Microprogram control method
JPS59146342A (en) Loop control system
JPS5922143A (en) Fast interpreter system
JP2722493B2 (en) Register allocation processing method
JP3658771B2 (en) Compiler device
JPS6116334A (en) Data processor
JPS59135550A (en) Address qualifying device
JPH047741A (en) Parallel arithmetic processors
JPH11296368A (en) Processor and compiler and instruction column converting device
JPH04167027A (en) Parallel arithmetic processing unit
JPS63186333A (en) Scheduling processing system for instruction to local branching instruction
JPH02236775A (en) Compiler
JPS60220468A (en) Vector arithmetic control system
JPH038035A (en) System for checking parentheses correspondence relation
JPH01233523A (en) Electronic computer