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
JPH0623955B2 - Processing selection method - Google Patents
[go: Go Back, main page]

JPH0623955B2 - Processing selection method - Google Patents

Processing selection method

Info

Publication number
JPH0623955B2
JPH0623955B2 JP60023278A JP2327885A JPH0623955B2 JP H0623955 B2 JPH0623955 B2 JP H0623955B2 JP 60023278 A JP60023278 A JP 60023278A JP 2327885 A JP2327885 A JP 2327885A JP H0623955 B2 JPH0623955 B2 JP H0623955B2
Authority
JP
Japan
Prior art keywords
processing
address
memory
shift register
subroutine
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 - Lifetime
Application number
JP60023278A
Other languages
Japanese (ja)
Other versions
JPS61182135A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP60023278A priority Critical patent/JPH0623955B2/en
Publication of JPS61182135A publication Critical patent/JPS61182135A/en
Publication of JPH0623955B2 publication Critical patent/JPH0623955B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Executing Machine-Instructions (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、データ処理装置の処理選択方法に関し、何種
かの割込処理がいくつかの共通処理サブルーチンの組み
合わせにより実現可能な場合に、共通処理サブルーチン
を組み合わせる選択情報をレジスタの一連のビット情報
として表示して、該ビット情報を時系列に検出してサブ
ルーチン処理する処理選択方法に関するものである。
The present invention relates to a process selection method of a data processing device, and when some kind of interrupt process can be realized by a combination of several common process subroutines, The present invention relates to a processing selection method of displaying selection information for combining common processing subroutines as a series of bit information of a register, detecting the bit information in time series, and performing subroutine processing.

プログラムによって制御の行われるデータ処理装置は、
制御を行う処理が複数の処理系に分割されている。例え
ば、割込み原因別に処理の手順が定まっており、又処理
内容によって処理する手順、即ち処理系が異なってい
る。この各処理系は、それぞれ複数のサブルーチンで構
成されている。
The data processing device controlled by the program is
The control process is divided into a plurality of processing systems. For example, the processing procedure is determined for each interrupt cause, and the processing procedure, that is, the processing system, differs depending on the processing content. Each processing system is composed of a plurality of subroutines.

例えば通信制御装置におけるデータ受信処理の場合、受
信した文字毎に処理を行う必要が生ずる。例えば、デー
タ1バイト受信する毎に、その文字コードを分類し、C
RC演算やパリティチェックをするか否か、または電文
長や同期文字を監視するタイマを起動するか否か、また
受信した文字を通信制御装置に接続された本体装置(中
央処理装置)に送るか否かを判断し処理する必要があ
る。
For example, in the case of data reception processing in the communication control device, it becomes necessary to perform processing for each character received. For example, each time one byte of data is received, the character code is classified and C
Whether to perform RC operation or parity check, whether to activate a timer that monitors the message length or synchronization character, and whether to send the received character to the main unit (central processing unit) connected to the communication control device It is necessary to judge whether or not to process.

これらの処理はサブルーチン化して各文字コード処理で
共通に使うのが通常である。
These processes are usually made into subroutines and commonly used in each character code process.

従ってデータ処理装置が処理を実行するに際して、処理
速度を向上させる上で、サブルーチンを如何に速く選択
するかが重要課題となる。
Therefore, when the data processing device executes a process, how to select the sub-routine is an important issue in order to improve the processing speed.

〔従来の技術〕[Conventional technology]

従来、データ処理装置がサブルーチンを使用して処理を
実行する場合には、他の処理を実行中に例えば、割込み
が発生すると、この割込みに対する処理を、複数のサブ
ルーチンをコールして行うが、通常割込原因及びプログ
ラムのステータスに応じて、処理が異なるのでその割込
み原因及びプログラムのステータス毎に複数のサブルー
チンコール命令を作成する方法がある。
Conventionally, when a data processing device executes a process by using a subroutine, for example, when an interrupt occurs while executing another process, the process for this interrupt is performed by calling a plurality of subroutines. Since the processing differs depending on the interrupt cause and the program status, there is a method of creating a plurality of subroutine call instructions for each interrupt cause and the program status.

然しながらこの方法は、新規なプログラムのステータス
を追加する必要が生じた際に、複数のサブルーチンをコ
ールする命令を追加しなければならず、大きな追加を行
う場合に、プログラムの修正量が多くなり、修正が容易
でないという問題が生ずる。
However, in this method, when it is necessary to add the status of a new program, it is necessary to add an instruction to call multiple subroutines, and when a large addition is made, the correction amount of the program increases, The problem arises that it is not easy to fix.

又、これに対処する為に、各サブルーチンに対応したビ
ット情報を格納するレジスタ又はメモリを設け、各処理
系のビット情報をレジスタ又はメモリに格納しておき、
該当する処理サブルーチンを処理する場合に、このレジ
スタ又はメモリを順次時系列にプログラムで参照して実
行する方法が採用されている。
In order to deal with this, a register or memory for storing bit information corresponding to each subroutine is provided, and bit information of each processing system is stored in the register or memory.
When processing the corresponding processing subroutine, a method of sequentially referring to this register or memory by a program in a time series and executing it is adopted.

即ち、プログラムでビットを判断し、どのサブルーチン
を処理するかの判断をする方法である。
That is, this is a method of judging bits by a program and judging which subroutine is to be processed.

しかしながらこの方法は、時系列にレジスタをその度毎
に参照するために、処理装置の処理ステップ数が増大し
て、処理効率が悪いと云う問題を生じる。
However, this method has a problem that the number of processing steps of the processing device increases and the processing efficiency is poor because the register is referred to each time in time series.

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

本発明は、以上のような従来の状況から、サブルーチン
の処理を効率よく行える処理選択方式の提供を目的とす
るものであり、プログラムの修正が容易に行えるものと
なる。
The present invention has an object of providing a processing selection method capable of efficiently performing processing of a subroutine from the conventional situation as described above, and the program can be easily modified.

〔問題点を解決するための手段〕[Means for solving problems]

かかる問題点は、プログラム及び制御情報を格納するメ
モリ並びに該プログラムを実行するプロセッサを有する
情報処理システムにおいて、 割込み処理が複数のサブルーチンの時系列な組合せ処理
により構成され、 複数の前記割込み処理に共通に使われる複数の前記サブ
ルーチンが前記メモリ上に収容されており、 前記メモリ上の前記各サブルーチンの収容番地を前記時
系列順にアドレスを付して格納し、且つ前記アドレスの
最終アドレスには前記割込み処理の終了処理命令を格納
したテーブルと、 1つの前記割込み処理に使われる前記複数のサブルーチ
ンの組合せを表示するシフトレジスタであって、該シフ
トレジスタの各ビット位置が前記テーブルのアドレスに
対応し、該ビット位置のビット情報によって前記使われ
るサブルーチンを表示するシフトレジスタと、 前記シフトレジスタの桁シフトと同期してカウントアッ
プされるカウンタと、 前記テーブルの所定アドレスをセットするポインタレジ
スタとを備え、 前記割込み処理を行う際、前記シフトレジスタを順次桁
シフトすることにより前記ビット情報を検出すると共
に、シフトされた桁数を前記カウンタにより計数し、前
記カウンタの値と前記ポインタレジスタの値との演算値
より前記テーブルの前記アドレスを指示し、当該アドレ
スに対応する前記サブルーチンの前記メモリ上の収容番
地を得ると共に、前記演算値が前記テーブルの前記最終
アドレスを指示している場合は前記最終アドレスに格納
された前記割込み処理の終了処理命令を実行させ復帰番
地を得るようにしたことを特徴とする処理選択方法によ
り解決される。
Such a problem is that in an information processing system having a memory for storing a program and control information and a processor for executing the program, the interrupt processing is configured by a time-series combination processing of a plurality of subroutines, and is common to the plurality of interrupt processing. A plurality of the subroutines used in the memory are stored in the memory, the storage addresses of the respective subroutines in the memory are stored with addresses in the time series order, and the interrupt is provided at the final address of the address. A table in which a processing end processing instruction is stored, and a shift register for displaying a combination of the plurality of subroutines used for one interrupt processing, each bit position of the shift register corresponding to an address of the table, According to the bit information of the bit position, the subroutine used is A shift register for displaying, a counter that counts up in synchronization with digit shift of the shift register, and a pointer register for setting a predetermined address of the table are provided, and when performing the interrupt processing, the shift register is sequentially digitized. The bit information is detected by shifting, the number of shifted digits is counted by the counter, and the address of the table is indicated by the operation value of the counter value and the pointer register value. In addition to obtaining the accommodation address on the memory of the subroutine corresponding to, the execution processing instruction of the interrupt processing stored in the final address is executed when the operation value indicates the final address of the table. Solved by a process selection method characterized by obtaining a return address It is.

〔作用〕[Action]

本発明では、共通のサブルーチンを格納したメモリの各
番地を、処理の時系列順に収容したテーブルを設け、必
要なサブルーチンの組み合わせをこのテーブルのアドレ
スに対応したシフトレジスタのビット位置の情報で表示
し、順次桁シフトによりビット情報を識別するように構
成した。
According to the present invention, a table is provided in which each address of the memory storing the common subroutine is stored in the order of processing time series, and the required combination of subroutines is displayed by the information of the bit position of the shift register corresponding to the address of this table. The bit information is identified by sequentially shifting digits.

これにより、前述の通信制御装置におけるデータ受信処
理の場合、従来必要であった、受信したデータ1バイト
毎のプログラムによる複数サブルーチンコールが不要と
なり、また他の従来例のようにレジスタまたはメモリの
ビット情報をプログラムで参照する方法と比べ処理効率
が高い処理選択方法が達成できる。
As a result, in the case of the data reception processing in the above-mentioned communication control device, a plurality of subroutine calls by the program for each byte of the received data are no longer necessary, and the bit of the register or the memory is different from other conventional examples. It is possible to achieve a processing selection method having higher processing efficiency than the method of referring to information by a program.

〔実施例〕〔Example〕

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

第1図は本発明の一実施例の要部を示すブロック図、第
2図はサブルーチン選択ビット情報の時系列出力手段を
説明するための模式図である。第2図のシフトレジスタ
1は、16ビットから構成されており、各ビット即ち上位
ビット報#15〜下位ビット#0に対応して処理サブルーチ
ン‘1’〜‘16’がある。シフトレジスタ1の各ビット
は選択された処理サブルーチンに対応するビットが論理
「1」にセットされる。
FIG. 1 is a block diagram showing an essential part of an embodiment of the present invention, and FIG. 2 is a schematic diagram for explaining a time series output means of subroutine selection bit information. The shift register 1 of FIG. 2 is composed of 16 bits, and there are processing subroutines "1" to "16" corresponding to each bit, that is, the upper bit information # 15 to the lower bit # 0. For each bit of the shift register 1, the bit corresponding to the selected processing subroutine is set to logic "1".

第1図に示すようにシフトレジスタ1に選択されたビッ
ト情報が格納されている。シフトレジスタ1に、桁上げ
ビット2が設けてある。シフトレジスタ1は、選択され
た処理サブルーチンに対応したビットを論理値「1」と
して格納している。このシフトレジスタ1は左シフト動
作を行う。このシフトレジスタ2は桁上げビット2が設
けてあり、桁上げビット2に「1」が格納されると、シ
フトレジスタ1の左シフト動作は停止する。
As shown in FIG. 1, the shift register 1 stores selected bit information. A carry bit 2 is provided in the shift register 1. The shift register 1 stores a bit corresponding to the selected processing subroutine as a logical value "1". The shift register 1 performs a left shift operation. This shift register 2 is provided with a carry bit 2, and when "1" is stored in the carry bit 2, the left shift operation of the shift register 1 is stopped.

このシフトレジスタ1の左シフト動作と同期してカウン
タ3は歩進する。この歩進はカウンタ3の上位4ビット
のみ行われる。このカウンタ3にも桁上げビット4が設
けてあり、この桁上げビットも「1」となるとカウンタ
動作を停止する。
The counter 3 advances in synchronization with the left shift operation of the shift register 1. This step is performed only for the upper 4 bits of the counter 3. The counter 3 is also provided with a carry bit 4, and when the carry bit also becomes "1", the counter operation is stopped.

本発明を適用する飛び命令と復帰命令をそれぞれJSX命
令,RTX命令とする。テーブル5は図に示すように、処
理サブルーチン‘1’〜‘16’のメモリ(図示せず)上
のアドレスが格納されている。ここで、処理サブルーチ
ンのアドレスはそれぞれ2バイトであるとする。若しア
ドレス1000番地(16進)にて、JSX命令が実行される
と、JSX命令の次、即ち処理サブルーチン‘1’のアド
レス1002番地(16進)がポインタレジスタ6に格納され
る。
The jump instruction and the return instruction to which the present invention is applied are JSX instruction and RTX instruction, respectively. As shown in the table, the table 5 stores addresses on the memory (not shown) of the processing subroutines "1" to "16". Here, it is assumed that the address of each processing subroutine is 2 bytes. If the JSX instruction is executed at the address 1000 (hexadecimal), the address 1002 (hexadecimal) of the processing subroutine '1' next to the JSX instruction is stored in the pointer register 6.

カウンタ3の上位4ビットは、JSX命令が発生すると、
全て「1」にされる。即ち、カウンタ3の初期値は、
「1,11110」である。その後シフトレジスタ1は、シフ
ト動作を開始する。2回シフトを行うと、シフトレジス
タ1の上位2ビット目の「1」は、桁上げビット2を
「1」とすると共に、カウンタ3は「0,00010」とな
り、「0,00010」は加算器7の一方入力となる。加算器
7の他入力としてポインタレジスタ6の値、即ち1002
(16進)が入力される。
When the JSX instruction is generated, the upper 4 bits of counter 3
All are set to "1". That is, the initial value of the counter 3 is
It is "1,11110". After that, the shift register 1 starts the shift operation. When the shift is performed twice, the carry bit 2 of the first 2 bits of the shift register 1 is set to "1", the counter 3 becomes "0,00010", and "0,00010" is added. It becomes one input of the container 7. The other input of the adder 7 is the value of the pointer register 6, that is, 1002
(Hexadecimal) is entered.

加算器7は「0,00010」即ち、2と1002(16進)との加
算を行い、結果の1004(16進)をレジスタ8に格納し、
テーブル5の1004番地(16進)の処理サブルーチン
‘2’の先頭アドレスのアドレスがプログラムカウンタ
9に入れられて、処理サブルーチン‘2’の処理が行わ
れる。
The adder 7 adds "0,00010", that is, 2 and 1002 (hexadecimal), stores the result 1004 (hexadecimal) in the register 8,
The address of the start address of the processing subroutine "2" at address 1004 (hexadecimal) in Table 5 is put into the program counter 9 and the processing of the processing subroutine "2" is performed.

これはレジスタ8に格納されたテーブル5のアドレス10
04番地(16進)がマルチプレクサ回路10を介してメモリ
ロード処理部11に与えられ、メモリロード処理部11では
テーブル5のアドレス1004番地(16進)に格納されてい
る処理サブルーチン2のメモリ(図示せず)上の先頭ア
ドレスを得てこれをプログラムカウンタ9に入れる。
This is address 10 of table 5 stored in register 8.
The address 04 (hexadecimal) is given to the memory load processing unit 11 via the multiplexer circuit 10, and the memory load processing unit 11 stores the memory of the processing subroutine 2 stored at the address 1004 (hexadecimal) of the table 5 (see FIG. The top address above (not shown) is obtained and placed in the program counter 9.

これにより、メモリ(図示せず)上のサブルーチン2の
先頭アドレスが指示され処理が実行される。
As a result, the start address of the subroutine 2 on the memory (not shown) is designated and the processing is executed.

処理サブルーチン2の処理が終わると、RTX命令によっ
て再びシフトレジスタ1が左にシフトされ、シフトレジ
スタ1が3回シフトされ、カウンタ3は「0,00010」か
ら「0,01000」となる。加算器7は「0,01000」即ち8と
1002(16進)の加算を行い、100A(16進)を出力する。
When the processing of the processing subroutine 2 is completed, the shift register 1 is shifted to the left again by the RTX instruction, the shift register 1 is shifted three times, and the counter 3 changes from "0,00010" to "0,01000". The adder 7 is "0,01000", that is, 8
Adds 1002 (hexadecimal) and outputs 100A (hexadecimal).

100A(16進)の処理サブルーチン5の先頭アドレスがプ
ログラムカウンタ9に出力され、処理サブルーチン5が
実行される。以下同様に処理サブルーチン‘11’,処理
サブルーチン‘15’が実行される。
The start address of the processing subroutine 5 of 100 A (hexadecimal) is output to the program counter 9, and the processing subroutine 5 is executed. Similarly, the processing subroutine '11' and the processing subroutine '15' are executed.

処理サブルーチン‘15’のRTX命令でシフトレジスタ1
の2ビットシフトによって、桁上げビット4に「1」
が、出力されるのでカウンタ3は「1,00000」のよう
になり、桁上げビットを含んだ値20(16進)をレジスタ
6の値1002(16進)に加算器7によって加算して結果の
1022番地(16進)をレジスタ8に格納するが、この場合
は、サブルーチンは全て完了しているので、レジスタ8
からのアドレス1022番地(16進)はマルチプレクサ回路
10によって切り換えられ、メモリロード処理部11を介す
ることなく、直接にプログラムカウンタ9に入れられ
る。
Shift register 1 with RTX instruction of processing subroutine '15'
2 bit shift causes carry bit 4 to "1"
However, since the counter 3 is output as "1,00000", the value 20 (hexadecimal) including the carry bit is added to the value 1002 (hexadecimal) of the register 6 by the adder 7 and the result is obtained. of
Address 1022 (hexadecimal) is stored in register 8, but in this case, all the subroutines have been completed, so register 8
Address 1022 (hexadecimal) from the multiplexer circuit
It is switched by 10 and directly put into the program counter 9 without going through the memory load processing unit 11.

これにより、プログラムカウンタ9が指示するメモリ
(図示せず)上のアドレスはテーブル5のアドレス1022
番地そのものとなり、このアドレスに格納されている終
了処理の命令を実行し、割り込み処理終了とその後の復
帰アドレスを得る。
As a result, the address on the memory (not shown) designated by the program counter 9 is the address 1022 of the table 5.
It becomes the address itself, and the end processing instruction stored in this address is executed to obtain the interrupt processing end and the return address after that.

レジスタ8から直接プログラムカウンタ9に入力する
か、レジスタ8の内容からメモリロード処理部11により
テーブル5のアドレスに格納されているサブルーチンの
先頭アドレスをプログラムカウンタ9に格納するかの選
択をマルチプレクサ回路10が行う。即ち、桁上げビット
4が「1」の場合、直接格納を行い、桁上げビット4が
「0」の場合、メモリロード処理部11が動作するように
マルチプレクサ回路10は切換えを行う。又メモリのロー
ドは、メモリロード処理部11にて行われることは、云う
までもない。
The multiplexer circuit 10 selects whether to directly input from the register 8 to the program counter 9 or to store the start address of the subroutine stored in the address of the table 5 by the memory load processing unit 11 from the contents of the register 8 into the program counter 9. Do. That is, when the carry bit 4 is "1", the data is directly stored, and when the carry bit 4 is "0", the multiplexer circuit 10 switches so that the memory load processing unit 11 operates. Needless to say, the memory is loaded by the memory load processing unit 11.

尚、上記1022番地以降には終了処理プログラムが格納さ
れている。
It should be noted that a termination processing program is stored in the above address 1022 and thereafter.

また本実施例では、ポインタレジスタ6にはテーブル5
の先頭アドレスが一連の処理サブルーチン実行中、固定
的に格納されていたが1つのサブルーチンに飛ぶ時にそ
の次のサブルーチンの先頭が格納されているアドレスに
更新して処理する方法も考えられる。その場合はカウン
タ3は、RTXのたびに初期化される。此の方法だと、カ
ウンタ3には現在実行中サブルーチンと次に実行するサ
ブルーチンの変位が入ることになる。
In addition, in this embodiment, the pointer register 6 has a table 5
It is conceivable that the start address of the is stored fixedly during execution of a series of processing subroutines, but when jumping to one subroutine, the start of the next subroutine is updated to the stored address and processing is performed. In that case, the counter 3 is initialized every RTX. According to this method, the counter 3 contains the displacements of the currently executing subroutine and the subroutine to be executed next.

また、テーブル5の格納順は処理の時系列順であるが、
処理の順序が一部逆転する必要がある場合には、本発明
により、逆転したサブルーチンの選択を再度実行すれば
よい。
Further, although the storage order of the table 5 is the time series order of the processing,
If the processing order needs to be partially reversed, the reversed subroutine selection may be executed again according to the present invention.

〔発明の効果〕〔The invention's effect〕

以上の説明から理解されるように、要するに本発明は、
ビット情報とテーブルとによって処理の選択が行え、プ
ログラムのステップを増大することなく効率がよく、処
理系の変更は時系列のビット情報を変更することによっ
てプログラムの修正が行え、プログラムの負荷を転減す
る上で効果の大きいものとなる。
As will be understood from the above description, in short, the present invention is
The processing can be selected by the bit information and the table, which is efficient without increasing the number of steps in the program. When the processing system is changed, the program can be modified by changing the bit information in time series, and the load of the program can be changed. It is very effective in reducing the amount.

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

第1図は本発明の一実施例の要部を示すブロック図、 第2図はビット情報の時系列出力手段を説明するための
摸式図である。 図において、1はシフトレジスタ、3はカウンタ、6は
ポインタレジスタ、7は加算器、9はプログラムカウン
タをそれぞれ示す。
FIG. 1 is a block diagram showing an essential part of an embodiment of the present invention, and FIG. 2 is a schematic diagram for explaining a time series output means of bit information. In the figure, 1 is a shift register, 3 is a counter, 6 is a pointer register, 7 is an adder, and 9 is a program counter.

フロントページの続き (72)発明者 紫原 真二 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 贄 浩一 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (56)参考文献 特開 昭50−93357(JP,A) 特開 昭58−97737(JP,A) 発明協会公開技報83−7158Front page continuation (72) Shinji Shibara, 1015 Kamiodanaka, Nakahara-ku, Kawasaki-shi, Kanagawa, Fujitsu Limited (72) Inventor, Koichi 1015 Kamedanaka, Nakahara-ku, Kawasaki, Kanagawa References JP-A-50-93357 (JP, A) JP-A-58-97737 (JP, A) JIII Journal of Technical Disclosure 83-7158

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】プログラム及び制御情報を格納するメモリ
並びに該プログラムを実行するプロセッサを有する情報
処理システムにおいて、 割込み処理が複数のサブルーチンの時系列な組合せ処理
により構成され、 複数の前記割込み処理に共通に使われる複数の前記サブ
ルーチンが前記メモリ上に収容されており、 前記メモリ上の前記各サブルーチンの収容番地を前記時
系列順にアドレスを付して格納し、且つ前記アドレスの
最終アドレスには前記割込み処理の終了処理命令を格納
したテーブルと、 1つの前記割込み処理に使われる前記複数のサブルーチ
ンの組合せを表示するシフトレジスタであって、該シフ
トレジスタの各ビット位置が前記テーブルのアドレスに
対応し、該ビット位置のビット情報によって前記使われ
るサブルーチンを表示するシフトレジスタと、 前記シフトレジスタの桁シフトと同期してカウントアッ
プされるカウンタと、 前記テーブルの所定アドレスをセットするポインタレジ
スタとを備え、 前記割込み処理を行う際、前記シフトレジスタを順次桁
シフトすることにより前記ビット情報を検出すると共
に、シフトされた桁数を前記カウンタにより計数し、前
記カウンタの値と前記ポインタレジスタの値との演算値
より前記テーブルの前記アドレスを指示し、当該アドレ
スに対応する前記サブルーチンの前記メモリ上の収容番
地を得ると共に、前記演算値が前記テーブルの前記最終
アドレスを指示している場合は前記最終アドレスに格納
された前記割込み処理の終了処理命令を実行させ復帰番
地を得るようにしたことを特徴とする処理選択方法。
1. An information processing system having a memory for storing a program and control information and a processor for executing the program, wherein interrupt processing is constituted by time-series combination processing of a plurality of subroutines, and is common to the plurality of interrupt processing. A plurality of the subroutines used in the memory are stored in the memory, the storage addresses of the respective subroutines in the memory are stored with addresses in the time series order, and the interrupt is provided at the final address of the address. A table in which a processing end processing instruction is stored, and a shift register for displaying a combination of the plurality of subroutines used for one interrupt processing, each bit position of the shift register corresponding to an address of the table, Display the used subroutine according to the bit information of the bit position Shift register, a counter that counts up in synchronization with the digit shift of the shift register, and a pointer register that sets a predetermined address of the table. When performing the interrupt processing, the shift register is sequentially shifted by a digit. The bit information is detected by doing so, and the number of shifted digits is counted by the counter, and the address of the table is indicated by the operation value of the counter value and the pointer register value. The accommodating address on the memory of the corresponding subroutine is obtained, and when the calculated value indicates the final address of the table, the end processing instruction of the interrupt processing stored in the final address is executed and the return is performed. A process selection method characterized by obtaining an address.
JP60023278A 1985-02-07 1985-02-07 Processing selection method Expired - Lifetime JPH0623955B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60023278A JPH0623955B2 (en) 1985-02-07 1985-02-07 Processing selection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60023278A JPH0623955B2 (en) 1985-02-07 1985-02-07 Processing selection method

Publications (2)

Publication Number Publication Date
JPS61182135A JPS61182135A (en) 1986-08-14
JPH0623955B2 true JPH0623955B2 (en) 1994-03-30

Family

ID=12106129

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60023278A Expired - Lifetime JPH0623955B2 (en) 1985-02-07 1985-02-07 Processing selection method

Country Status (1)

Country Link
JP (1) JPH0623955B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63118949A (en) * 1986-11-07 1988-05-23 Nec Corp Information processor
JP2597632B2 (en) * 1988-03-17 1997-04-09 日本放送協会 Processor shake hand device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5093357A (en) * 1973-12-19 1975-07-25
JPS5897737A (en) * 1981-12-07 1983-06-10 Fujitsu Ltd Interruption detecting and scanning circuit

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
発明協会公開技報83−7158

Also Published As

Publication number Publication date
JPS61182135A (en) 1986-08-14

Similar Documents

Publication Publication Date Title
JPH046955B2 (en)
JPS59133650A (en) Microcomputer, network thereof and operation of same
JPS60159941A (en) Multilevel preference microinterrupt controller
JPH07117898B2 (en) Microprocessor system with multiple interrupt services
JPH0623955B2 (en) Processing selection method
US6493781B1 (en) Servicing of interrupts with stored and restored flags
EP0076269B1 (en) Digital device for time-multiplexing multiple tasks
US5202999A (en) Access request prioritization and summary device
US7069418B2 (en) Method and arrangement for instruction word generation in the controlling of functional units in a processor
US6311266B1 (en) Instruction look-ahead system and hardware
EP0108647A2 (en) Data processing apparatus
JPS6290728A (en) Interruption processing method
JPS62145435A (en) Microprocessor with concurrent processing instructions
JP2585905B2 (en) Multitask execution device
EP0735459A1 (en) Fuzzy processor with improved architecture
US20030160773A1 (en) Microcomputer having OSD circuit, and bus control device and method
KR100329780B1 (en) Interrupt processing apparatus reducing interrupt response time
JP2740469B2 (en) Task management method
JPS59212905A (en) Control system of programmable controller
JPH0199132A (en) Multi-task executing device
JPS6148743B2 (en)
CA1217566A (en) Real-time data processing system for processing time period commands
JPH02110739A (en) Central processing unit for multi-task
JPH0883188A (en) A computer that performs multitasking
JPS6010342A (en) Reload control system of general-purpose register