JPS60183667A - Information processing unit - Google Patents

Information processing unit

Info

Publication number
JPS60183667A
JPS60183667A JP4000884A JP4000884A JPS60183667A JP S60183667 A JPS60183667 A JP S60183667A JP 4000884 A JP4000884 A JP 4000884A JP 4000884 A JP4000884 A JP 4000884A JP S60183667 A JPS60183667 A JP S60183667A
Authority
JP
Japan
Prior art keywords
processing
output
program
request
execution
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.)
Granted
Application number
JP4000884A
Other languages
Japanese (ja)
Other versions
JPH0157379B2 (en
Inventor
Koichi Kariya
幸一 假屋
Yukio Maehashi
幸男 前橋
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
Nippon 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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP4000884A priority Critical patent/JPS60183667A/en
Priority to EP85102394A priority patent/EP0153764B1/en
Priority to DE85102394T priority patent/DE3587643T2/en
Publication of JPS60183667A publication Critical patent/JPS60183667A/en
Priority to US07/287,622 priority patent/US5036458A/en
Publication of JPH0157379B2 publication Critical patent/JPH0157379B2/ja
Priority to US07/691,297 priority patent/US5163150A/en
Priority to US07/691,284 priority patent/US5159688A/en
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/32Handling requests for interconnection or transfer for access to input/output bus using combination of interrupt and burst mode transfer

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bus Control (AREA)

Abstract

PURPOSE:To relieve the load of a CPU by holding the state of an execution section at program intermission while not saving it in case of transmission of pattern information so as to attain the high speed transfer of pattern information. CONSTITUTION:The execution section 102 transfers an instruction word stored in a program memory 103 to an instruction register 307, decodes it by an instruction decoder 308, an execution control section 309 controls each section and executes the program. In this case, when an I/O processing mode designation line 303 is at high level, an I/O request reception section 304 recognizes that the input/output request is an automatic data transfer request and informs it to the execution section 102. A control section 309 inhibits the update of a program counter 102-1, does not save the value of the counter 102-1 and a program status word 102-2 to a stack area of a data memory 104 and conducts processing while holding the value. Thus, the response time from the generation of input/output request to the data output is decreased, the pattern information is transferred in high speed and the load of the CPU is relieved.

Description

【発明の詳細な説明】 〔発明の属する技術分野〕 本発明は情報処理装置に関し、とくに装置の外部から入
力される信号又は装置内部で発生される信号に同期応答
して規則的に情報を入出力する機能を有する情報処理装
置に関する。
Detailed Description of the Invention [Technical field to which the invention pertains] The present invention relates to an information processing device, and in particular to a method for regularly inputting information in synchronous response to a signal input from outside the device or a signal generated inside the device. The present invention relates to an information processing device having an output function.

〔従来技術の説明〕[Description of prior art]

マイクロコンピュータ等のデータ処理装置を制御系とす
る情報処理システムでは、例えばドツトプリンタにおけ
るドツト位置信号に同期したドツトキャラクタのパター
ン発生、ステップモータ駆動におけるステップ時間毎の
モータ駆動パターンの発生、螢光表示管や発光ダイオー
ド等のダイナミック表示側−における表示セグメント情
報の出力など、パターン情報を規則的にシーケンシャル
に出力する処理が必要とされる。一般にこれらの処理は
データ処理装置が通常のプログラムを実行(以下、メイ
ン処理という)している途中に割込んで実行(以下、割
込処理という)されている。
Information processing systems using a data processing device such as a microcomputer as a control system include, for example, generation of dot character patterns synchronized with dot position signals in a dot printer, generation of motor drive patterns for each step time in step motor drive, and generation of a motor drive pattern for each step time in a step motor drive. Processing for regularly and sequentially outputting pattern information is required, such as outputting display segment information on a dynamic display side such as a light-emitting diode or the like. Generally, these processes are executed by interrupting (hereinafter referred to as interrupt processing) while the data processing device is executing a normal program (hereinafter referred to as main processing).

以下、第1図に従来のti’i報処理装置のブ(ffツ
ク構成を、第2図にパターン情報を出力する割込プログ
シムの)a−チャートを示して説明する。(7を報処理
装置は、パターン情報の出力回期匍す100が割込み制
御部101に供給されるように構成されている。プログ
ラムカウンタ102−1.プログラムステータスワード
102−2.汎用レジスタセット102−3を含む。実
行部(CP U ) 102は割込み制御部101との
間に設けられた割込み要求線101−1を通して転送さ
れる信号(割込み曹求)に応答して割込み処理の実行及
びその制(財)を行なう。実際には他の周辺・・−ドウ
エアからの割込み東京も存在しているが、ここでは省略
する。捷几パターン出力の同期信号すなわち1を号10
0は装置外部より入力される場合と、タイマからの時間
信号など装置内部にある周辺ハードウェアから発生され
る場合とがあるが、その信号発生源は省略して示し−C
ある。
The block configuration of a conventional ti'i information processing device will be explained below with reference to FIG. 1 and an a-chart of an interrupt program for outputting pattern information shown in FIG. (The information processing device 7 is configured so that the pattern information output cycle 100 is supplied to the interrupt control unit 101. Program counter 102-1. Program status word 102-2. General-purpose register set 102. -3.The execution unit (CPU) 102 executes interrupt processing in response to a signal (interrupt request) transferred through an interrupt request line 101-1 provided between it and the interrupt control unit 101. In reality, there are interrupts from other peripheral devices, but they are omitted here.The synchronizing signal of the switching pattern output, that is, 1, is
0 may be input from outside the device or may be generated from peripheral hardware inside the device, such as a time signal from a timer, but the signal generation source is omitted and is shown in -C.
be.

従来の情報処理装置は、この他にメイン処理及び割込み
処理の各プログラムを格納するプログラムメモリ103
.出力すべさパターン情報(CPUが作成する場合と、
外部から供給される場合とがある)を保持するデータメ
モリ104を含んでおり、それらは内部バス105によ
シ相互に接続されている。データメモリ104には予め
パターン出力のための同期信号に応答して実行される割
込処理で必要とされる出カバターン格納領域、すなわち
割込み処理によって外部に転送されるパターン情報が格
納され−Cいるメ七り領域を指定するアドレス情報及び
出力すべきパターン1゛a報の鎗が格納され−Cいるパ
ターン出力バラメークポ避価域104−1.出カバター
ン格納領域104−2が設けられている。
In addition to this, the conventional information processing device has a program memory 103 that stores programs for main processing and interrupt processing.
.. Output pattern information (when created by the CPU,
(which may be supplied externally) and are interconnected by an internal bus 105. The data memory 104 stores in advance an output pattern storage area required for interrupt processing executed in response to a synchronization signal for pattern output, that is, pattern information to be transferred to the outside by interrupt processing. The address information specifying the output area and the information of the pattern 1a to be output are stored in the pattern output variable area 104-1. An output pattern storage area 104-2 is provided.

パターン情報出力、処理の開始にあたって、パターン1
帽報出力同Tυj信号100の入力をtす0込み1b1
1両部101で検知する。検知に応答して割込み制御部
101は割込み要求線101−1をアクティブにしてパ
ターン出力割込み要求を実行部102に通知する。この
結果、通知を受け付けると実行部102はパターン出力
割込み処理を開始する。
At the beginning of pattern information output and processing, pattern 1
0 included 1b1
It is detected by both parts 101. In response to the detection, the interrupt control unit 101 activates the interrupt request line 101-1 and notifies the execution unit 102 of a pattern output interrupt request. As a result, upon receiving the notification, the execution unit 102 starts pattern output interrupt processing.

第2図のフローチャートに示す様にパターン情報出力処
理(割込サービス)を行なうためには、その時実行して
いたメイン処理を一時中断しなければならない。従って
、その時のCPUの内部を保存しておく必要がある。こ
のため、内部状態を示すプログラムカウンタ102−1
.プログラムステータスワード102−2.汎用レジス
タセット102−3等の各内容を一時的にスタック(別
のメモリ領域)に退避させる処理を実行する必要がある
。この処理の終了後以下に示す割込サービスが実行され
る。捷ずパターン出力パラメータ領域104−1から出
カバターン格納領域104−2を指定するアドレス情報
と、出力すべきパターンの数を指定する出力データ数情
報を読み出す。
In order to perform pattern information output processing (interrupt service) as shown in the flowchart of FIG. 2, the main processing being executed at that time must be temporarily interrupted. Therefore, it is necessary to preserve the internal state of the CPU at that time. Therefore, the program counter 102-1 indicating the internal state
.. Program status word 102-2. It is necessary to temporarily save the contents of the general-purpose register set 102-3 and the like to the stack (another memory area). After this process is completed, the interrupt service shown below is executed. Address information specifying the output pattern storage area 104-2 and output data number information specifying the number of patterns to be output are read from the unshuffled pattern output parameter area 104-1.

次にポインタによシ指定されたパターン出力パラメータ
領域104−1から出力すべきパターン情報を読み出し
てパターン出力部106内のパターン出力レジスタ10
6−’2にこれを設定し、ボー)106−1を介して出
力ライン106−3へ出力する。パターン情報を出力し
た1女、出力ラーータ格納領域103−2を指定したア
ドレス(W Iiを更新してその結果をパターン出力)
くラメ−4領域】04−1へ格納する。さらにパターン
出カッ(ラメ−4領域104−1から読み出した出力デ
ータ数情報を更新してパターン出力バラメーク領域10
4−1に新たに格納する。前記出力データ数情報を調査
して、これが所定の値となった場合に)くターン出力パ
ラメータ領域104−1のアドレス指定値や出力データ
数情報の再設定及び次に出力すべきパターン情報の生成
等のパターン出力完了処理を行う。一方、所定の値でな
ければ、スタックに退避していた情報を夫々元のプログ
ラムカウンタ102−1.プログラムステータスワード
1.02−2.汎用レジスタセット102−3に戻して
割込み処理を完了する。
Next, the pattern information to be output is read from the pattern output parameter area 104-1 specified by the pointer, and the pattern output register 10 in the pattern output unit 106 is read out.
6-'2 and outputs it to output line 106-3 via baud) 106-1. The first woman who outputs pattern information, the address that specified the output data storage area 103-2 (W Ii is updated and the result is output as a pattern)
Kurame-4 area] Store in 04-1. Furthermore, the pattern output (by updating the output data number information read from the lamé-4 area 104-1, the pattern output vari-make area 10
4-1. The output data number information is investigated, and when it becomes a predetermined value, the address designation value of the output parameter area 104-1 and the output data number information are reset, and pattern information to be output next is generated. Perform pattern output completion processing such as. On the other hand, if the value is not the predetermined value, the information saved in the stack is transferred to the respective original program counters 102-1. Program status word 1.02-2. The interrupt processing is completed by returning to the general-purpose register set 102-3.

以上の様に従来の情報処理装置においては、ノ<ターン
情報の転送とボートへの出力とを割込み処理で実行する
場合、前述したようにノットウェア処理によって実現し
ている。従って、プログラムカ’/7り、プログラムス
テータスワード、汎用レジスタセントの各内容の退避処
理及びそれらの復帰処理が必ず必便で、しかもこれらの
処理は肝臓のパターン情報転送処理、すなわちメモリか
らボートへのパターン転送処理に要する時間に比べて非
常に長い処理時間を要する。従って、これがCPUのメ
イン処理能力を低下させると共に高速でのパターン情報
出力の実現の大きな妨げとなっている。
As described above, in the conventional information processing apparatus, when the transfer of the turn information and the output to the boat are executed by interrupt processing, this is accomplished by the notware processing as described above. Therefore, it is essential to save and restore the contents of the program card, program status word, and general-purpose register cents, and these processes involve the liver's pattern information transfer process, that is, from the memory to the board. The processing time required is much longer than that required for pattern transfer processing. Therefore, this reduces the main processing capacity of the CPU and is a major hindrance to realizing high-speed pattern information output.

〔発明の目的〕[Purpose of the invention]

本発明はソフトウェア割込み処理の介入なしに高速でパ
ターン情報の転送を行ない、CPUの負担を軽減した情
報処理装置を提供する事を目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide an information processing device that transfers pattern information at high speed without the intervention of software interrupt processing and reduces the burden on the CPU.

〔発明の構成〕[Structure of the invention]

本発明はパターン情報を転送する転送部と、前記転送と
の間でパターン情報の伝送を行なう実行部と、処理デー
タ及びプログラムを記憶するメモリ部とを備えた情報処
理装置において、前記実行部はプログラムの実行を中断
して前記転送部との間でパターン情報の伝送を行なう処
理を実行し、この時中断時の実行部の状態を退避するこ
となく保持したまま前記伝送処理を行なう事を特徴とす
るものである。
The present invention provides an information processing apparatus including a transfer section that transfers pattern information, an execution section that transfers pattern information between the transfer section, and a memory section that stores processing data and a program. The present invention is characterized in that execution of the program is interrupted and a process of transmitting pattern information with the transfer unit is executed, and at this time, the transfer process is performed while the state of the execution unit at the time of interruption is maintained without being saved. That is.

すなわち、前記転送部は第1の記憶手段を有し、補記実
行部は第2の記憶手段を有し、これら第1の第2の記憶
手段間でのデータ伝送を実行部が行なうようにし、この
データ伝送は実行部にお る実行中のプログラム処理を
中断して行なわれ、かつその時実行部は中断時の状態を
スタックへ退避する処理を行わずに即座に前記データ伝
送処理を行なうことができる情報処理装置が得られる。
That is, the transfer section has a first storage means, the supplement execution section has a second storage means, and the execution section transmits data between these first and second storage means, This data transmission is performed by interrupting the program processing being executed by the execution unit, and at that time, the execution unit can immediately perform the data transmission process without saving the state at the time of interruption to the stack. An information processing device that can perform the following operations is obtained.

さらに、転送部の第1の記憶手段はその中に直列に接続
された少なくとも2段のレジスタ手段を有し、一方は出
力ボートへ接続し、他方は第2の記憶手段に接続する構
成とする。第2の記憶手段に接続された方の第1のレジ
スタ手段にデータをストアし、このデータは前記の伝送
処理を要求する信号に応答して他方の第2のレジスタ手
段へ移されるようにする。こうすることによって、前記
の伝送処理要求よりも優先度の高い別の要求が発生した
り、あるいは伝送処理要求を即座に受けつけられない状
態の時において、要求のあった伝送処理を行なう壕での
間第1のレジスタ手段に予めセットされているデータを
第2のレジスタ手段を介してカボートへ出力するように
制御する。
Furthermore, the first storage means of the transfer section has at least two stages of register means connected in series therein, one of which is connected to the output port and the other is connected to the second storage means. . Data is stored in the first register means connected to the second storage means, and the data is transferred to the other second register means in response to a signal requesting the transmission process. . By doing this, when another request with a higher priority than the above-mentioned transmission processing request occurs, or when the transmission processing request cannot be immediately accepted, the requested transmission processing can be performed in the trench. During this period, the data preset in the first register means is controlled to be outputted to the cover via the second register means.

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

本発明では、従来からの割込み処理要求を広く解釈し、
周辺装置あるいは内部回路からの処理要求(以下、I1
0要求という)とする。前記工β要求はプログラムによ
る設定によ#)2種類の処理形態で処理される。第1の
処理形態は従来の割込み処理であり、ソフトウェア処理
によ請求を処理する。第2の処理状態はデータメモリか
ら転送部へのデータ転送処理であり、これは前記のソフ
トウェア処理を必要とすることなしに行うものである。
In the present invention, the conventional interrupt processing request is broadly interpreted,
Processing requests from peripheral devices or internal circuits (hereinafter referred to as I1)
0 request). The engineering β request is processed in two types of processing modes depending on the settings by the program. The first type of processing is conventional interrupt processing, in which billing is processed through software processing. The second processing state is data transfer processing from the data memory to the transfer unit, and this is performed without requiring the software processing described above.

前記第2の処理形態によるデータ転送(以下、自動デー
タ転送処理という)は周辺装置及び内部回路によりI 
請求が発生するとCPUの通常のプログラム実行を中断
し、その時のCPUの種々の状態(以下、ステータスと
いう)及び、データを保持した′!jまCPU自身がデ
ータ転送処理を行うことにより実現するので、自動デー
タ転送処理用の特別なノ・−ドウエアは不要である。
Data transfer according to the second processing form (hereinafter referred to as automatic data transfer processing) is performed by peripheral devices and internal circuits.
When a request occurs, the normal program execution of the CPU is interrupted, and the various states of the CPU at that time (hereinafter referred to as status) and data are retained. Since this is realized by the CPU itself performing data transfer processing, special software for automatic data transfer processing is not required.

CPUは自動データ転送処理によりボートへのパターン
出力を終了すると保持していたステータス及びデータを
基に、中断していたプログラムの実行を再開する。した
がってソフトウェアからはプログラムの中断は見えずに
あたかも自動データ転送処理がプログラム処理中に自動
的に挿入されたように映る。
After the CPU finishes outputting the pattern to the boat through automatic data transfer processing, the CPU resumes execution of the interrupted program based on the retained status and data. Therefore, the interruption of the program is not visible to the software, and it appears as if automatic data transfer processing was automatically inserted during program processing.

さらに、転送部を2段のレジスタ構成とすることによっ
て、第2の処理形態による伝送処理が即座に実行できな
い時、その期間を利用してレジスタ間でのデータ転送を
行なうようにすることができる。これは第2の処理形態
を要求する信号によってレジスタ間のシフト動作を起動
させるようにすればよい。この結果、鋸駄なく伝送処理
を実行することができ、たとえばサーボモータを制御す
るデータを第2の処理形態で処理するような場合、非常
に効果的である。
Furthermore, by configuring the transfer unit with two stages of registers, when the transmission processing according to the second processing form cannot be executed immediately, it is possible to transfer data between the registers using that period. . This can be done by activating a shift operation between registers by a signal requesting the second processing form. As a result, the transmission process can be carried out without interruption, which is very effective, for example, when data for controlling a servo motor is processed in the second processing form.

〔実施例の説明〕[Explanation of Examples]

8g3図に本発明の一実施例の詳細なブロック図を示し
、本実施例毛:以下に説明する。
Figure 8g3 shows a detailed block diagram of an embodiment of the present invention, and this embodiment will be explained below.

情報処理装置はパターン情報の出力同期信号100の入
力部となるI10要求処理制御部301と、プログラム
カウンタ102−1.プログラムステータスワード10
2−2.汎用レジスタセット】02−3、麹−術演算機
能全持つ多;、術演算ユニット306(以下ALUとい
う)を含む実行部】02と、プログラムメモリ103と
、バクーン出力パラメータ退避領域104−1および出
カバターン格納領域1 fl 4−2を含むデータメモ
リ104とを含み、内部バス105で相互に接続される
。パターン出力同期f、、を号100を入力するI10
要求処理制御部301は、その信号100に:応答して
I10処理実行侵求岱号3()2とi10処理処理形態
指定信号303とを発生する。さらにI10要求処理制
御部301からのI10処理実行髪求信号302及びI
10処理処理形f♂14指定1g号303を受けて実行
部102の動作を制御するI / (−,1!我求受付
部304.実行すべき命令を保持しておく命令レジスタ
307.命令レジスタ307の内容により各種制御信号
を発生する命令デコーダ308゜命令デコーダ308の
出力により実行部全体の動作を制御する実行制御部30
9.データメモリ104のアドレスを指定するメモリポ
インタ(以下、MPという) 3 ]、 O−1とポー
トを指定するボートポインタ(以下、PORTPという
) 310−2と自動データ転送の回数を保持するター
ミナルカウンタ(以下、TCという)310−3とを含
む自動データ転送レジスタ310.パターンデータを出
力する出力レジスタ10G−2とボート106−1を含
むパターン出力部106.およびパターン出力線106
−3を有する。パターン出力部106は後述するように
少なくとも2段の直列接続されたレジスタを有する方が
望ましい。
The information processing apparatus includes an I10 request processing control section 301 which serves as an input section for output synchronization signal 100 of pattern information, and a program counter 102-1. Program status word 10
2-2. General-purpose register set 02-3, an execution unit including a kojitsu operation unit 306 (hereinafter referred to as ALU) 02, a program memory 103, a Bakun output parameter save area 104-1, and an output and a data memory 104 including a cover turn storage area 1 fl 4-2, and are interconnected by an internal bus 105. I10 inputs number 100 for pattern output synchronization f, .
In response to the signal 100, the request processing control unit 301 generates an I10 processing execution request signal 3()2 and an i10 processing processing mode designation signal 303. Furthermore, the I10 processing execution request signal 302 from the I10 request processing control unit 301 and the
10 Processing processing type f♂14 specification 1g No. 1g 303 is received to control the operation of the execution unit 102. An instruction decoder 308 that generates various control signals according to the contents of the instruction decoder 307; an execution control section 30 that controls the operation of the entire execution section according to the output of the instruction decoder 308;
9. A memory pointer (hereinafter referred to as MP) 3] that specifies the address of the data memory 104, a boat pointer (hereinafter referred to as PORTP) that specifies O-1 and the port, 310-2, and a terminal counter (hereinafter referred to as PORTP) that stores the number of automatic data transfers. automatic data transfer register 310.310-3 (hereinafter referred to as TC). A pattern output section 106 including an output register 10G-2 and a boat 106-1 for outputting pattern data. and pattern output line 106
-3. It is preferable that the pattern output section 106 has at least two stages of registers connected in series, as will be described later.

