Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS6032207B2 - Branch control circuit - Google Patents
[go: Go Back, main page]

JPS6032207B2 - Branch control circuit - Google Patents

Branch control circuit

Info

Publication number
JPS6032207B2
JPS6032207B2 JP55112070A JP11207080A JPS6032207B2 JP S6032207 B2 JPS6032207 B2 JP S6032207B2 JP 55112070 A JP55112070 A JP 55112070A JP 11207080 A JP11207080 A JP 11207080A JP S6032207 B2 JPS6032207 B2 JP S6032207B2
Authority
JP
Japan
Prior art keywords
branch
data
instruction
processing
program
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
JP55112070A
Other languages
Japanese (ja)
Other versions
JPS5736348A (en
Inventor
明 鈴木
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.)
Toshiba Corp
Original Assignee
Tokyo Shibaura Electric 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 Tokyo Shibaura Electric Co Ltd filed Critical Tokyo Shibaura Electric Co Ltd
Priority to JP55112070A priority Critical patent/JPS6032207B2/en
Publication of JPS5736348A publication Critical patent/JPS5736348A/en
Publication of JPS6032207B2 publication Critical patent/JPS6032207B2/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30003Arrangements for executing specific machine instructions
    • G06F9/3005Arrangements for executing specific machine instructions to perform operations for flow control
    • G06F9/30054Unconditional branch instructions

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Executing Machine-Instructions (AREA)

Description

【発明の詳細な説明】 本発明は、例えばマイクロコンピュータに内蔵される分
岐制御回路に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a branch control circuit built into, for example, a microcomputer.

従来、マイクロコンピュータに内蔵された分岐制御回路
において、分岐制御動作を行なわせるには、分岐動作毎
にプログラム中に分岐命令を必ず入れる必要がある。
Conventionally, in order to perform a branch control operation in a branch control circuit built into a microcomputer, it is necessary to insert a branch instruction into a program for each branch operation.

例えば、プログラム上で基本的な処理は同一であるが、
目的動作によりその処理のためにデータをいくつか変え
る必要がある場合には、データ1個ごとに共通ルーチン
に行かせるための分岐命令を必要とする。またプログラ
ム上で共通ルーチンがいくつかあり、その共通ルーチン
の間で目的動作により処理内容が異なる場合に、これら
異なる処理への分岐条件コードを1つ1つプログラムす
る必要があるとともにその分岐条件コード設定ごとに分
岐命令を入れる必要があった。したがって従来の分岐制
御回路では、プログラムワード数(ステップ数)が増大
するといった欠点を有していた。本発明は上記の欠点を
解消するためになされたもので、所定の命令を連続して
プログラムすることにより、自動的に必要なデータある
いは分岐条件コードを生成して目的の処理ルーチンヘプ
ロセッサの処理を移させる手段も設けることによって、
上記データ毎あるし、分岐条件コード毎の分岐命令をな
くし、プログラムのワード数(ステップ数)を大幅に節
減できる分岐制御回路を提供することを目的とする。
For example, although the basic processing on the program is the same,
If it is necessary to change some data for processing depending on the target operation, a branch instruction is required to send each piece of data to a common routine. In addition, if there are several common routines in a program and the processing content differs depending on the purpose operation among the common routines, it is necessary to program the branch condition codes for these different processes one by one, and the branch condition code It was necessary to insert a branch instruction for each setting. Therefore, the conventional branch control circuit has the disadvantage that the number of program words (number of steps) increases. The present invention has been made to solve the above-mentioned drawbacks, and by sequentially programming predetermined instructions, necessary data or branch condition codes are automatically generated and the processor processes the target processing routine. By also providing a means to transfer the
It is an object of the present invention to provide a branch control circuit that eliminates the branch instruction for each data and branch condition code, and can significantly reduce the number of words (number of steps) of a program.

