JPH01205337A - Instruction control system - Google Patents

Instruction control system

Info

Publication number
JPH01205337A
JPH01205337A JP3017688A JP3017688A JPH01205337A JP H01205337 A JPH01205337 A JP H01205337A JP 3017688 A JP3017688 A JP 3017688A JP 3017688 A JP3017688 A JP 3017688A JP H01205337 A JPH01205337 A JP H01205337A
Authority
JP
Japan
Prior art keywords
instruction
integrated circuit
stored
area
group
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
JP3017688A
Other languages
Japanese (ja)
Inventor
Yoshikazu Yonezawa
米澤 禎和
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 JP3017688A priority Critical patent/JPH01205337A/en
Publication of JPH01205337A publication Critical patent/JPH01205337A/en
Pending legal-status Critical Current

Links

Landscapes

  • Executing Machine-Instructions (AREA)

Abstract

PURPOSE:To easily add optional number of new instructions of functions by permitting an integrated circuit computer to set the storage position of a leading instruction in a function instruction group by means of executing a specified instruction stored in the specified area of a storage device. CONSTITUTION:When the integrated circuit computer 10 stores the instruction to be executed in the area 201 of a mains storage device 20, it sequentially executes the instructions stored in the positions which an instruction execution order counter 101 indicates. The content of the counter 101 is sequentially altered with the execution processing of the instructions. A control part 103 sets the content of the counter 101 to be the storage position of the specified instruction to be executed next. The specified instruction shifts control to the function instruction group stored in the area 220. When the execution of the instructions terminates and the computer 10 executes the specified instruction, the control part 103 obtains the storage position of the instruction which is successively stored, and sets it in an instruction position preservation register 102. The control part 103 fetches the group number of the specified instruction and sets information showing the storage position in the counter 101. Thus, the new instructions can be added by the optional number.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は計算機の機能を一個の集積回路によって実現し
ている集積回路計算機に於ける命令制御方式に関し、特
に、新たな機能を実現する命令を容易に追加することが
できる命令制御方式に関す〔従来の技術〕 従来、集積回路計算機が利用者に与えることができる命
令の種類つまり一つの命令を使用して実現させ得る機能
はそのハードウェア及びハードウェアを制御するマイク
ロプログラムによって決定されていた。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to an instruction control method for an integrated circuit computer in which the functions of the computer are realized by a single integrated circuit, and in particular, the present invention relates to an instruction control system for an integrated circuit computer in which the functions of the computer are realized by a single integrated circuit. [Prior art] Conventionally, the types of instructions that an integrated circuit computer can provide to the user, that is, the functions that can be realized using one instruction, are based on the hardware of the integrated circuit computer. and the microprogram that controls the hardware.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来は上述したように、集積回路計算機が備えているハ
ードウェア及びハードウェアを制御するマイクロプログ
ラムによって、利用者に与えることができる命令機能が
決定されるため、新たな命令機能を提供するためには、
集積回路計′n機を構成するハードウェアやそれを制御
するマイクロプログラムを変更する必要があり、集積回
路計算機を作り直さなければならないという問題点があ
った。
Conventionally, as mentioned above, the instruction functions that can be given to the user are determined by the hardware included in an integrated circuit computer and the microprogram that controls the hardware. teeth,
There was a problem in that the hardware constituting the integrated circuit computer and the microprogram that controlled it had to be changed, and the integrated circuit computer had to be rebuilt.

本発明はこのような問題点を解決したものであり、その
目的は、集積回路計y1機を作り直すことなく、新たな
機能を提供する任意の数の命令を追加できるようにする
ことにある。
The present invention solves these problems, and its purpose is to make it possible to add any number of instructions that provide new functionality without having to rebuild the integrated circuit.

〔課題を解決するための手段〕[Means to solve the problem]