自動データ転送レジスタ310にはプログラムにより任
意の値を設定する事ができる。本実施例ではあらかじめ
自動データ転送レジスタ310のMP310−1にはパ
ターン出力データ格納領域104−1(D7ドvス情報
が、 PORTP 310−2VC,は出力し7スタ1
06−2の指定情報が、TC310−3にはパターン出
力回数が夫々格納されている。
Any value can be set in the automatic data transfer register 310 by a program. In this embodiment, pattern output data storage area 104-1 (D7 host information is output to MP310-1 of automatic data transfer register 310 in advance, and PORTP310-2VC is output to MP310-1 of automatic data transfer register 310.
The designation information of 06-2 and the number of pattern outputs are stored in the TC 310-3.

次に第3図のブロック図を参照して動作を説明する。実
行部は、通常プログラムカウンタ102−1の内容で指
定するプログラムメモ!J103のアドレスに記憶され
ている命令語を命令レジスタ307へ転送し、命令レジ
スタ307へ転送された命令語を命令デコーダ308で
解読して実行制御部309が各部の制(財)を行ないプ
ログラムの実行を実現している。I10要求受付は部3
04は命令実行の完了毎にI10処理実行要求償号30
2をサンプリングし、10ウレベル″の時は上記動作を
繰返す。
Next, the operation will be explained with reference to the block diagram in FIG. The execution section is a program memo specified by the contents of the program counter 102-1. The instruction word stored at the address J103 is transferred to the instruction register 307, the instruction word transferred to the instruction register 307 is decoded by the instruction decoder 308, and the execution control section 309 controls each section to execute the program. Implementation has been realized. I10 request reception is part 3
04 is the I10 process execution request code 30 every time the instruction execution is completed.
2, and repeat the above operation when the level is 10''.

I/Q委求要求部304はI/Q処理実行要求信号30
2が”ハイレベル”である事を検知すると同時にJ10
処理処理形悪指定信号303のレベルをサンプリングす
る。I10処即実行形態指定信号303のレベルが゛ロ
ウレベル″であれ&」°、I10要求受付は部304は
I10要求を従来の割込み処理、すなわち第1の処理形
態と認識してこれを実行部に知らせる。
The I/Q request requesting unit 304 receives the I/Q processing execution request signal 30
2 is at a "high level" and at the same time J10
The level of the processing type bad designation signal 303 is sampled. If the level of the I10 immediate execution mode designation signal 303 is low level, the I10 request reception unit 304 recognizes the I10 request as conventional interrupt processing, that is, the first processing mode, and sends it to the execution unit. Inform.

実行制御部309はプログラムカウンタ102−1の更
新を禁止し、続いてプログラムカウンタ102−1及び
プログラムステータスワード102−2をデータメモリ
104のスタック領域へ退避させる。実行制御部309
は前記割込みによる分岐アドレスをプログラムカウンタ
102−1に設定する事により、割込み処理プログラム
の実行を開始する。一連のプログラム処理にょシ割込み
処理プログラムを終了するとデータメモリ1o4へ退避
していたデータをプログラムカウンタ102−1及びプ
ログラムステータスワード102−2へ再設定すること
により、中断されていたプログラム処理へ復帰する。
Execution control unit 309 prohibits updating of program counter 102-1, and then saves program counter 102-1 and program status word 102-2 to the stack area of data memory 104. Execution control unit 309
starts execution of the interrupt processing program by setting the branch address caused by the interrupt in the program counter 102-1. When a series of program processing interrupt processing programs are completed, the data saved in the data memory 1o4 is reset to the program counter 102-1 and the program status word 102-2, thereby returning to the interrupted program processing. .

一方、工10処理実行形態指定線303が“ハイレベル
”であると、I/Q要求受付は部304はI10装求が
自動データ転送弗求、すなわち第2の処理形態である事
を認識してこれを実行部に知らせる。実行制M11部3
09はプログラムカウンタ102−1の更新を禁止し、
プログラムカウンタ102−1.プログラムステータス
ワード102−2等の値をデータメモリ104のスタッ
ク領域へ移すことなく、その!、ま保持した状態で、以
下に示す処理を実行する。
On the other hand, if the I/Q request reception unit 304 recognizes that the I10 request is an automatic data transfer request, that is, the second processing mode, if the I/Q request reception unit 303 is at a “high level”. and inform the execution department of this. Execution system M11 part 3
09 prohibits updating of the program counter 102-1,
Program counter 102-1. Without moving values such as program status word 102-2 to the stack area of data memory 104, the! , and then execute the process shown below.

■ 実行制御部309は自動転送レジスタ310のMP
310−1の指す出力データ格納領域104−1から出
カバターンデータを読み出しPORTP 310−2で
指定される出力レジスタ106−2に転送しボート10
6−1を介し出力線106−3へ送る。
■ The execution control unit 309 controls the MP of the automatic transfer register 310.
The output pattern data is read from the output data storage area 104-1 pointed to by PORTP 310-1 and transferred to the output register 106-2 specified by PORTP 310-2.
6-1 to output line 106-3.

■ MP310−1の値をALU3 Q 5を使い1加
算して再びMP310−1へ格納する。
- Add 1 to the value of MP310-1 using ALU3 Q5 and store it in MP310-1 again.

■ TC310−3の値をAI、U306を使い1減算
して再びTC310−3へ格納する。
(2) Subtract 1 from the value of TC310-3 using AI and U306 and store it in TC310-3 again.

以上、一連の処理によりボートへのパターン出力のため
の自動データ転送処理を終了する。すなわち、自動デー
タ転送処理が起動されるとMP 310−1で指定され
るデータメモリ104のパターン出力データをPORT
P 310−2で指定ちれる出力レジスタ106−2へ
転送する処理を行なう。
The above series of processes completes the automatic data transfer process for pattern output to the boat. That is, when automatic data transfer processing is started, the pattern output data of the data memory 104 specified by MP 310-1 is transferred to PORT.
The process of transferring the data to the output register 106-2 specified by P310-2 is performed.

ここでTC310−3の値を減算して0となった時、請
求制御部301は再びI10処理実行要求信号302を
アクティブにすると同時にI10処理形態指定信号30
3をロウレベルにし、第1の処理形態による割込み要求
を発生させパターン出力完了処理を行なう。
When the value of TC310-3 is subtracted and becomes 0, the billing control unit 301 activates the I10 processing execution request signal 302 again, and at the same time activates the I10 processing mode designation signal 302.
3 is set to low level, an interrupt request is generated according to the first processing form, and pattern output completion processing is performed.

第4図は第3図の実施例の出力レジスタ106−2を第
1の出力レジスタとし、この前後に第2の出力レジスタ
106−4を設け、レジスタを2段構成とした第2の実
施例のブロック図である。
FIG. 4 shows a second embodiment in which the output register 106-2 of the embodiment shown in FIG. 3 is used as a first output register, and second output registers 106-4 are provided before and after this, and the register is configured in two stages. FIG.

情報出力装置の動作は第3図の実施例と同様の処理を実
行する。
The information output device operates in the same manner as the embodiment shown in FIG.

一般にI10要求は複数あり、それらは優先順位に従っ
て処理され、低い優先11j1位のものは受付は保留の
制御をうける。あるI10要求を処理中に優先順位の低
い請求が発生した場合優先順位の低い処理は保留され、
保留された請求がパターン情報出力要求であったならば
要求発生からパターン出力までに遅れを生じる可能性が
ある。
Generally, there are a plurality of I10 requests, and they are processed according to priority, and the reception of the one with the lowest priority 11j is put on hold. If a lower priority request occurs while processing a certain I10 request, the lower priority processing is suspended,
If the suspended request is a pattern information output request, there may be a delay from the request generation to the pattern output.

第4図の装置ではパターン17を線出力同期信号100
がアクティブレベルになるのと同期して、第1の出力レ
ジスタ106−4に保持されるデータを第2の出力レジ
スタ106−2に転送しボート106−1 ’c介して
出力するようにしている。従って、第2の出力レジスタ
106−4に出力すべきパターン情報を設定しておけば
、工10要求が保留状態であってもパターン情報を出力
させることができる。
In the device shown in FIG. 4, pattern 17 is used as line output synchronization signal 100.
In synchronization with the activation level, the data held in the first output register 106-4 is transferred to the second output register 106-2 and outputted via the boat 106-1'c. . Therefore, if the pattern information to be output is set in the second output register 106-4, the pattern information can be output even if the request from the operator 10 is in a pending state.

第4図の実施例では亮優先のI 請求処理が完了するし
パターン情報出力処理が可能になると第3図の実施例と
同様に次に出力すべきパターン情報を自動データ転送に
より第2のレジスタ106−4に格納する。
In the embodiment of FIG. 4, when the request processing is completed and pattern information output processing becomes possible, the pattern information to be output next is transferred to the second register by automatic data transfer, as in the embodiment of FIG. 106-4.

以上述べた様に優先制御のある装置において、出力ボー
トを2段構成とすることにより8汐先順位の高い処理の
実行中でも優先順位の低い出カバターン転送処理が可能
であり、パターン出力要求発生からデータ出力1での時
間遅れを抑えることができる。
As described above, in a device with priority control, by configuring the output boat in two stages, it is possible to perform output turn transfer processing with a lower priority even while processing with a higher priority is being executed, and from the occurrence of a pattern output request. Time delay in data output 1 can be suppressed.

本発明によればパターン情報の出力を自動データ転送処
理しているため、従来の割込みによるプログラムカウン
タ、プログラムステータスワード等の退避、分岐処理等
を行なう心安がなく、■A)要求受付けに同期したボー
トへのデータ出力がijJ能となる。従って、請求発生
からデータ出力までの応答時間が短かいパターン情報出
力処理が実明、できる。
According to the present invention, since pattern information is output through automatic data transfer processing, there is no need to worry about saving the program counter, program status word, etc., or performing branch processing using conventional interrupts. Data output to the boat becomes ijj function. Therefore, it is actually possible to perform pattern information output processing with a short response time from bill generation to data output.

さらにI10要求受付は保留状態であっても最初に第2
の出力レジスタへパターン情報を設定しておけば、I1
0要求の発生に同期して第2の出力レジスタの値を第1
の出力レジスタへ転送しボートへ出力することができる
ため、より効率のよいパターン転送が=I能となる。な
お、本実施例では一義的に優先順位を設定しパターン出
力処]]」1を行なう例を示したが、工10要求が初数
個あっで優先順位が異なっていても同様である。
Furthermore, even if I10 request reception is on hold, the second
If pattern information is set in the output register of I1,
Synchronizing with the occurrence of a 0 request, the value of the second output register is changed to the first
Since the data can be transferred to the output register of the board and output to the board, more efficient pattern transfer is possible. In this embodiment, an example is shown in which the priority order is uniquely set and the pattern output process is performed, but the same applies even if there are an initial number of requests and the priorities are different.

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

