JPS58155457A - Information processing device - Google Patents
Information processing deviceInfo
- Publication number
- JPS58155457A JPS58155457A JP57037364A JP3736482A JPS58155457A JP S58155457 A JPS58155457 A JP S58155457A JP 57037364 A JP57037364 A JP 57037364A JP 3736482 A JP3736482 A JP 3736482A JP S58155457 A JPS58155457 A JP S58155457A
- Authority
- JP
- Japan
- Prior art keywords
- instruction
- signal
- word
- output
- decoder
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/38—Concurrent instruction execution, e.g. pipeline or look ahead
- G06F9/3802—Instruction prefetching
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Executing Machine-Instructions (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
- Microcomputers (AREA)
Abstract
Description
【発明の詳細な説明】
本発明は命令を解読してその結果に応じて情報を処理す
る情報処理装置に関する。情報処理装置を制御する命令
のビット数は一般に固定されている。例えばl命令当り
4ビツトでコード化されていれば、16種類の命令をメ
モリにセットすることができる。しかしながら、複雑な
処理を実行させるためには命令の種類を増さなければな
らない。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an information processing device that decodes instructions and processes information according to the results. The number of bits of an instruction for controlling an information processing device is generally fixed. For example, if each instruction is coded with 4 bits, 16 types of instructions can be set in the memory. However, in order to execute complex processing, the number of types of instructions must be increased.
従って、4ビ、トコードを複数個使用して一つの命令と
することが行なわれ文いる。例えば2m命令や3語命令
等がそれである。この結果、限られたビット数で命令の
種類を増すことは可能となったが、反面命令実行時間が
長くなるという欠点が生じた。何故ならば例えば2語命
令を実行するには少くとも2回メモリをアクセスしなけ
ればならないため、最低2マシンサイクルの時間を要し
、それだけ処理時間が長くなるからである。しかし従来
では処理時間よりも処理能力を向上させることニ努カを
はらっていたため、処理時間の増加はやむを得ないこと
であった。Therefore, it is common practice to use a plurality of 4-bit codes to form one instruction. Examples include a 2m instruction and a 3-word instruction. As a result, it has become possible to increase the number of types of instructions with a limited number of bits, but the disadvantage is that the instruction execution time becomes longer. This is because, for example, to execute a two-word instruction, the memory must be accessed at least twice, which requires at least two machine cycles, and the processing time increases accordingly. However, in the past, efforts were made to improve processing capacity rather than processing time, so an increase in processing time was unavoidable.
又、1つの処理を実行させるための命令としては単に1
種類だけしか用意されていなかった。これはメ七り容量
の有効利用という観点からすれば当絶の設計事項といえ
る。Also, as an instruction to execute one process, simply 1
Only one type was available. This can be said to be an inevitable design matter from the viewpoint of effective utilization of the capacity.
一方、かかる情報処理装置の実際の処理を詳しく分析し
てみると、1命令の中に含まれる全ての情報を用いなく
ともその一部を用いれば実行できるようなものもある。On the other hand, if we analyze in detail the actual processing of such an information processing device, there are some operations that can be executed by using only part of the information contained in one instruction without using all of the information.
即ち、あえて2語命令を用いなくとも1語命令で実行で
きる処理もある。例えば出力命令がそれである。この命
令はボート(出力部)からデータを出力する処理を制御
する命令であるが、ボートを制御して出力動作を実行さ
せるための第1命令部とボートを選択するためのアドレ
ス情報をもたらす第2命令部とからの2−命令としてメ
モリにヤットされている場合がある。That is, there are some processes that can be executed with a one-word instruction without using a two-word instruction. An example is an output command. This instruction is an instruction that controls the process of outputting data from the boat (output section); the first instruction section is for controlling the boat to perform the output operation, and the first instruction section is for providing address information for selecting the boat. In some cases, the command is stored in memory as a 2-instruction from a 2-instruction section.
かかる命令はボートの選択機能をもっているため処理に
応じて、複数の周辺機器を任意に制御でき有効な命令で
はあるが、データを出力すべきボートが予め特定されて
いる場合にはボートの選択を行なう必要がなく、ボート
の出力制御だけで十分である。すなわち1マシンサイク
ルあれば十分である。しかし、命令そのものが2語命令
であるため、当然2マシンサイクルが費されなければな
らなかった。これは2語命令を読み出さない限りは、出
力処理が実行できないようにハードウェアが設計されて
いるためであった。This command has a boat selection function, so it is an effective command that can arbitrarily control multiple peripheral devices depending on the processing, but if the boat to which data should be output has been specified in advance, it is not possible to select the boat. There is no need to do this; just controlling the boat's output is sufficient. That is, one machine cycle is sufficient. However, since the instruction itself is a two-word instruction, two machine cycles naturally had to be spent. This is because the hardware is designed so that output processing cannot be executed unless a two-word instruction is read.
具体的には通常動作時に於いてはボートを選択してそこ
からデータを出力する2語命令を必要とするマイクロコ
ンピュータにおいてその動作テスを出力するボートは予
め決っているが、2語命令であるが故に命令の読み出し
に時間ががかり、結果としてテスト時間が長くなり、か
つテストをするための装置のハードウェア、例えばテス
トパターンを記憶するメモリの容量等なより多(必要と
する事になり効率が悪く不利である。Specifically, in a microcomputer that requires a two-word instruction to select a port and output data from it during normal operation, the port from which the operation test is output is determined in advance, but the two-word instruction is used. Therefore, it takes time to read the instructions, resulting in a longer test time, and requires more hardware (for example, memory capacity for storing test patterns) of the equipment for testing. is bad and disadvantageous.
本発明の目的は処理能力を低下させることなく処理時間
を短縮し、各棟の処理に最適の形で適用可能な情報処理
装置を提供することにある。An object of the present invention is to shorten processing time without reducing processing capacity and to provide an information processing apparatus that can be optimally applied to processing in each building.
本発明の情報処理装置は互いに語長の異なる少なくとも
2種類の命令を解読して実質的に同様の処理を実行させ
るための制御信号を発生する制御回路を有することを特
徴とする。The information processing apparatus of the present invention is characterized by having a control circuit that generates a control signal for decoding at least two types of instructions having different word lengths and executing substantially the same processing.
本発明によれば例えば2語命令と1@命令との少なくと
も2つの命令に対して同様の処理を実行させるようtx
制御信号を発生することができるので、処理内容に応じ
ていづれか一方を選択してやることによって処理能力を
低下させることなく、最適の時間で処理することができ
る。According to the present invention, for example, the tx
Since a control signal can be generated, by selecting one of them depending on the processing content, processing can be performed in an optimal time without reducing processing capacity.
例えば、命令コード上に空きコードがあればそれを用い
てテスト時に使用する1語命令として割り当てて実用さ
せると、テスト時にテスト結果を出力するように決めら
れ℃いる特定のボートに対して・1語の出力命令として
使用することができ、1マシ/サイクルでテスト結果を
出力することができる。一方、2語命令からなる出力命
令に対しては、少なくとも2マシ/サイクル以上の要求
されるサイクルを用いてボート選択および出力制御を実
行することができ、処理能力を低下させることはない。For example, if there is a free code on the instruction code, you can use it and assign it as a one-word instruction to be used during testing. It can be used as a word output command, and test results can be output in one machine/cycle. On the other hand, for an output command consisting of a two-word command, boat selection and output control can be executed using at least two or more cycles per cycle, without reducing processing performance.
尚、前記のように空きコードが無い場合には、そのシス
テムが有するある特定命令に対してこれをテスト時に使
用する1語の出力命令として切換えて用いるようKすれ
ばよい。Incidentally, if there is no free code as described above, it is only necessary to switch and use a certain specific instruction that the system has as a one-word output instruction used at the time of testing.
次に本発明の一実施例を図面を用いて説明する。Next, one embodiment of the present invention will be described with reference to the drawings.
第1図に於いて、データバスlは、出力ラッチ4とドラ
イバ5とからなり外部端子2に接続されている出力ボー
ト3に結合され℃いる。詰合デコーダ部15は、第1の
命令デコーダ8と第2の命令デコーダ9とを有し、夫々
のデーード信号11゜12、は出力ボート3の出力動作
を制御する信号を発生させるためのボート制御回路7仁
侠給3起る。 13は命令デコーダ部
15から出力ラッチ4に送られデータバス1上のデータ
を取り込むためのラッチ制御信号、14は命令デコーダ
部15からドライバ5に送られ、これを活性化するため
の制御信号である。10は第2の命令デコーダを駆動す
るための制御信号1あり、処理の内容に応じ【例えば外
部のスイッチから入力されたり、あるいは処理内容を判
断して内部で作り出されるようになされている。In FIG. 1, a data bus 1 is coupled to an output port 3 comprising an output latch 4 and a driver 5 and connected to an external terminal 2. The packing decoder unit 15 has a first instruction decoder 8 and a second instruction decoder 9, and each data signal 11 and 12 is a port for generating a signal for controlling the output operation of the output port 3. Control circuit 7 chivalry supply 3 arises. 13 is a latch control signal sent from the instruction decoder section 15 to the output latch 4 to capture data on the data bus 1, and 14 is a control signal sent from the instruction decoder section 15 to the driver 5 to activate it. be. Reference numeral 10 denotes a control signal 1 for driving the second instruction decoder, which is inputted from an external switch or generated internally depending on the processing content (for example, by determining the processing content).
この実施例の動作は次のようになる。The operation of this embodiment is as follows.
出力ボート3からデータを出力する場合、ボート制御回
路7はデコーダ出力を受けると、出力う、チ4を能動と
するための信号13と、ドライバ5を能動とするための
信号14とを発生する。これらの信号13と14とが発
生されると、データバス1上のデータが出力ラッチ4に
読み込まれ、この出力6がドライバ5に入力され、デー
タは外部端子2に出力される。ここで、出力ボート3に
データを出力するための2飴命令は命令デコーダ8で解
読されボート制御回路7にデコード信号。When outputting data from the output port 3, the boat control circuit 7 receives the decoder output and generates a signal 13 for activating the output port 4 and a signal 14 for activating the driver 5. . When these signals 13 and 14 are generated, the data on the data bus 1 is read into the output latch 4, this output 6 is input to the driver 5, and the data is output to the external terminal 2. Here, the 2 candy command for outputting data to the output boat 3 is decoded by the command decoder 8 and a decode signal is sent to the boat control circuit 7.
11を送る。この結果、ボート制御回路7から制御信号
13.14が発生される。一方、−語命令に対しては命
令デコーダ9が選択され(信号10に応答して)、この
−諸命令が命令デコーダ10で解読され、信号11と同
様の信号12が発生される。従って、例えば1語の出力
命令な実行させると、命令デコーダ9からのデコード信
号12が制御回路7に送られ、制御回路7からボート3
を能動とする様な制御信号13.14が発生される。Send 11. As a result, control signals 13 and 14 are generated from the boat control circuit 7. On the other hand, for -word instructions, instruction decoder 9 is selected (in response to signal 10), the - instructions are decoded by instruction decoder 10, and signal 12 similar to signal 11 is generated. Therefore, for example, when a one-word output command is executed, the decode signal 12 from the instruction decoder 9 is sent to the control circuit 7, and the control circuit 7 sends the decode signal 12 to the boat 3.
A control signal 13.14 is generated which activates.
これはたかだか1マシンサイクルあれば十分で、例えば
テスト結果を出力するような時に用いられ出力すべきボ
ート3が既に決定されているような場合である。One machine cycle at most is sufficient for this, and is used, for example, when outputting test results, and the port 3 to be outputted has already been determined.
また、テスト以外の時には信号lOが発生されないので
、命令デコーダ9は非能動となり、1語の出力命令を実
行しようとしても無効となる。但し、この時命令デコー
ダ8は有効でありボート選択情報を要する2語出力命令
が例えば2マシンサ以上の様に信号10により命令デコ
ーダ9を能動あるいは非能動となる様に制御する事に依
り、システムに影替を与える事無く語長の異なる少なく
とも2種類の出力命令に対して最適の時間で処理するこ
とが可能となり極めて効率的である。Furthermore, since the signal IO is not generated during times other than testing, the instruction decoder 9 becomes inactive, and an attempt to execute a one-word output instruction becomes invalid. However, at this time, the instruction decoder 8 is valid, and if a two-word output instruction requiring boat selection information is, for example, two or more machine sensors, the instruction decoder 9 is controlled to be active or inactive by the signal 10, so that the system It is possible to process at least two types of output commands with different word lengths in the optimum time without affecting the word length, which is extremely efficient.
また、かかる−語命令を割り当てられる空きコードが無
い様な場合には、第1図において、別の命令例えば2語
出力命令のうちの出力制御を行なう命令部分(ボート選
択情報を読み出すことなく)を命令デコーダ9へ入力す
るように信号10で切換える制御回路を付加する事に依
り、同様の効果を得ることができる。In addition, if there is no free code to which such a -word instruction can be assigned, in FIG. A similar effect can be obtained by adding a control circuit that switches using the signal 10 to input the command decoder 9 to the instruction decoder 9.
尚、本発明は語長の異なる少なくとも2櫨類の命令に対
して、夫々を解読することによって同様の機能をもった
制御信号を発生させるようにして処理時間の短縮化を計
ったものであり、実施例の出力命令以外の命令に対して
有効であり、かつテスト処理以外の正常のプログラム処
理においても同様に適用できる。The present invention aims to shorten processing time by decoding at least two types of commands with different word lengths to generate control signals with similar functions. , is effective for instructions other than the output instructions of the embodiment, and can be similarly applied to normal program processing other than test processing.
第1図は本発明の一実施例によるマイクロコンピュータ
の要部ブロック図である。
1・・・・・・データバス、2・・・・・・外部端子、
3・・・・・・出力ボート、4・・・・・・出力ラッチ
、5・・・・・・バッファ、7・・・・・・ボート制御
回路、8・・・・・・第1の命令デコーダ、9・・・・
・・第2の命令デコーダ、10・・・・・・制御信号、
15・・・・・・命令デコーダ部
5
、#−1図FIG. 1 is a block diagram of essential parts of a microcomputer according to an embodiment of the present invention. 1... Data bus, 2... External terminal,
3... Output boat, 4... Output latch, 5... Buffer, 7... Boat control circuit, 8... First Instruction decoder, 9...
...Second instruction decoder, 10...Control signal,
15...Instruction decoder section 5, #-1 diagram
Claims (1)
を解読することによって実質的に同様の機能を有する制
御信号を発生する制御回路を設けたことを特徴とする情
報処理装置。An information processing apparatus comprising a control circuit that generates control signals having substantially the same function by decoding at least two instructions having different word lengths.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57037364A JPS58155457A (en) | 1982-03-10 | 1982-03-10 | Information processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57037364A JPS58155457A (en) | 1982-03-10 | 1982-03-10 | Information processing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS58155457A true JPS58155457A (en) | 1983-09-16 |
| JPH0128416B2 JPH0128416B2 (en) | 1989-06-02 |
Family
ID=12495473
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP57037364A Granted JPS58155457A (en) | 1982-03-10 | 1982-03-10 | Information processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS58155457A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009104653A (en) * | 2003-07-31 | 2009-05-14 | Fujitsu Microelectronics Ltd | Operation mode control circuit and microcomputer |
| USRE43248E1 (en) | 1994-06-10 | 2012-03-13 | Arm Limited | Interoperability with multiple instruction sets |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5330841A (en) * | 1976-09-03 | 1978-03-23 | Nippon Signal Co Ltd:The | Control method of computer |
| JPS5532155A (en) * | 1978-08-29 | 1980-03-06 | Fujitsu Ltd | Data processor |
-
1982
- 1982-03-10 JP JP57037364A patent/JPS58155457A/en active Granted
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5330841A (en) * | 1976-09-03 | 1978-03-23 | Nippon Signal Co Ltd:The | Control method of computer |
| JPS5532155A (en) * | 1978-08-29 | 1980-03-06 | Fujitsu Ltd | Data processor |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| USRE43248E1 (en) | 1994-06-10 | 2012-03-13 | Arm Limited | Interoperability with multiple instruction sets |
| JP2009104653A (en) * | 2003-07-31 | 2009-05-14 | Fujitsu Microelectronics Ltd | Operation mode control circuit and microcomputer |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0128416B2 (en) | 1989-06-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4041471A (en) | Data processing system including a plurality of programmed machines and particularly including a supervisor machine and an object machine | |
| US4223381A (en) | Lookahead memory address control system | |
| JP3710262B2 (en) | Electronic circuit and method for using a coprocessor | |
| US4251862A (en) | Control store organization in a microprogrammed data processing system | |
| US4592010A (en) | Memory-programmable controller | |
| KR950009687B1 (en) | High speed ladder instruction processing apparatus for programnable logic controller | |
| US4831572A (en) | Polynomial vector arithmetic operation control system | |
| JPH0128416B2 (en) | ||
| US6795911B1 (en) | Computing device having instructions which access either a permanently fixed default memory bank or a memory bank specified by an immediately preceding bank selection instruction | |
| JPH0830971B2 (en) | Programmable controller | |
| US5619714A (en) | Microcomputer having an instruction decoder with a fixed area and a rewritable area | |
| JPS6310445B2 (en) | ||
| KR0153537B1 (en) | Signal processing structure to preselect memory address data | |
| KR920005228B1 (en) | Bit operation processing circuit of programmable controller | |
| JP3147727B2 (en) | Information processing apparatus and control method thereof | |
| JP2927090B2 (en) | Parallel control computer | |
| JPH05298088A (en) | Microcomputer | |
| KR100230184B1 (en) | Memory table lookup device and method | |
| KR100284312B1 (en) | Interrupt vector generator for 8x196 microcontroller | |
| JP2859048B2 (en) | Microcomputer | |
| JPH05324315A (en) | Program controller | |
| JP2618703B2 (en) | High-speed operation processing method of programmable sequence controller | |
| KR980010755A (en) | Command repetition processor in PC | |
| JPH02263256A (en) | Microcomputer and controller | |
| JPH036705A (en) | Sequence controller |