以下、図面を参照して本発明の一実施例を説明する。Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の分岐制御回路を示しており、11a,
11bは命令入力端子で、入力様子11aは後述するN
レジスタヘデータをセットするためのNSET命令が加
えられ、入力端子11bはデータをインクリメントする
ためのDINC命令が加えられる。12はゲート制御回
路で、このゲート制御回路12は前記NSET命令と第
2基本同期宿号め2とのァンドをとるアンド回路13、
第2基本同期信号?2とィンバ−夕14により反転され
たNSET命令とのアンドをとるアンド回路15、およ
び前記アンド回路13の出力によりセットされ、アンド
回路15の出力によりセットされるフリップフロップ1
6とで構成されており、NSET命令が伝達されると第
2基本同期信号少2の立ち上りでフリツプフロツプ16
からセット出力が送出する。
FIG. 1 shows a branch control circuit of the present invention, 11a,
11b is a command input terminal, and the input state 11a is N, which will be described later.
An NSET command is applied to set data in the register, and a DINC command is applied to the input terminal 11b to increment the data. 12 is a gate control circuit, and this gate control circuit 12 includes an AND circuit 13 for ANDing the NSET command and the second basic synchronization code 2;
Second basic synchronization signal? 2 and the NSET instruction inverted by the inverter 14, and a flip-flop 1 which is set by the output of the AND circuit 13 and set by the output of the AND circuit 15.
6, and when the NSET command is transmitted, the flip-flop 16 is activated at the rising edge of the second basic synchronization signal 2.
A set output is sent from.

17はカウンタ制御回路で、このカウンタ制御回路17
は前記PINC命令と第1基本同期信号?,とのアンド
をとるアンド回路18、前記第1基本同期信号ぐ,とィ
ンバータ19により反転されたDINC命令とのアンド
をとるアンド回路20で構成され、アンド回路18から
は後述するカウンタ21へのカウントデータを送出し、
アンド回路20からはカウンタ21をクリアするための
信号が送出される。
17 is a counter control circuit;
Is the PINC command and the first basic synchronization signal? , and an AND circuit 20 that takes an AND between the first basic synchronization signal and the DINC command inverted by the inverter 19. Send count data,
A signal for clearing the counter 21 is sent from the AND circuit 20.

21はカウン夕で、この力ゥンタ21は前言印INC命
令時に力ゥンタ内容をインクリメントされ、DINC命
令以外の時はクリアされる。
Reference numeral 21 denotes a counter, and the contents of this counter 21 are incremented at the time of the preceding INC command, and cleared at times other than the DINC command.

22はセレクタで、このセレクタ22は前記PINC命
令時にカウンタ2 1からの出力データを選択し、DI
NC命令以外の時はデータバス23上のデータを選択す
る。
22 is a selector which selects the output data from the counter 21 at the time of the PINC command and outputs the data from the DI
When the command is not an NC command, data on the data bus 23 is selected.

また、24はラツチパルスを作るためのゲート回路で、
このゲート回路24は前記NSET命令、フリツプフロ
ップ16の出力および第1基本同期信号少,のアンドを
とるアンド回路25と、前記DINC命令および第2基
本同期信号?2のアンドをとるアンド回路26と、これ
ら両アンド回路25,26の出力のオアをとるオア回路
27とで構成されている。さらに、28はNレジスタで
、このレジスタ28は前記ゲート回路24からラツチパ
ルスによってセレクタ22から出力データを格納する。
すなわち、NSET命令以外の命令を実行した後、最初
のNSET命令時のみセレクタ22で選択されたデータ
バス23上にデータをラッチし、DINC命令時にセレ
クタ22で選択されたカウンタ21の内容がラッチされ
る。なお、このNSET命令が連続した場合には、最初
のNSET命令でラッチされたデータがNレジスタ28
に格納される。また、29はNレジスタ28の内容であ
る分岐条件コ−ドを判定して所定の処理先へ指示するた
めの分岐条件判定回路である。ここで、前記NSET命
令およびDINC命令のコードは、それぞれNSET命
令がオペレーションコードとnビットのオペランドで構
成され、DmC命令はオペレーションコードのみで構成
されている。
Also, 24 is a gate circuit for creating a latch pulse,
This gate circuit 24 includes an AND circuit 25 which takes the NSET command, the output of the flip-flop 16, and the first basic synchronization signal ?, and the DINC command and the second basic synchronization signal? It consists of an AND circuit 26 which takes an AND of 2, and an OR circuit 27 which takes an OR of the outputs of both the AND circuits 25 and 26. Furthermore, 28 is an N register, and this register 28 stores output data from the selector 22 in response to a latch pulse from the gate circuit 24.
That is, after executing an instruction other than the NSET instruction, data is latched onto the data bus 23 selected by the selector 22 only at the time of the first NSET instruction, and the contents of the counter 21 selected by the selector 22 are latched at the time of the DINC instruction. Ru. Note that when these NSET commands are executed consecutively, the data latched by the first NSET command is stored in the N register 28.
is stored in Further, 29 is a branch condition determination circuit for determining the branch condition code contained in the N register 28 and instructing a predetermined processing destination. Here, the codes of the NSET instruction and the DINC instruction are each composed of an operation code and an n-bit operand for the NSET instruction, and only an operation code for the DmC instruction.

各命令と同期信号の関係は、第2図に示すように各命令
を実行するたの1命令サイクル中に第1の基本同期信号
?,と第2の基本同期信号?2とが発生し、第1の基本
同期信号◇,は第2の基本同期信号ふ2 よりタイミン
グ的に先行している。次に、本分岐制御回路の特作を具
体的なプログラムに沿って説明する。
The relationship between each instruction and the synchronization signal is as shown in FIG. , and the second basic synchronization signal? 2 is generated, and the first basic synchronization signal ◇ precedes the second basic synchronization signal F2 in terms of timing. Next, the special feature of this branch control circuit will be explained along with a specific program.

第3図はプログラム上で基本的な処理は同一であるが、
目的によりその処理のためのデータをいくつか変える必
要がある場合におけるプログラムのフローチャートを示
している。このプログラムでは、いくつかのデータを連
続的にプログラムすることにより自動的に共通ルーチン
に入るので、データ1個ごとに共通ルーチンに行く為の
分岐命令を入れる必要がなくなっている。すなわち、第
1図のNレジスタ28にラッチされる値を上記処理のた
めのデータとして使用している。このようなデータをる
ために前記たNSET命令を、例えばステップS,,S
2,S3のように連続してプログラムしており、これら
のステップS,,S2,S3で得られたデータをもとに
ステップS4以降の共通ルーチンで目的処理を行なうよ
うにしている。なお、図中a,b,cはメインプログラ
ムの分岐命令に使用される他の処理ルーチンから目的の
データにもとづく共通ルーチンの処理を実行させるため
の飛び先指標である。例えば今、マイクロコンピュータ
のプロセッサの処理がメインプログラムの他のルーチン
から飛び先指標Cに移行すると、NSET命令が第1図
の入力端子11aに加えられるので、セットされている
フリツプフロツプ16のセット出力とこのNSET命令
によって第1の基本同期信号?・のタイミングでアンド
回路25から“1”レベルの信号が出力され、この“1
”レベルの信号はオア回路27を介してNレジスタ28
にラッチパルスとして伝達される。このラツチパルスに
よってデータバス23上にあるデータ比がセレクタ22
を通じてレジスタ28にラツチされる。したがって、こ
のデータn3はバスAを通じてデータバス23に伝達さ
れる。この時、プロセッサの処理はステップS4に入っ
ているので、データバス23上に伝送されてきたデータ
〜を呼び込んだ後、共通ルーチンの処理を実行する。同
様にプロセッサのプログラム処理が飛び先指標aに移行
した時は、NSET命令によってステップS,でNレジ
スタ28にデータn,がラツチされる。ステップS2、
ステップS3におけるNSET命令はアンド回路16に
て“0”レベルの出力となり、フリツプフロツプ16は
リセットされず夕(すなわちNSET命令が連続的に入
っている限りフリツプフロツプ16はリセットされない
)、ゲート回路24からはラツチパルスは出力されない
のでNレジスタ28は最初にステップS,でのNSET
命令によってラッチされたデータn,を保持Zする。そ
して、プロセッサの処理は次のステップS4に進むと、
ここで前述同様データn,をもとに共通ルーチンを実行
する。プロセッサのプログラム処理が飛び先指標bに移
行した時は前述同様Nレジスタ28はデータ比を保持し
、このデータn2をZもとに共通ルーチンの実行処理を
行なう。上記の第3図のプログラムでは、従来の場合に
はステップS,,S2の間にそれぞれ共通ルーチンに無
条件ジャンプさせるための分岐命令が必要であったが、
本回路を用いることによつりこのデータ2毎の分岐命令
をなくすることができ、処理データが多数になるほど従
来に比べプログラムのワード数を大幅に減らすことがで
きる。
In Figure 3, the basic processing on the program is the same, but
This figure shows a flowchart of a program when it is necessary to change some data for processing depending on the purpose. In this program, the common routine is automatically entered by sequentially programming several pieces of data, so there is no need to insert a branch instruction to go to the common routine for each piece of data. That is, the value latched in the N register 28 in FIG. 1 is used as data for the above processing. To obtain such data, the NSET command described above is executed in steps S, ,S, etc.
2 and S3 are sequentially programmed, and the target processing is performed in a common routine starting from step S4 based on the data obtained in these steps S, , S2, and S3. Note that a, b, and c in the figure are jump destination indicators for executing processing of a common routine based on target data from other processing routines used for branch instructions of the main program. For example, when the processing of the microcomputer processor moves from another routine of the main program to the jump destination index C, the NSET command is applied to the input terminal 11a in FIG. The first basic synchronization signal by this NSET command? A “1” level signal is output from the AND circuit 25 at the timing of “1”.
” level signal is sent to the N register 28 via the OR circuit 27.
is transmitted as a latch pulse. This latch pulse causes the data ratio on the data bus 23 to change to the selector 22.
is latched into register 28 through. Therefore, this data n3 is transmitted to data bus 23 through bus A. At this time, the processing of the processor has entered step S4, so after reading the data transmitted on the data bus 23, the processing of the common routine is executed. Similarly, when the program processing of the processor moves to the jump destination index a, data n is latched into the N register 28 in step S by the NSET command. Step S2,
The NSET command in step S3 is outputted from the AND circuit 16 at the "0" level, and the flip-flop 16 is not reset (that is, as long as the NSET command is continuously input, the flip-flop 16 is not reset). Since the latch pulse is not output, the N register 28 is first set to NSET at step S.
The data n latched by the instruction is held. Then, when the processing of the processor proceeds to the next step S4,
Here, a common routine is executed based on data n, as described above. When the program processing of the processor moves to the destination index b, the N register 28 holds the data ratio as described above, and the common routine is executed based on this data n2. In the program shown in Fig. 3 above, in the conventional case, a branch instruction was required to unconditionally jump to the common routine between steps S, S2, respectively.
By using this circuit, it is possible to eliminate the branch instruction for every 2 pieces of data, and as the amount of data to be processed increases, the number of words in the program can be significantly reduced compared to the conventional method.

第4図はプログラム上で共通ルーチンがいくつかあり、
その共通ルーチソの間で目的により処理内容が異なる場
合におけるプログラムのフローチャートを示している。
Figure 4 shows that there are several common routines in the program.
This figure shows a flowchart of a program when processing contents differ depending on the purpose among the common routine tools.