本発明はこのような問題点を解決するため、命令実行順
序カウンタに次に実行する命令の格納位置を設定し、該
命令実行順序カウンタに格納位置が設定された命令を実
行する毎に実行した命令に従って前記命令実行順序カウ
ンタの内容を更新することにより、命令の実行順序を管
理している集積回路計算機に於いて、 該集積回路計算機に接続される記憶装置に、前記集積回
路計算機が実行するプログラムが格納される第1の領域
と、 該第1の領域に格納されているプログラムから保護され
、前記集積回路計算機が一つの命令によって提供してい
ない機能を前記集積回路計算機が有している命令のみに
よって実現した機能命令群及び機能命令群の格納位置を
示す命令群格納位置表が格納される第2の領域とを設け
、 前記集積回路計算機に、 命令位置保存レジスタを設け、 前記集積回路計算機は前記第2の領域に格納されている
機能命令群の内の一つを指定した特定命令を実行するこ
とにより、前記第2の領域に格納されている命令群格納
位置表を参照して前記特定命令によって指定された機能
命令群の先頭の命令の格納位置を前記命令実行順序カウ
ンタに設定すると共に、前記特定命令に続いて前記第1
の領域に格納されている命令の格納位置を前記命令位置
保存レジスタに設定し、前記特定命令によって指定され
た機能命令群を構成する命令を全て実行することにより
、前記命令位置保存レジスタに保存されている内容を前
記命令実行順次カウンタに設定する。
In order to solve these problems, the present invention sets the storage location of the next instruction to be executed in an instruction execution order counter, and executes the instruction whose storage location is set in the instruction execution order counter every time the instruction is executed. In an integrated circuit computer that manages the execution order of instructions by updating the contents of the instruction execution order counter in accordance with the instruction, the integrated circuit computer stores information in a storage device connected to the integrated circuit computer that is executed by the integrated circuit computer. a first area in which a program is stored; and the integrated circuit computer has a function that is protected from the program stored in the first area and that the integrated circuit computer does not provide with a single instruction. a second area in which a group of functional instructions realized only by instructions and an instruction group storage location table indicating the storage location of the functional instruction group are provided in the integrated circuit computer; an instruction location storage register is provided in the integrated circuit computer; The computer refers to the instruction group storage location table stored in the second area by executing a specific instruction that specifies one of the functional instruction groups stored in the second area. The storage position of the first instruction of the functional instruction group specified by the specific instruction is set in the instruction execution order counter, and the first
By setting the storage location of the instruction stored in the area in the instruction location storage register and executing all the instructions constituting the functional instruction group specified by the specific instruction, the storage location of the instruction stored in the instruction location storage register is set. The contents of the command execution sequence are set in the instruction execution sequence counter.

〔作 用〕[For production]

集積回路計算機は記憶装置の第2の領域に格納されてい
る機能命令群の内の一つを指定した特定命令を実行する
ことにより、命令群格納位W表を参照して命令実行順序
カウンタに特定命令によって指定された機能命令群の先
頭の命令の格納位置を設定する。これにより、特定命令
によって指定された機能命令群を構成する命令が順次実
行処理される。また、集積回路計算機は特定命令を実行
することにより、特定命令に続いて前記第1の領域に格
納されている命令の格納位置を保存しておく。特定命令
によって指定された機能命令群を構成している全ての命
令を実行することにより、集積回路計算機は命令位置保
存レジスタに保存されている格納位置を命令実行順序カ
ウンタに設定する。これにより、再び、第1の領域に記
憶されている命令が順次実行される。
By executing a specific instruction that specifies one of the functional instruction groups stored in the second area of the storage device, the integrated circuit computer refers to the instruction group storage position W table and sets the instruction execution order counter. Sets the storage location of the first instruction of the functional instruction group specified by the specific instruction. As a result, the instructions constituting the functional instruction group specified by the specific instruction are sequentially executed. Further, by executing the specific instruction, the integrated circuit computer saves the storage location of the instruction stored in the first area following the specific instruction. By executing all the instructions constituting the functional instruction group specified by the specific instruction, the integrated circuit computer sets the storage location stored in the instruction location storage register in the instruction execution order counter. As a result, the instructions stored in the first area are sequentially executed again.

〔実施例〕〔Example〕

次に本発明の実施例について図面を参照して詳細に説明
する。
Next, embodiments of the present invention will be described in detail with reference to the drawings.

第1図は本発明の実施例のブロック図であり、集積回路
計算機10と、主記憶袋R20と、入出力装置30とを
含んでいる。集積回路計算Ja1oは命令実行順序カウ
ンタ101 と、命令位置保存レジスタ102と、マイ
クロプログラムによって各部を制御する制御部103と
を含んでいる。主記憶装置1W20には集積回路計算機
10上で動作するプログラムが格納されたり、或いはプ
ログラムによって内容の読出し。
FIG. 1 is a block diagram of an embodiment of the present invention, which includes an integrated circuit computer 10, a main memory bag R20, and an input/output device 30. The integrated circuit calculation Ja1o includes an instruction execution order counter 101, an instruction position storage register 102, and a control section 103 that controls each section using a microprogram. The main storage device 1W20 stores programs that operate on the integrated circuit computer 10, or the contents are read out by the programs.

書込みが制限なく実行できる第1の領域201 と、4
JS積回路計算[1(lの保護機能によって領域201
内のプログラムによっては内容の読出し、書込みが禁止
されている第2の領域202とを含み、更に、領域20
2には集積回路計算機10が一つの命令では提供してい
ない機能を集積回路計算機10が持つ命令のみを用いて
実現した機能命令群が格納される5■域220と、領域
220に格納されている各機能命令群の先頭の命令の領
域202上の格納位置を示す命令群格納位π表が格納さ
れる領域221 とを含んでいる。
A first area 201 where writing can be performed without restriction;
JS product circuit calculation [1 (region 201 by protection function of l)
The area 202 includes a second area 202 whose contents are prohibited from being read or written depending on the program therein.
2 stores a group of functional instructions that the integrated circuit computer 10 implements using only the instructions that the integrated circuit computer 10 has; The area 221 stores an instruction group storage position π table indicating the storage position in area 202 of the first instruction of each function instruction group.

集積回路計算a10内に設けられている命令実行順序カ
ウンタ101は命令の実行順序を管理するものであり、
集積回路計算機10が現在実行している命令の次に実行
する命令の格納位置が設定される。
An instruction execution order counter 101 provided in the integrated circuit calculation a10 manages the execution order of instructions.
The storage location of the instruction to be executed next to the instruction currently being executed by the integrated circuit computer 10 is set.

今、例えば、主記憶装置20の内容が第2図に示すもの
であり、集積回路計算機10が次に実行する命令が命令
AAAであるとすると、第3図に示すように、命令実行
順序カウンタ101には命令AAΔの格納位置aaaが
設定されている。即ち、命令実行順序カウンタ101の
内容と集積回路計算機10が次に実行する命令との関係
は第3図の状態#lに示すものとなっている。更に、命
令AAへの次に集積回路計算機10が実行する命令が命
令BI3Bであるとすると、命令実行順序カウンタ10
1の内容は命令△AAが実行されることにより、命令B
B 13の格納位置bbbに変更され、命令実行順序カ
ウンタ101 と次に実行する命令との関係は第3図の
状態#2に示すものとなる。命令位置保存レジスタ10
2は集積回路計′l′1.機10が通常の命令を実行し
ている時は全く使用されず、集積回路計算機lOが特定
命令(本実施例では命令KKKとする)を実行した時、
特定命令KKKの次に格納されている命令の位置が格納
される。
Now, for example, if the contents of the main memory 20 are as shown in FIG. 2 and the next instruction to be executed by the integrated circuit computer 10 is instruction AAA, then the instruction execution order counter is as shown in FIG. A storage location aaa of the instruction AAΔ is set in 101. That is, the relationship between the contents of the instruction execution order counter 101 and the next instruction to be executed by the integrated circuit computer 10 is as shown in state #l in FIG. Furthermore, if the next instruction to be executed by the integrated circuit computer 10 after instruction AA is instruction BI3B, then the instruction execution order counter 10
The content of 1 is the instruction B when the instruction △AA is executed.
The storage position is changed to bbb of B13, and the relationship between the instruction execution order counter 101 and the next instruction to be executed becomes as shown in state #2 in FIG. Instruction position save register 10
2 is an integrated circuit meter 'l'1. It is not used at all when the machine 10 is executing normal instructions, but when the integrated circuit computer IO executes a specific instruction (in this embodiment, the instruction KKK),
The position of the instruction stored next to the specific instruction KKK is stored.

次に本実施例の動作を説明する。集積回路計算機10内
の制御部103は先ず、初期状態からの阜θ1n処理を
行なう。この(1!価処理に於いて、制御N「部103
は、予め用意されている数の機能命令群と、各機能命令
群の先頭の命令の領域220上の格納位置を示す命令群
格納位置表とを入出力装置30から読込み、読込んだ各
機能命令群を命令群格納位置表に従って領域220にD
込み、命令群格納位置表を811J戊221に書込む。
Next, the operation of this embodiment will be explained. The control unit 103 in the integrated circuit computer 10 first performs a process to change the value θ1n from the initial state. In this (1! value processing), control N "part 103
reads from the input/output device 30 a pre-prepared number of functional instruction groups and an instruction group storage location table indicating the storage position in the area 220 of the first instruction of each functional instruction group, and executes each read function. The instruction group is stored in the area 220 according to the instruction group storage location table.
and writes the instruction group storage position table to 811J 221.

この処理が正常に終了しない限り、集積回路計算機10
は主記憶装置20の領域201に格納されている命令を
実行できないものとする。
Unless this process ends normally, the integrated circuit computer 10
It is assumed that the command stored in the area 201 of the main storage device 20 cannot be executed.

そして、準備処理が完了すると、集積回路計算機10は
領域201に実行する命令を格納する。
When the preparation process is completed, the integrated circuit computer 10 stores instructions to be executed in the area 201.

第4図は上述した処理が行なわれた後の主記憶装置20
の内容例を示した図である。即ち、主記憶装置20の領
域201には・・・、命令AAA、命令BBB1特定命
令KKK、命令CCC,命令DDD。
FIG. 4 shows the main storage device 20 after the above-mentioned processing has been performed.
It is a figure showing an example of the contents. That is, in the area 201 of the main storage device 20, there are instructions AAA, instructions BBB1 specific instructions KKK, instructions CCC, and instructions DDD.

・・・が格納され、領域220にはそれぞれが命令xX
X8.命令Y Y Y 、、 ・、命令ZZZ+  (
i−1〜n)からなるn個の機能命令群が格納されてい
る。尚、添字iは機能命令群の群番号に対応している。
... are stored in the area 220, and each instruction xX
X8. Instruction Y Y Y , ・, Instruction ZZZZ+ (
n function command groups consisting of i-1 to i-n) are stored. Note that the subscript i corresponds to the group number of the functional instruction group.

集積回路計算機10は主記憶装置20の領域201に実
行する命令を格納すると、命令実行1+li序カウンタ
101が指し示す位置に格納されている命令を順次実行
処理していく。通常、領域201内にあるプログラムは
領域220の存在を知らないで動いている。
When the integrated circuit computer 10 stores instructions to be executed in the area 201 of the main memory 20, it sequentially executes the instructions stored in the position indicated by the instruction execution 1+li order counter 101. Normally, programs in area 201 are running without knowing the existence of area 220.

第5図は命令実行時に於ける命令実行順序カウンタ10
1及び命令位置保存レジスタ102の状態遷移を示した
図である。命令実行順序カウンタ101の内容は命令の
実行処理に伴って順次変更され、同図の状態#lに示す
ものとなる。状態#1に於いては、命令実行順序カウン
タ101の内容は命令AAへの格納位置aaaを示して
いるので、現在実行されている命令に対する処理が終了
すると、集積回路計n機10は命令AA八を実行し、制
御部103は命令実行順序カウンタ101の内容を、同
図の状態#2に示すように、次に実行する命令BBBの
格納位置bbbとする。命令AAAの実行が終了すると
、集積回路計算機10は命令13BBを実行し、制御部
103は命令実行順序カウンタ101の内容を、同図の
状態#3に示すように、次に実行する特定命令KKKの
格納位置kkkとする。
FIG. 5 shows the instruction execution order counter 10 during instruction execution.
1 is a diagram showing state transitions of the instruction position storage register 102 and the instruction position storage register 102. FIG. The contents of the instruction execution order counter 101 are sequentially changed as instructions are executed, and become as shown in state #l in the figure. In state #1, the contents of the instruction execution order counter 101 indicate the storage position aaa to the instruction AA, so when the processing for the currently executed instruction is completed, the integrated circuit device 10 will move to the instruction AA. 8, the control unit 103 sets the contents of the instruction execution order counter 101 to the storage location bbb of the next instruction BBB to be executed, as shown in state #2 in the figure. When the execution of instruction AAA is completed, the integrated circuit computer 10 executes instruction 13BB, and the control unit 103 changes the contents of the instruction execution order counter 101 to the specific instruction KKK to be executed next, as shown in state #3 in the figure. Let the storage position be kkk.

特定命令KKKは、領域220に格納されている機能命
令群に制御を移す命令であり、例えば、第6図に示すよ
うに、該命令が特定命令KKKであることを示す命令コ
ードが格納される命令コードフィールド301 と、領
域220に格納されている復数個の機能命令群の中の実
行すべき機能命令群の群番号が格納される群番号フィー
ルド302と、予備フィールド303とから構成されて
いる。予備フィールド303は予備的に設けられている
ものであり、例えば、特定命令KKKによって実行指示
された機能命令群に醪えるデータの領J!!1i201
に於ける格納位置を示す情報等が格納される。
The specific instruction KKK is an instruction that transfers control to a group of functional instructions stored in the area 220. For example, as shown in FIG. 6, an instruction code indicating that the instruction is a specific instruction KKK is stored. It consists of an instruction code field 301, a group number field 302 in which the group number of the functional instruction group to be executed among the multiple functional instruction groups stored in the area 220 is stored, and a reserved field 303. There is. The reserve field 303 is provided preliminarily and is, for example, an area of data to be included in a group of functional commands instructed to be executed by a specific command KKK. ! 1i201
Information indicating the storage location in the file, etc. is stored.

命令BBBの実行が終了し、集積回路計n機1゜が特定
命令KKKを実行すると、制御部103は領域201に
於いて特定命令KKKに続いて格納されている命令CC
Cの格納位置CCCを求め、次いで、第5図の状態#3
に示すように、格納位置Cccを示す情報を命令位置保
存レジスタ102に設定し、保存する。格納位置CCC
を示す情報を命令位置保存レジスタ102に保存すると
、制御部103は特定命令KKKの群番号フィールド3
02に格納されている群番号(この場合iとする)を取
出し、領域221に格納されている命令群格納位置表に
基づいて、群番号iに対応する機能命令群の先頭の命令
XXX、の格納位置xxx1を求め、第5図の状態#4
に示すように、命令実行順序カウンタ101に格納値;
ηXXX1を示す情報を設定する。
When the execution of the instruction BBB is completed and the integrated circuit device 1 executes the specific instruction KKK, the control unit 103 executes the instruction CC stored following the specific instruction KKK in the area 201.
Find the storage position CCC of C, then state #3 in FIG.
As shown in FIG. 3, information indicating the storage location Ccc is set and saved in the instruction location storage register 102. Storage position CCC
When the information indicating the specified instruction KKK is stored in the instruction position storage register 102, the control unit 103 saves the information indicating the group number field 3 of the specific instruction KKK.
The group number (in this case, i) stored in 02 is extracted, and based on the instruction group storage position table stored in area 221, the first instruction XXX of the functional instruction group corresponding to group number i is extracted. Find the storage position XXX1 and enter state #4 in Figure 5.
As shown, the value stored in the instruction execution order counter 101;
Set information indicating ηXXX1.

状態#4に於いては、命令実行順序カウンタ101の内
容は群番号iを有する機能命令群の先頭の命令XXX、
の格納値ZXXX+を示しているので、特定命令KKK
の処理が終了すると、集積回路計n機10は命令XXX
、を実行し、制御部103は命令実行順序カウンタ10
1の内容を、同図の状態#5に示すように、群番号iの
機能命令群中の次に実行する命令YYY、の格納値ay
yyr とする。
In state #4, the contents of the instruction execution order counter 101 are the first instruction XXX of the functional instruction group having group number i,
Since it shows the stored value ZXXX+, the specific instruction KKK
When the processing of
, and the control unit 103 counts the instruction execution order counter 10
1, as shown in state #5 in the figure, the stored value ay of the instruction YYY to be executed next in the functional instruction group with group number i.
Let it be yyr.

以後、集積回路計算機lOに於いては、命令実行順序カ
ウンタ101の更新と機能命令群を構成する命令の実行
処理とが繰返し行なわれ、やがて命令実行順序カウンタ
101の内容は同図の状態#Jに示すように、群番号i
の機能命令群中の最後の命令222、の格納値fiz 
z Ziを示すものとなり、命令222.が実行される
。命令222、が実行されると、制御部103は同図の
状態#(J+1)に示すように、命令実行順序カウンタ
101の内容を命令位は保存レジスタ102に保存され
ている命令CCCの格納位置CCCに変更する。従って
、これ以後は再び主記憶装置2oの領域201に格納さ
れている命令CCC,命令DDD、・・・が順次実行処
理される。
Thereafter, in the integrated circuit computer IO, updating of the instruction execution order counter 101 and execution processing of the instructions constituting the functional instruction group are repeatedly performed, and eventually the contents of the instruction execution order counter 101 change to state #J in the figure. As shown in , the group number i
The stored value fiz of the last instruction 222 in the functional instruction group of
z Zi, and the command 222. is executed. When the instruction 222 is executed, the control unit 103 changes the contents of the instruction execution order counter 101 to the storage position of the instruction CCC stored in the storage register 102, as shown in state #(J+1) in the figure. Change to CCC. Therefore, from now on, the instructions CCC, instructions DDD, . . . stored in the area 201 of the main storage device 2o are again executed in sequence.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明は、記憶装置上の第1の領
域に集積回路計3r機が実行する命令を格納し、第2の
領域に新たな機能を実現する機能命令BY及び機能命令
群の格納位置を示す命令群格納位置表を格納しておき、
集積回路計算機は第2の領域に格納されている機能命令
群の内の一つを指定した特定命令を実行することにより
、第2の領域に格納されている命令群格納位置表を参照
して特定命令によって指定された機能命令群の先頭の命
令の格納位置を命令実行順序カウンタに設定し、機能命
令群を構成している命令を順次実行するものであるので
、集積回路計算機を作り直すことなく、利用者に一つの
命令で実行させ得る新しい機能の命令を任意の故だけ追
加することができる効果がある。
As explained above, the present invention stores instructions to be executed by a total of 3 integrated circuits in a first area on a storage device, and stores a function instruction BY and a group of function instructions for realizing a new function in a second area. Store an instruction group storage location table showing the storage location of
The integrated circuit computer refers to the instruction group storage location table stored in the second area by executing a specific instruction that specifies one of the functional instructions stored in the second area. The storage location of the first instruction of the functional instruction group specified by a specific instruction is set in the instruction execution order counter, and the instructions making up the functional instruction group are executed sequentially, so there is no need to rebuild the integrated circuit computer. This has the advantage of allowing the user to optionally add commands for new functions that can be executed by a single command.

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

第1図は本発明の実施例のブロック図、第2図は第1図
の動作を説明するための図、第3図は命令実行順序カウ
ンタ101の内容と実行する命令との関係を示す図、 第4図は第1図の動作を説明するための図、第5図は命
令実行時の命令実行順序カウンタloI及び命令位置保
存レジスタ102の状態遷移を示す図及び、 第6図は特定命令K K Kの構成例を示す図である。 図に於いて、 lO・・・集積回路計算機、 20・・・主記憶装置、 30・・・入出力装置、 101・・・命令実行順序カウンタ、 102・・・命令位置保存レジスタ、 103・・・制御部。
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a diagram for explaining the operation of FIG. 1, and FIG. 3 is a diagram showing the relationship between the contents of the instruction execution order counter 101 and the instructions to be executed. , FIG. 4 is a diagram for explaining the operation of FIG. 1, FIG. 5 is a diagram showing the state transition of the instruction execution order counter loI and the instruction position storage register 102 when an instruction is executed, and FIG. 6 is a diagram for explaining the operation of the specific instruction. It is a figure showing an example of composition of KKK. In the figure, lO... integrated circuit computer, 20... main memory, 30... input/output device, 101... instruction execution order counter, 102... instruction position storage register, 103...・Control unit.

Claims (1)

【特許請求の範囲】 命令実行順序カウンタに次に実行する命令の格納位置を
設定し、該命令実行順序カウンタに格納位置が設定され
た命令を実行する毎に実行した命令に従って前記命令実
行順序カウンタの内容を更新することにより、命令の実
行順序を管理している集積回路計算機に於いて、 該集積回路計算機に接続される記憶装置に、前記集積回
路計算機が実行するプログラムが格納される第1の領域
と、 該第1の領域に格納されているプログラムから保護され
、前記集積回路計算機が一つの命令によって提供してい
ない機能を前記集積回路計算機が有している命令のみに
よって実現した機能命令群及び機能命令群の格納位置を
示す命令群格納位置表が格納される第2の領域とを設け
、 前記集積回路計算機に、 命令位置保存レジスタを設け、 前記集積回路計算機は前記第2の領域に格納されている
機能命令群の内の一つを指定した特定命令を実行するこ
とにより、前記第2の領域に格納されている命令群格納
位置表を参照して前記特定命令によって指定された機能
命令群の先頭の命令の格納位置を前記命令実行順序カウ
ンタに設定すると共に、前記特定命令に続いて前記第1
の領域に格納されている命令の格納位置を前記命令位置
保存レジスタに設定し、前記特定命令によって指定され
た機能命令群を構成する命令を全て実行することにより
、前記命令位置保存レジスタに保存されている内容を前
記命令実行順次カウンタに設定することを特徴とする命
令制御方式。
[Scope of Claims] The storage position of the next instruction to be executed is set in an instruction execution order counter, and each time the instruction whose storage position is set in the instruction execution order counter is executed, the instruction execution order counter is set according to the executed instruction. In an integrated circuit computer that manages the order of execution of instructions by updating the contents of the first integrated circuit computer in which a program executed by the integrated circuit computer is stored in a storage device connected to the integrated circuit computer. and a functional instruction that is protected from the program stored in the first area and that realizes a function that the integrated circuit computer does not provide using a single instruction only by the instruction that the integrated circuit computer has. and a second area in which an instruction group storage location table indicating the storage location of the functional instruction group and the functional instruction group are provided, the integrated circuit computer is provided with an instruction location storage register, and the integrated circuit computer is provided with the second area. By executing a specific instruction that specifies one of the functional instruction groups stored in the area, the instruction group storage location table stored in the second area is referred to and the instruction specified by the specific instruction is executed. The storage position of the first instruction of the functional instruction group is set in the instruction execution order counter, and the first
By setting the storage location of the instruction stored in the area in the instruction location storage register and executing all the instructions constituting the functional instruction group specified by the specific instruction, the storage location of the instruction stored in the instruction location storage register is set. An instruction control method characterized in that the contents of the instruction execution sequence counter are set in the instruction execution sequence counter.
JP3017688A 1988-02-12 1988-02-12 Instruction control system Pending JPH01205337A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3017688A JPH01205337A (en) 1988-02-12 1988-02-12 Instruction control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3017688A JPH01205337A (en) 1988-02-12 1988-02-12 Instruction control system

Publications (1)

Publication Number Publication Date
JPH01205337A true JPH01205337A (en) 1989-08-17

Family

ID=12296444

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3017688A Pending JPH01205337A (en) 1988-02-12 1988-02-12 Instruction control system

Country Status (1)

Country Link
JP (1) JPH01205337A (en)

Similar Documents

Publication Publication Date Title
US6202106B1 (en) Method for providing specific knowledge of a structure of parameter blocks to an intelligent direct memory access controller
JPH01205337A (en) Instruction control system
JP2826309B2 (en) Information processing device
JPS6339928B2 (en)
JP2000029508A (en) Programmable controller
JPH01205338A (en) Instruction control system
JPH11259308A (en) Programmable controller
JP2573391B2 (en) Programmable controller
JPS61182135A (en) Process selecting system
JPS5842487B2 (en) Program loading method
JPH0353321A (en) Information processor
JPH0158522B2 (en)
JPS608943A (en) Multi-branch controlling system
JPH02103631A (en) Access device for program memory
JPS62162107A (en) Program changing method for programmable controller
JPH0319570B2 (en)
JPH0228834A (en) Register writing circuit
JPS60214039A (en) Data processor
JPS62231337A (en) Microprocessor
JPH077346B2 (en) Data flow computer debugging method
JPS62147545A (en) Processing system for transfer instruction of information processor
JPH04101263A (en) Clock equipment
JPH0330029A (en) Input/output simulation device of computer
JPH0264828A (en) Address trace circuit
JPS6074076A (en) Processor sharing system