JPS6145264B2 - - Google Patents

Info

Publication number
JPS6145264B2
JPS6145264B2 JP11052381A JP11052381A JPS6145264B2 JP S6145264 B2 JPS6145264 B2 JP S6145264B2 JP 11052381 A JP11052381 A JP 11052381A JP 11052381 A JP11052381 A JP 11052381A JP S6145264 B2 JPS6145264 B2 JP S6145264B2
Authority
JP
Japan
Prior art keywords
address
register
control
data
circuit
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
Application number
JP11052381A
Other languages
Japanese (ja)
Other versions
JPS5812054A (en
Inventor
Hideo Tanaka
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
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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP11052381A priority Critical patent/JPS5812054A/en
Publication of JPS5812054A publication Critical patent/JPS5812054A/en
Publication of JPS6145264B2 publication Critical patent/JPS6145264B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/32Address formation of the next instruction, e.g. by incrementing the instruction counter
    • G06F9/321Program or instruction counter, e.g. incrementing

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)
  • Complex Calculations (AREA)

Description

【発明の詳細な説明】 本発明はアドレス制御装置に関するものであ
る。デイジタル計算機の技術の進歩にともない、
デイジタル信号処理の高速化がよく間題にされ
る。このデイジタル信号処理において、被素数計
算は不可欠なものである。一例をあげると下記の
ような計算が頻繁に使用される。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an address control device. With the advancement of digital computer technology,
Speeding up digital signal processing is often a topic of discussion. In this digital signal processing, calculation of prime numbers is essential. For example, the following calculations are often used:

{(x0+ix1)+y0+iy0)}×(w0+iw1) i=√−1 (1) 複素数計算ができないコンピユータやマイクロ
コンピユータにおいては、上式の計算は、下記の
ように実数部、虚数部に分けて計算を行なる。
{(x 0 + ix 1 ) + y 0 + iy 0 )}×(w 0 +iw 1 ) i=√−1 (1) On computers and microcomputers that cannot calculate complex numbers, the above equation can be calculated using real numbers as shown below. Calculations are performed separately for the part and imaginary part.

実数部 x0w0−x1w1+y0w0−y1w1 虚数部 x0w1+x1w0+y0w1+y1w0 (2) この計算に使用するデータはメモリに格納され
ているものとする。この時、w0,w1について考
える。メモリ上でw1はw0の隣に格納されている
とする。前記(2)式の計算を順次行なつていくと、
アドレスの値の増減は、w0のアドレスが初めに
設定されていると、+1,−1,+1,0,−1,+
1,−1と変化する。
Real part x 0 w 0 −x 1 w 1 +y 0 w 0 −y 1 w 1Imaginary part x 0 w 1 +x 1 w 0 +y 0 w 1 +y 1 w 0 (2) The data used for this calculation is stored in memory. Assume that it is stored. At this time, consider w 0 and w 1 . Suppose that w 1 is stored next to w 0 in memory. By sequentially performing the calculations of equation (2) above, we get
The increase/decrease in the address value is +1, -1, +1, 0, -1, + if the w 0 address is set first.
It changes from 1 to -1.

上記のアドレス操作をしながら演算を行なう場
合、従来のマイクロプロセツサでは、直接アドレ
スレジスタの増減命令を行なわなければならない
ため、第1図に示したフローグラフの手順を必要
とする。第1図から明らかなようにアドレスの値
のインクメント及びデクリメントにかなりの命令
ステツプ数を必要とし、処理速度の低下の一因と
なつている。上記のことは、高速処理が要求され
るデイジタル信号処理にとつて大きな障害であ
る。
When performing arithmetic operations while performing the above-mentioned address operations, conventional microprocessors require direct instruction to increase or decrease the address register, thus requiring the procedure of the flow graph shown in FIG. As is clear from FIG. 1, incrementing and decrementing address values requires a considerable number of instruction steps, which is one of the causes of a reduction in processing speed. The above is a major obstacle for digital signal processing, which requires high-speed processing.

本発明は、前記の原因を除くことを目的とし、
マイクロプロセツサに処理速度を向上させる機能
をもたせたものである。
The present invention aims to eliminate the above causes,
It is a microprocessor equipped with a function to improve processing speed.

本発明では第1図のような従来のマイクロプロ
セツサの手順に対して、演算命令にアドレスレジ
スタの増減が同時に実行可能にして第2図のよう
な操作手順で、前記の計算が実現できるようにし
たものである。上記の操作機能を制御レジスタ、
デコーダ等を用いて実現した。上記制御スジスタ
に必要とされるアドレスの増減命令に対する変換
データをセツトしておき、この変換データを参照
しながらアドレスレジスタの出力の値を変換する
ことを可能にしているため、処理数を減少させる
ことができる。
In contrast to the conventional microprocessor procedure shown in FIG. 1, the present invention makes it possible to simultaneously execute an arithmetic instruction to increase or decrease the address register, thereby making it possible to realize the above calculation with the operating procedure shown in FIG. 2. This is what I did. Registers that control the above operation functions,
This was realized using a decoder etc. The conversion data for the address increase/decrease instructions required for the control register is set, and the output value of the address register can be converted while referring to this conversion data, which reduces the number of processes. be able to.

本発明を図面を用いて説明する。 The present invention will be explained using the drawings.

第3図は、本発明の一実施例を示したものであ
る。従来は、アドレスレジスタ1,インクリメン
タ/デクリメンタ2,及びアドレスバツフア3で
構成されていた。本発明では、上記従来の構成に
シフトレジスタ5,及び6,そして、デコーダ4
を加えたものである。また、従来のインクリメン
タ/デクリメンタ2には、そのままアドレスレジ
スタ1の情報をアドレスバツフア3に転送するス
ルーという機能を持たせる。
FIG. 3 shows an embodiment of the present invention. Conventionally, it was composed of an address register 1, an incrementer/decrementer 2, and an address buffer 3. In the present invention, shift registers 5 and 6 and a decoder 4 are added to the above conventional configuration.
is added. Further, the conventional incrementer/decrementer 2 is provided with a through function for directly transferring information in the address register 1 to the address buffer 3.

次に動作を説明する。 Next, the operation will be explained.

シフトレジスタ5,及び6にアドレスを変更す
る操作データD0,D1,……D7(D0〜D7は“0”
又は“1”),及びC0,C1,……C7(C0〜C7
“0”又は“1”)をセツトする。上記シフトレジ
スタ5,6は演算命令の実行タイミング信号Tに
より、1ビツト循環シフトすると同時に、デコー
ダ4に、第4図に示したI1,I2を出力する。I1
びI2は、D0〜D7及びC1〜C7の値をとるものとす
る。I1,I2をデコーダ4で解読し、第4図のO1
O2,O3の制御線を使つて、アンクリメンタ/デ
クリメンタ/スルー2に+1,−1又は0の制御
信号を送る。この制御信号に従つてインクリメン
タ/デクリメンタ/スルー2は、アドレスレジス
タ1のアドレス情報を+1又は−1に変換する
か、このアドレス情報を変換せずにアドレスバツ
フア3に送る。上記の動作をシフトレジスタ5,
及び6を演算命令実行タイミング信号Tに従つ
て、連続的に行なえば、アドレスレジスタ1のア
ドレス情報は、自動的に、あらかじめセツトされ
た操作データD0,D1,……D7に従つて変換され
ることになる。例えば前記で述べた、変換操作+
1,−1,+1,0,−1,+1,−1を上記変換操
作D1,D2,……D7に対応させて用いる。ただ
し、D0は0をセツトしておく、この時のW0,W1
の選ばれる順序は、W0,W1,W0,W1,W1
W0,W1,W0となり、前記の(2)式を計算する場合
のアドレスレジスタの操作命令は、初期のアドレ
スデータであるW0のアドレスのセツトだけでよ
く、他の操作命令は必要としない。また、アドレ
スの増減命令を必要としない場合は、上記シフト
レジスタ5,及び6に“0”をセツトすれば、イ
ンクリメンタ/デクリメンタ/スルー2では常に
スルーが選ばれることになり、アドレスレジスタ
1のアドレス情報がそのままアドレスバツフア3
に転送されることになる。上記機能により、デイ
ジタル信号処理のような複素計算等、同一データ
を何度も使用する処理計算を数多く必要とする場
合、非常に操作命令ステツプ数を減らすことがで
き、処理の高速化,プログラムの簡略化が実現で
きる。
Operation data D 0 , D 1 , ...D 7 (D 0 to D 7 are “0”) for changing addresses in shift registers 5 and 6
or “1”), and C 0 , C 1 , . . . C 7 (C 0 to C 7 are “0” or “1”). The shift registers 5 and 6 cyclically shift one bit by the execution timing signal T of the arithmetic instruction, and at the same time output I 1 and I 2 shown in FIG. 4 to the decoder 4. It is assumed that I 1 and I 2 take values of D 0 to D 7 and C 1 to C 7 . I 1 and I 2 are decoded by the decoder 4, and O 1 and I 2 in FIG.
Send a +1 , -1 or 0 control signal to the incrementer/decrementer/through 2 using the O 2 and O 3 control lines. According to this control signal, the incrementer/decrementer/through 2 converts the address information in the address register 1 to +1 or -1, or sends this address information to the address buffer 3 without converting it. The above operation is performed by shift register 5,
and 6 are performed continuously according to the operation instruction execution timing signal T, the address information in the address register 1 is automatically changed according to the preset operation data D 0 , D 1 , . . . D 7 . It will be converted. For example, the conversion operation +
1, -1, +1, 0, -1, +1, -1 are used in correspondence with the above conversion operations D 1 , D 2 , . . . D 7 . However, D 0 is set to 0, and W 0 , W 1 at this time
The order in which is chosen is W 0 , W 1 , W 0 , W 1 , W 1 ,
W 0 , W 1 , W 0 , and when calculating equation (2) above, the address register manipulation instruction only needs to set the address of W 0 , which is the initial address data, and other manipulation instructions are not necessary. I don't. In addition, if address increase/decrement instructions are not required, by setting "0" in shift registers 5 and 6, incrementer/decrementer/through 2 will always select through, and address register 1 will always select through. Address information remains the same as address buffer 3
will be transferred to. With the above functions, when a large number of processing calculations that use the same data many times are required, such as complex calculations such as digital signal processing, the number of operation command steps can be greatly reduced, speeding up processing and program execution. Simplification can be achieved.

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

第1図は、従来の方法による操作手順を示した
フロー図であり、第2図は本発明による操作手順
のフロー図である。第3図は本発明の一実施例を
示したブロツク図、第4図は、本発明の動作を説
明するためのブロツク図である。 1……アドレスレジスタ、2……インクリメン
タ/デクリメンタ/スルー、3……アドレスバツ
フア、4……デコーダ、5,6……シフトレジス
タ、T……演算命令実行タイミング信号、I1,I2
……操作信号、O1,O2,O3……制御信号。
FIG. 1 is a flowchart showing the operating procedure according to the conventional method, and FIG. 2 is a flowchart showing the operating procedure according to the present invention. FIG. 3 is a block diagram showing one embodiment of the present invention, and FIG. 4 is a block diagram for explaining the operation of the present invention. 1... Address register, 2... Incrementer/decrementer/through, 3... Address buffer, 4... Decoder, 5, 6... Shift register, T... Arithmetic instruction execution timing signal, I 1 , I 2
...operation signal, O 1 , O 2 , O 3 ... control signal.

Claims (1)

【特許請求の範囲】[Claims] 1 アドレスレジスタと、前記アドレスレジスタ
に格納したアドレスデータを変換するアドレス演
算回路と、前記アドレス演算回路で演算したアド
レスデータをアドレスバスに出力するアドレスバ
ツフアで構成するアドレス制御装置において、前
記アドレス演算を指定する制御信号を発生する制
御回路と、前記制御回路の制御データを格納する
シフトレジスタとを有し、前記アドレス演算回路
の演算機能を前記シフトレジスタと前記制御回路
とによつて指定することを特徴とするアドレス制
御装置。
1. In an address control device comprising an address register, an address calculation circuit that converts address data stored in the address register, and an address buffer that outputs the address data calculated by the address calculation circuit to an address bus, and a shift register that stores control data of the control circuit, and the arithmetic function of the address arithmetic circuit is specified by the shift register and the control circuit. An address control device characterized by:
JP11052381A 1981-07-15 1981-07-15 Address controller Granted JPS5812054A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11052381A JPS5812054A (en) 1981-07-15 1981-07-15 Address controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11052381A JPS5812054A (en) 1981-07-15 1981-07-15 Address controller

Publications (2)

Publication Number Publication Date
JPS5812054A JPS5812054A (en) 1983-01-24
JPS6145264B2 true JPS6145264B2 (en) 1986-10-07

Family

ID=14537952

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11052381A Granted JPS5812054A (en) 1981-07-15 1981-07-15 Address controller

Country Status (1)

Country Link
JP (1) JPS5812054A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01311338A (en) * 1988-06-10 1989-12-15 Oki Electric Ind Co Ltd Data memory address generating circuit

Also Published As

Publication number Publication date
JPS5812054A (en) 1983-01-24

Similar Documents

Publication Publication Date Title
US4503511A (en) Computing system with multifunctional arithmetic logic unit in single integrated circuit
JPH0326866B2 (en)
JPS6145264B2 (en)
JPH08212075A (en) Information processor
JPS63111535A (en) Data processor
JPH0560629B2 (en)
JP2643931B2 (en) Information processing device
JP3043861B2 (en) Data processing device
JPS6349816B2 (en)
JPH0619700B2 (en) Arithmetic unit
JPH07109589B2 (en) Instruction processing method
JP3139011B2 (en) Fixed-point processor
JPS59229659A (en) Data processing method
WO2001016712A1 (en) Digital signal processing apparatus and method for controlling the same
JPS6119065B2 (en)
JPS6057603B2 (en) arithmetic processing unit
JP2573711B2 (en) Micro subroutine control method
JP2504535B2 (en) Bus unit configuration method
JPS6237413B2 (en)
JPS631622B2 (en)
JPH0338613B2 (en)
JPH0588893A (en) Parallel operation processor
JPS5856137B2 (en) Digital differential analyzer calculation data transfer method
JPS6151242A (en) Instruction decoding circuit
JPH01120628A (en) Data processor