このプログラムでは、所定の命令コードを連続的に入れ
ることにより分岐条件コードを自動的に生成し、異なる
処理への分岐条件コードを1つ1つプログラムする必要
がなく、しかもそのコード設定命令(この場合DmC命
令)ごとに分岐命令を入れる必要がなくなっている。す
なわち、第1図のNレジスタ28にラツチされる値を分
岐条件コードとして前記異なる処理のために使用してい
る。このような分岐条件コードを得るために、例えば異
なる処理が3つある場合には前記したDINC命令をス
テップS,,S2,S3のように連続してプログラムし
ており、これらのステップS,,S2,S3で得られた
分岐条件コードをもとに判定回路29で判定れた判定条
件に従って異なる処理(処理A,B,C,D)を実行す
るようにしている。なお、プログラム中のa,b,c,
dは前述同様のメインプログラムからの飛び先指標であ
る。プロセッサの処理が飛び先指標dに移行すると、第
1図の入力端子11bにはDINC命令が到釆せず、し
たがってカウンタ21の内容は“0”であるのでNレジ
スタ28には第2の基本同期信号少2のタイミングで“
0”がラツチされる。このNレジスタ28の値が“0”
の場合には、判定回路29は共通ルーチンの処理Dのみ
でそれ以外の処理をプロセッサが実行しなおように指示
する。プロセッサの処理が飛び先指定cに移るとステッ
プS3にてDINC命令を実行する。すなわち、第1図
の入力端子11bにDINC命令が加えられるので、カ
ウンタ制御回路17のアンド回路18から第1基の本同
期信号?,のタイミングでカウンタデータが出力され、
カウンタ21はこれをカウンタしてその内容を“1”と
する。このカウンタ21の内容“1”はセレクタ22に
より選択されてNレジスタ28に格納される。ステップ
S5にてこのレジスタ28の内容は判定回路29で判定
され、例えば“1”の場合には処理Cが指定されるので
、マイクロプロセッサの処理は共通ルーチンの処理Dを
実行した後ステップS8の処理Cに移行する。同様に飛
び先指標bにプロセッサの処理が移行すると、ステップ
S2,S3における2つのDINC命令によってカウン
タ21の内容は“2”となっており、このカウンタ21
の内容“2”に応じてプロセッサ処理は共通ルーチンの
処理DからステップS6の処理Bに移行する。同様にプ
ロセッサ処理が飛び先指標aに移行すると、ステップS
,,S2,S3の3回のDINC命令によってカウンタ
21の内容は“3”となり、NOレジスタ28には“3
”がラッチされ、この内容“3”に応じてプロセッサは
共通ルーチンの処理DからのステップS7の処理Aを実
行する。なお、これらの処理A,B,C,Dを実行した
後、プロセッサはステップS9の共通ルーチンを実行し
てメタィンプログラムに復帰する。上記第4図のプログ
ラムでは、分岐条件コードを1つ1つセットする必要が
なく、DmC命令を連続して入れることにより自動的に
分岐条件コードを発生べき、しかもこの本発明毎に共通
ルーチ0ンへの分岐命令が不要となるので、大幅なプロ
グラムのワード数の節減が可能となる。
This program automatically generates branch condition codes by continuously inputting predetermined instruction codes, eliminating the need to program branch condition codes for different processes one by one. It is no longer necessary to insert a branch instruction for each DmC instruction). That is, the value latched in the N register 28 of FIG. 1 is used as a branch condition code for the different processing. In order to obtain such a branch condition code, for example, when there are three different processes, the above-mentioned DINC instructions are programmed consecutively as steps S, , S2, and S3. Different processes (processes A, B, C, and D) are executed according to the judgment conditions judged by the judgment circuit 29 based on the branch condition codes obtained in S2 and S3. In addition, a, b, c, in the program
d is a jump destination index from the main program as described above. When the processing of the processor shifts to the jump destination index d, the DINC instruction does not arrive at the input terminal 11b in FIG. At the timing of sync signal low 2 “
0” is latched.The value of this N register 28 is “0”.
In this case, the determination circuit 29 instructs the processor to re-execute the process D of the common routine and the other processes. When the processing of the processor moves to the jump destination designation c, a DINC instruction is executed in step S3. That is, since the DINC command is applied to the input terminal 11b in FIG. 1, the first main synchronization signal ? The counter data is output at the timing of ,
The counter 21 counts this and sets the content to "1". The content “1” of this counter 21 is selected by the selector 22 and stored in the N register 28. In step S5, the content of this register 28 is judged by the judgment circuit 29. For example, if it is "1", processing C is designated, so the microprocessor executes processing D of the common routine and then goes to step S8. The process moves to process C. Similarly, when the processing of the processor shifts to the jump destination index b, the content of the counter 21 becomes "2" due to the two DINC instructions in steps S2 and S3, and this counter 21
In response to the content "2", the processor process shifts from process D of the common routine to process B of step S6. Similarly, when the processor processing moves to the jump destination index a, step S
,, S2, S3 three times, the content of the counter 21 becomes "3", and the NO register 28 contains "3".
” is latched, and in response to the content “3”, the processor executes the process A of step S7 from process D of the common routine. Furthermore, after executing these processes A, B, C, and D, the processor Execute the common routine in step S9 and return to the metain program.In the program shown in FIG. In addition, since the present invention eliminates the need for a branch instruction to a common routine, the number of words in a program can be significantly reduced.