第1図は従来の情報処理装置の構成を示すブロック図、
第2図は従来の割込みによるパターン出力処理の70−
チャート、第3図は本発明の第1の実施例の情報処理装
置のブロック図、第4図は本発明の第2の実施例のブロ
ック図である。 100・・・・・・パターン情報の出力同期信号、10
1・・・・・割込み制御部、101−1・・・・・・割
込み快求線、102・・・・・・実行部、102−1・
・・・・・プログラムカウンタ、102−2・・・・・
・プログラムステータスワード、102−3・・・・・
・汎用レジスタセット、1o3・・・・・・プログラム
メモリ、104・・・・・・データメモリ、104−1
・・・・・・パターン出力パラメータ退避領域、104
−2・・・・・・出カバターン格納領域、1o5・・・
・・・内部ハス、106・・・・・・パターン出力L 
10 a−1・・・・・・ボート、106−2,106
−4・・・・・・パターン出力レジスタ、106−3・
・・・・・出力ライン、301・・・・・・I10娶求
処理制御部、302・・・・・・工β処理実行斐求信号
、3o3・・・・・・I10処理処理形態指定信号、3
04・・・・・・I10要求受付は部、306・・・・
・・ALU、307・・・・・・命令レジスタ、308
・・・・・・命令デコーダ、3o9・・・・・・実行制
御部、310・・・・・・自動データ転送レジスタ、3
10−1・・・・・・メモリボイ/り、310−2・・
・・・・ボートポインタ、3]0−3・・・・・・ター
ミナルカウンタ。 不1図 乎Z区
FIG. 1 is a block diagram showing the configuration of a conventional information processing device.
Figure 2 shows pattern output processing using conventional interrupts.
3 is a block diagram of an information processing apparatus according to a first embodiment of the present invention, and FIG. 4 is a block diagram of a second embodiment of the present invention. 100...Output synchronization signal of pattern information, 10
1...Interrupt control unit, 101-1...Interrupt line, 102...Execution unit, 102-1...
...Program counter, 102-2...
・Program status word, 102-3...
・General-purpose register set, 1o3...Program memory, 104...Data memory, 104-1
...Pattern output parameter save area, 104
-2... Output pattern storage area, 1o5...
... Internal lotus, 106 ... Pattern output L
10 a-1...Boat, 106-2, 106
-4...Pattern output register, 106-3.
... Output line, 301 ... I10 marriage processing control unit, 302 ... Engineering β processing execution request signal, 3o3 ... I10 processing processing mode designation signal ,3
04...I10 request reception is at Department 306...
...ALU, 307...Instruction register, 308
...Instruction decoder, 3o9...Execution control unit, 310...Automatic data transfer register, 3
10-1...Memory boi/ri, 310-2...
...Boat pointer, 3]0-3...Terminal counter. No 1 map Z area

