JPH04175823A - Edit table initialization control system - Google Patents
Edit table initialization control systemInfo
- Publication number
- JPH04175823A JPH04175823A JP2302103A JP30210390A JPH04175823A JP H04175823 A JPH04175823 A JP H04175823A JP 2302103 A JP2302103 A JP 2302103A JP 30210390 A JP30210390 A JP 30210390A JP H04175823 A JPH04175823 A JP H04175823A
- Authority
- JP
- Japan
- Prior art keywords
- edit
- register
- character system
- system code
- initialization
- 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
Links
- 238000000034 method Methods 0.000 claims description 9
- 230000010365 information processing Effects 0.000 claims description 3
- 230000001133 acceleration Effects 0.000 abstract 1
- 230000000694 effects Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 1
Landscapes
- Executing Machine-Instructions (AREA)
Abstract
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は編集テーブル初期化制御方式に関する。[Detailed description of the invention] [Industrial application field] The present invention relates to an edit table initialization control method.
従来、情報処理装置における編集命令の処理は以下の如
き手順によっている。ここに、編集命令とは、例えば、
オペランドを3つ要して、第1のオペランドが差し示す
アドレスに格納されているデータを第2のオペランドが
指し示すアドレスに格納されている制御コードによりそ
の制御コードに応じたある種の変換や編集を行ないその
結果を第3のオペランドが指し示すアドレスに格納する
ような処理を実行する命令である。Conventionally, processing of an editing command in an information processing apparatus has been performed according to the following procedure. Here, the editing commands are, for example,
Requires three operands, and uses a control code stored in the address pointed to by the second operand to convert or edit data stored at the address pointed to by the first operand according to the control code. This is an instruction that executes processing such as executing a command and storing the result at the address pointed to by the third operand.
先ず、編集命令においては、命令開始時に命令により指
定される文字コート例えば、ASC[[。First, in an edit command, the character code specified by the command at the start of the command, for example, ASC[[.
EBCDIC,BCD等に従って、編集テーブルの初期
化が行なわれる。命令の実行により編集テーブルか変更
される可能性があるため、この初期化は編集命令を実行
する度に、必す実行する。その処理フローは第3図に示
される。The edit table is initialized according to EBCDIC, BCD, etc. Since the edit table may be changed by executing the command, this initialization must be performed every time the edit command is executed. The processing flow is shown in FIG.
ここての初期化は、例えば編集命令の開始をきっかけに
、外部から命令により指定される文字コードに従ったイ
ニシャルパターンを読み出してきて、編集テーブルに書
込むといった処理であり、これらの一連の処理には数サ
イクル〜・数十サイクルを必要とし、ていた。The initialization here is, for example, the process of reading out an initial pattern according to the character code specified by the command from the outside at the start of an edit command, and writing it to the edit table, and a series of these processes. This required several to tens of cycles.
上述した従来のテーブルの初期化は、編集命令を実行す
る度に必らず実行されているが、一般に、一連のプログ
ラム中で扱っている文字コード体系は同じでありかつ編
集テーブルが変更される頻度は少ないので一連のプログ
ラム中に記述されている編集命令毎に初期化を実行する
ということは、冗長な処理によって全体の処理速度を低
下させるという欠点かある。The conventional table initialization described above is always executed every time an editing command is executed, but generally the character encoding system used in a series of programs is the same and the editing table is changed. Since the frequency is low, executing initialization for each editing command written in a series of programs has the disadvantage of reducing the overall processing speed due to redundant processing.
〔課題を解決するための手段謄
本発明の方式は、複数の文字体系コードを扱い、命令の
実行処理フェーズか初期フェーズと後続処理フェーズと
からなる編集命令を有し、該編集命令の実行における初
期フェーズに実行対象の編集命令により指定さi′する
文字体系コードに従って初期化可能でかつ前記編集命令
の後続処理フェーズにおいて必要に応して書替才d■能
な複数エン1−1;からなる編集テーブルを看する情報
処理装置における編集テーブル初期化制御方式において
、前記編集テーブルが扱う文字体系コードを保持するし
・ジスタと、前記編集命令により指定される文字体系コ
ードを前記レジスタに設定する手段と、前記編集テーブ
ルの書替えに応答して前記レジスタを無効化する手段と
を有し、前記編集命令で指定される文字体系コードと前
記レジスタとの内容に応じて、前記編集テーブルの初期
化の実行を制御することを特徴とする。[Means for Solving the Problems] The method of the present invention handles a plurality of writing system codes, has an editing instruction consisting of an instruction execution processing phase or an initial phase, and a subsequent processing phase, It consists of a plurality of engines 1-1 that can be initialized according to the character system code specified by the editing command to be executed in the phase, and that can be rewritten as necessary in the subsequent processing phase of the editing command. In an edit table initialization control method in an information processing device that monitors an edit table, means for holding a character system code handled by the edit table and setting the character system code specified by the edit command in the register. and means for invalidating the register in response to the rewriting of the edit table, the initialization of the edit table depending on the writing system code specified by the edit command and the contents of the register. It is characterized by controlling execution.
次に本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は本発明の一実施例である。FIG. 1 shows an embodiment of the present invention.
テーブル1は編集命令実行の初期フェーズにおいて、命
令により指定される文字コードに従った初期化が行なわ
れる。又編集命令の後続処理フェーズにおいて必要に応
じて書替えか可能な複数エントリによって構成される。Table 1 is initialized in accordance with the character code specified by the command in the initial phase of execution of the edit command. Furthermore, it is composed of a plurality of entries that can be rewritten as necessary in the subsequent processing phase of the edit command.
入力データとして、イニシャルパター・ンや書替えデー
タを制御回路3から出力されるライトアドレスで指し示
されるエントリへ書込むことができ、リードアドレスに
より指示されるエントリの内容を読み出すことができる
。As input data, an initial pattern or rewrite data can be written to the entry pointed to by the write address output from the control circuit 3, and the contents of the entry pointed to by the read address can be read.
レジスタ2は、テーブル1が保持する文字体系の文字体
系コードを保持し、編集命令の後続処理フェーズにおい
て必要に応じてテーブルの書替えが行なわれた場合、そ
の内容が無効果(Oクリア)される。Register 2 holds the character system code of the character system held in Table 1, and if the table is rewritten as necessary in the subsequent processing phase of the edit command, its contents will have no effect (O cleared). .
制御回路3は編集命令で指定される文字体系コードとレ
ジスタ2の示すコードが等しいと判断した場合、テーブ
ルの初期化を抑止(バイパス)するような制御を行なう
。又、テーブル】の書替えか行なわれた時レジスタ2を
無効化する。さらに、初期化が実行される時には、編集
命令により指定される文字体系コートをレジスタ2に設
定するような制御を行なう。If the control circuit 3 determines that the character system code specified by the editing command is equal to the code indicated by the register 2, it performs control to suppress (bypass) initialization of the table. Also, register 2 is invalidated when table 2 is rewritten. Furthermore, when initialization is executed, control is performed such that the character system code specified by the editing command is set in register 2.
以下に動作を述べる。The operation is described below.
編集命令の開始に伴い、制御回路3は外部コアニット(
図示せず)から編集命令スタート指示と命令て指定され
る文字体系コードとを受は取り、以下に述べるような制
御を行なう。With the start of the editing command, the control circuit 3 starts the external core unit (
The editing command start instruction and the character system code specified by the command are received from a computer (not shown), and the control described below is performed.
レジスタ2の値が無効化されている(例えば0クリアさ
れている)か否かを調べて、無効化されていた場合は、
編集命令で指定される文字体系コードをし・ジスタ2に
設定して、その文字体系コードに従ったイニシャルパタ
ーンをテーブル1に設定する。Check whether the value of register 2 is invalidated (for example, cleared to 0), and if it is invalidated,
The character system code specified by the editing command is set in register 2, and an initial pattern according to the character system code is set in table 1.
また、レジスタ2の値が有効でありかつ編集命令で指定
される文字体系コードとレジスタ2の値が不一致の場合
にも上述の如くイニシャルパターンをテーブル1に設定
する。Further, even if the value in register 2 is valid and the character system code specified by the editing command and the value in register 2 do not match, the initial pattern is set in table 1 as described above.
一方し・ジスタ2が有効てかつ編集命令で指定される文
字体系コードとレジスタ2の値か等し、い場合には、イ
ニシャルパターンのテーブル1への設定を抑止する。引
き続き、後続処理において、テーブル1.の書替え要求
かあった場合レジスタ2の内容を無効化(0クリア)す
る。」−述の処理71つ−を第2図に示す。On the other hand, if register 2 is valid and the value of register 2 is equal to the character system code specified by the edit command, setting of the initial pattern to table 1 is suppressed. Subsequently, in subsequent processing, Table 1. When there is a rewriting request, the contents of register 2 are invalidated (cleared to 0). ''--the 71 processes described above--are shown in FIG.
本発明は以上説明したような構成をとることによって、
同一文字体系コードで編集命令を実行した時に冗長な初
期化のサイクルの削減が実現でき、処理の高速化が計れ
るという効果がある。By adopting the configuration as described above, the present invention has the following features:
This has the effect of reducing redundant initialization cycles when executing editing commands using the same character system code, and speeding up processing.
第1図は本発明の一実施例を示す図、第2図は本発明の
構成をもとにした時の編集命令の処理フローチャート、
第3図は編集命令における従来の処理フローチャートで
ある。
1・・・テーブル、2・・レジスタ、3・・・制御回路
。FIG. 1 is a diagram showing an embodiment of the present invention, and FIG. 2 is a processing flowchart of an editing command based on the configuration of the present invention.
FIG. 3 is a conventional processing flowchart for editing commands. 1...Table, 2...Register, 3...Control circuit.
Claims (1)
ズが初期フェーズと後続処理フェーズとからなる編集命
令を有し、該編集命令の実行における初期フェーズに実
行対象の編集命令により指定される文字体系コードに従
って初期化可能でかつ前記編集命令の後続処理フェーズ
において必要に応じて書替え可能な複数エントリからな
る編集テーブルを有する情報処理装置における編集テー
ブル初期化制御方式において、 前記編集テーブルが扱う文字体系コードを保持するレジ
スタと、 前記編集命令により指定される文字体系コードを前記レ
ジスタに設定する手段と、 前記編集テーブルの書替えに応答して前記レジスタを無
効化する手段とを有し、 前記編集命令で指定される文字体系コードと前記レジス
タとの内容に応じて、前記編集テーブルの初期化の実行
を制御することを特徴とする編集テーブル初期化制御方
式。[Claims] An editing instruction that handles a plurality of character system codes and whose execution processing phase consists of an initial phase and a subsequent processing phase, and an editing instruction to be executed in the initial phase of the execution of the editing instruction. In an edit table initialization control method in an information processing device having an edit table including a plurality of entries that can be initialized according to a specified character system code and can be rewritten as necessary in a subsequent processing phase of the edit command, the edit table a register for holding a character system code handled by the editor; means for setting a character system code specified by the edit command in the register; and means for invalidating the register in response to rewriting of the edit table. . An edit table initialization control method, characterized in that execution of initialization of the edit table is controlled according to a character system code specified by the edit command and the contents of the register.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2302103A JPH04175823A (en) | 1990-11-07 | 1990-11-07 | Edit table initialization control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2302103A JPH04175823A (en) | 1990-11-07 | 1990-11-07 | Edit table initialization control system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04175823A true JPH04175823A (en) | 1992-06-23 |
Family
ID=17904970
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2302103A Pending JPH04175823A (en) | 1990-11-07 | 1990-11-07 | Edit table initialization control system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04175823A (en) |
-
1990
- 1990-11-07 JP JP2302103A patent/JPH04175823A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH04175823A (en) | Edit table initialization control system | |
JP2731047B2 (en) | Program operand check method | |
JPH0612253A (en) | Microcomputer | |
JPS6148741B2 (en) | ||
JPH04130949A (en) | Simple method for starting system | |
JPH03235119A (en) | Information processor | |
JP3260788B2 (en) | Robot control device and method | |
JP2000353359A (en) | Storage device initializing method | |
JPS6232540A (en) | Information processor | |
JPH02178837A (en) | Speed governing system for microprogram | |
JPH10187579A (en) | I/o delay width support system for exchangeable medium | |
JPS61267135A (en) | Data processor | |
JPS6126692B2 (en) | ||
JPH0259829A (en) | Microcomputer | |
JPH1027153A (en) | Bus transfer device | |
JPH02232727A (en) | Information processor | |
JPS59116856A (en) | Processing system for microprogram control data | |
JPH0241522A (en) | Function arithmetic processor | |
JPH0378845A (en) | Man storage key control system | |
JPH03282636A (en) | Data storing method for execution of test package | |
JPH04142615A (en) | High speed disk access method | |
JPH08297583A (en) | Processor and method for interruption processing | |
JPH0594281A (en) | Computer system | |
JPS6330906A (en) | Nc device | |
JPS58225440A (en) | Memory controller |