以上説明したように本発明によれば、共通ルーチンに必
要な異なるデータを所定の命令を連続してプログラムす
ることにより自働的に発生させる手段と、異なる共通ル
ーチン間での異なる処理を実行させるための分岐条件コ
ードを所定の命令を連続してプログラムすることにより
自動的に生成させる手段とを設けることによって、連続
したプログラムの任意の個所からスタートして自動的に
生成されたデータあるいは分岐条件コードに従って自動
的にプロセッサの処理を共通ルーチンあるいは異なる処
理へ移行し得るようにしているので、データ毎にあるい
は分岐条件コード設定毎に分岐命令を入れる必要がなく
As explained above, according to the present invention, there is a means for automatically generating different data necessary for a common routine by sequentially programming a predetermined command, and a means for automatically generating different data necessary for a common routine, and a means for executing different processing between different common routines. By providing a means for automatically generating branch condition codes by sequentially programming predetermined instructions, data or branch conditions that are automatically generated starting from any point in a continuous program can be automatically generated. Since the processor processing can be automatically transferred to a common routine or to a different processing according to the code, there is no need to insert a branch instruction for each data item or each setting of a branch condition code.

プログラムのワ−ド数(ステップ数)を大幅に減少し得
、プロセッサの効率を向上できる分岐制御回路を提供で
きる。
It is possible to provide a branch control circuit that can significantly reduce the number of words (number of steps) of a program and improve the efficiency of the processor.

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

第1図は本発明の一実施例に係る分岐制御回路図、第2
図は第1図の回路における命令と同期信号の関係を示す
タイムチャート、第3図および第4図はそれぞれ本回路
の具体的なプログラムのフローチャートである。 11a,11b・・・・・・入力端子、12…・・・ゲ
ート制御回路、16・・・・・・フリップフロップ、1
7・・・・・・カウンタ制御回路、21・・・…カゥン
タ、22・・.・・・セレク夕、23・・・・・・デー
タバス、24・・・・・・ゲート回路、28・・・・・
・Nレジスタ、29・・・・・・分岐制御回路。 第1図 第2図 第3図 第4図
FIG. 1 is a branch control circuit diagram according to an embodiment of the present invention, and FIG.
This figure is a time chart showing the relationship between commands and synchronization signals in the circuit of FIG. 1, and FIGS. 3 and 4 are flowcharts of specific programs of this circuit, respectively. 11a, 11b...Input terminal, 12...Gate control circuit, 16...Flip-flop, 1
7... Counter control circuit, 21... Counter, 22... ...Select item, 23...Data bus, 24...Gate circuit, 28...
・N register, 29...Branch control circuit. Figure 1 Figure 2 Figure 3 Figure 4

Claims (1)

【特許請求の範囲】[Claims] 1 マイクロコンピユータに内蔵され、分岐命令に基づ
いて所定の処理ルーチンへプログラムの処理を分岐させ
る分岐制御回路において、共通ルーチンに必要な異なる
データを所定の第1の命令を連続してプログラムするこ
とにより自動的に生成する手段と、異なる共通ルーチン
間での異なる処理を実行させるための分岐条件コードを
所定の第2の命令を連続してプログラムすることにより
自動的に生成する手段とを具備し、上記連続したプログ
ラムの任意の命令個所からスタートして前記生成手段に
より生成されたデータあるいは分岐条件コードに従つて
自動的に前記マイクロプロセツサの処理を共通ルーチン
あるいは異なる処理へ分岐させるようにし、前記データ
毎あるいは分岐条件コード設定毎に分岐命令をプログラ
ム中に入れることを不要としたことを特徴とする分岐制
御回路。
1. In a branch control circuit built into a microcomputer that branches program processing to a predetermined processing routine based on a branch instruction, different data necessary for a common routine is programmed in succession with a predetermined first instruction. and means for automatically generating a branch condition code for executing different processes between different common routines by sequentially programming a predetermined second instruction, Starting from an arbitrary instruction location in the continuous program, the processing of the microprocessor is automatically branched to a common routine or a different processing according to the data or branch condition code generated by the generating means, and A branch control circuit characterized in that it is not necessary to insert a branch instruction into a program for each data or each branch condition code setting.
JP55112070A 1980-08-14 1980-08-14 Branch control circuit Expired JPS6032207B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP55112070A JPS6032207B2 (en) 1980-08-14 1980-08-14 Branch control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP55112070A JPS6032207B2 (en) 1980-08-14 1980-08-14 Branch control circuit

Publications (2)

Publication Number Publication Date
JPS5736348A JPS5736348A (en) 1982-02-27
JPS6032207B2 true JPS6032207B2 (en) 1985-07-26

Family

ID=14577305

Family Applications (1)

Application Number Title Priority Date Filing Date
JP55112070A Expired JPS6032207B2 (en) 1980-08-14 1980-08-14 Branch control circuit

Country Status (1)

Country Link
JP (1) JPS6032207B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6041767B2 (en) * 1978-06-15 1985-09-18 松下電器産業株式会社 Instruction execution method
JPS553043A (en) * 1978-06-20 1980-01-10 Matsushita Electric Ind Co Ltd Microcomputer control circuit

Also Published As

Publication number Publication date
JPS5736348A (en) 1982-02-27

Similar Documents

Publication Publication Date Title
EP0045634B1 (en) Programmable digital data processing apparatus arranged for the execution of instructions in overlap
EP0149213A2 (en) Vector processor
US4833640A (en) Register bank change including register to register transfer in a data processing system
US5185880A (en) Stored instructions executing type timing signal generating system
EP0240606A2 (en) Pipe-line processing system and microprocessor using the system
EP0164418B1 (en) Microprogram control system
JPS6032207B2 (en) Branch control circuit
JPS62145435A (en) Microprocessor with concurrent processing instructions
JPS5896345A (en) Hierarchical calculation method
US5170339A (en) Control system for programmable control device
JPS6242301B2 (en)
JPS63141131A (en) Pipeline control system
JPS6116334A (en) Data processor
JPH0531193B2 (en)
JPS5854404B2 (en) Sequence control device
JP2747353B2 (en) Address generator
JPS6297031A (en) Matching system for bit number of mantissa part
JPS6318222B2 (en)
JPH0557615B2 (en)
JPH06100965B2 (en) Micro program controller
JPS59105110A (en) Programmable controller
JPH0194437A (en) Information processor
JPS6186806A (en) Digital control calculation method
JPH05334098A (en) Interrupt control method and interrupt control device
JPH08328879A (en) Task management system