Claims (1)

【特許請求の範囲】 ■、 パターン情報を出力する出力部と、前記出力部へ
の転送処理要求を検知する処理要求制御部と、前記転送
処理要求に基づく処理とプログラム処理とを行なう実行
部と、処理データ及びプログラムを記憶するメモリ部と
を備え、前記実行部はプログラム処理を中断してその時
の実行部の状態を保持したまま前記処理要求に応答して
前記出力部へデータを転送する事を特徴とする情報処理
装置。 2、パターン情報を出力する前記出力部が第1と第2の
レジスタとを含み、前記転送処理要求の発生に応答して
前記第1のレジスタから前記第2のレジスタにパターン
情報を転送するようにしたことを特徴とする特許請求の
範囲第1項記載の情報処理装置。
[Claims] (1) An output unit that outputs pattern information, a processing request control unit that detects a transfer processing request to the output unit, and an execution unit that performs processing and program processing based on the transfer processing request. , a memory section for storing processing data and programs, and the execution section is capable of interrupting program processing and transferring data to the output section in response to the processing request while maintaining the state of the execution section at that time. An information processing device characterized by: 2. The output unit that outputs pattern information includes a first and a second register, and is configured to transfer pattern information from the first register to the second register in response to generation of the transfer processing request. An information processing device according to claim 1, characterized in that:
JP4000884A 1984-03-02 1984-03-02 Information processing unit Granted JPS60183667A (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP4000884A JPS60183667A (en) 1984-03-02 1984-03-02 Information processing unit
EP85102394A EP0153764B1 (en) 1984-03-02 1985-03-04 Information processor having an interruption operating function
DE85102394T DE3587643T2 (en) 1984-03-02 1985-03-04 Information processing unit with interrupt function.
US07/287,622 US5036458A (en) 1984-03-02 1988-12-20 Information processor executing interruption program without saving contents of program counter
US07/691,297 US5163150A (en) 1984-03-02 1991-04-25 Information processor performing interrupt operation without saving contents of program counter
US07/691,284 US5159688A (en) 1984-03-02 1991-04-25 Information processor performing interrupt operation in two modes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4000884A JPS60183667A (en) 1984-03-02 1984-03-02 Information processing unit

Publications (2)

Publication Number Publication Date
JPS60183667A true JPS60183667A (en) 1985-09-19
JPH0157379B2 JPH0157379B2 (en) 1989-12-05

Family

ID=12568875

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4000884A Granted JPS60183667A (en) 1984-03-02 1984-03-02 Information processing unit

Country Status (1)

Country Link
JP (1) JPS60183667A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008261147A (en) * 2007-04-12 2008-10-30 Sanwa Tekki Corp Interlocking device in telescopic rail apparatus for railroad work vehicle

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56157520A (en) * 1980-05-06 1981-12-04 Fujitsu Ltd Dma system without cycle steal
JPS5810226A (en) * 1981-07-13 1983-01-20 Toshiba Corp Data processor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56157520A (en) * 1980-05-06 1981-12-04 Fujitsu Ltd Dma system without cycle steal
JPS5810226A (en) * 1981-07-13 1983-01-20 Toshiba Corp Data processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008261147A (en) * 2007-04-12 2008-10-30 Sanwa Tekki Corp Interlocking device in telescopic rail apparatus for railroad work vehicle

Also Published As

Publication number Publication date
JPH0157379B2 (en) 1989-12-05

Similar Documents

Publication Publication Date Title
US5659759A (en) Data processing device having improved interrupt controller to process interrupts of different priority levels
EP0464615B1 (en) Microcomputer equipped with DMA controller
US6175890B1 (en) Device for efficiently handling interrupt request processes
JPH05250305A (en) Data transfer control system
US20050172287A1 (en) Bus management techniques
US5481756A (en) DMA controller mailing auto-initialize halting unit
JPH07114498A (en) Microprocessor
JP2877095B2 (en) Multiprocessor system
US20030172215A1 (en) Interrupt- controller
JPS60183667A (en) Information processing unit
JP2594600B2 (en) Single chip microcomputer
EP0614148B1 (en) Data processing apparatus
JP2927102B2 (en) Instruction string switching method and arithmetic processor using the same
EP0503390A1 (en) Microcomputer having direct memory access mode
JPS62296236A (en) Interruption processor for microprocessor
JPH02113363A (en) Time slice controlling system for multiprocessor system
JPH04306754A (en) Dma controller
JP2001117862A (en) Microcomputer
JPS62251837A (en) Interruption control system
JPH01309174A (en) Vector processor
JPH02199571A (en) Coprocessor interface circuit
JPH08212085A (en) Information processor and communication processor
JPH0452973B2 (en)
JPH02133849A (en) Transfer process system for received data
JPS629451A (en) Parallel data input device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees