JP2002297378A - Signal processor - Google Patents

Signal processor

Info

Publication number
JP2002297378A
JP2002297378A JP2001101369A JP2001101369A JP2002297378A JP 2002297378 A JP2002297378 A JP 2002297378A JP 2001101369 A JP2001101369 A JP 2001101369A JP 2001101369 A JP2001101369 A JP 2001101369A JP 2002297378 A JP2002297378 A JP 2002297378A
Authority
JP
Japan
Prior art keywords
memory
program
instruction
address
stored
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
Application number
JP2001101369A
Other languages
Japanese (ja)
Inventor
Nobuyuki 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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2001101369A priority Critical patent/JP2002297378A/en
Publication of JP2002297378A publication Critical patent/JP2002297378A/en
Pending legal-status Critical Current

Links

Landscapes

  • Executing Machine-Instructions (AREA)

Abstract

PROBLEM TO BE SOLVED: To avoid the description of an instruction for designating the prescribed start address of a memory accessing a program at the time of repetitively performing the program including the instruction for accessing the memory from the prescribed start address, to avoid the repetitive performance of the instruction and to reduce the processing quantity of the program. SOLUTION: A signal processor (25) is provided with the memory (19) and it repetitively performs the program. The processor is provided with a storage means (23) storing the memory address for accessing the memory (19). When the memory access instruction for accessing the memory (19) from the prescribed start address is included in the program which is repetitively performed, the start address is stored in the storage means (23), and access to the memory (19) corresponding to the address stored in the storage means (23) is realized whenever the program is repetitively performed.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、マイクロコンピュ
ータ、マイクロプロセッサ、デジタルシグナルプロセッ
サなどの信号処理装置に関し、特に複数の命令の繰り返
し実行を制御するループ制御機構を備えた信号処理装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a signal processing device such as a microcomputer, a microprocessor, and a digital signal processor, and more particularly to a signal processing device having a loop control mechanism for controlling repetitive execution of a plurality of instructions.

【0002】[0002]

【従来の技術】従来の信号処理装置としてのデジタルシ
グナルプロセッサ(以下ではDSPと示す)の構成を図
4に示す。
2. Description of the Related Art FIG. 4 shows the configuration of a digital signal processor (hereinafter referred to as a DSP) as a conventional signal processing device.

【0003】図4において、(31)はループ制御機構
を備えるDSPの構成であり、(12)はプログラムメ
モリ、(13)はプログラムメモリから出力される命令
を格納するインストラクションレジスタIR、(14)
は、インストラクションレジスタIR(13)から出力
される命令を解読するデコーダ、(19)はデータメモ
リ、(15)は算術演算、論理演算等を行う演算器、
(16)は、アクセスするデータメモリのアドレスを格
納するポインタa0、(17)、(18)は、それぞ
れ、レジスタax、及びレジスタr0hで、演算器(1
5)からの出力、またはデータメモリ(19)からの出
力を格納する汎用レジスタである。
In FIG. 4, (31) is a configuration of a DSP having a loop control mechanism, (12) is a program memory, (13) is an instruction register IR for storing an instruction output from the program memory, and (14)
Is a decoder that decodes the instruction output from the instruction register IR (13), (19) is a data memory, (15) is an arithmetic unit that performs arithmetic operation, logical operation, and the like.
(16) is a pointer a0 for storing the address of the data memory to be accessed, (17) and (18) are a register ax and a register r0h, respectively,
This is a general-purpose register for storing the output from 5) or the output from the data memory (19).

【0004】(30)は、ループ制御機構であり、以下
の構成からなる。
[0004] (30) is a loop control mechanism having the following configuration.

【0005】(3)は、後述するレジスタLCR(5)
からの出力から「1」を減算する減算器SUB、(4)
は、減算器SUB(3)の出力がゼロかどうかを判定す
るゼロ判定回路ZERO、(5)は、減算器SUB
(3)の出力を格納するレジスタLCR、(6)は、繰
り返し実行を行うプログラムの繰り返し終了アドレスを
格納するレジスタLER、(7)は、後述する加算器A
DD(9)からの出力と、レジスタLER(6)からの
出力とを比較する比較器COMP、(8)は、繰り返し
実行を行うプログラムの繰り返し開始アドレスを格納す
るレジスタLSR、(9)は、後述するプログラムカウ
ンタPC(11)からの出力に「1」を加算して出力する
加算器ADD、(10)は、比較器COMP(7)から
の出力、及びゼロ判定回路ZERO(4)からの出力に
より、レジスタLSR(8)からの出力、または加算器
ADD(9)からの出力を選択するセレクタSEL2、
(11)は、あらかじめメモリに格納されたプログラム
領域を指すポインタで、セレクタSEL2(10)から
の出力を格納するプログラムカウンタPCである。
[0005] (3) is a register LCR (5) described later.
Subtractor "SUB" for subtracting "1" from the output from (4)
Is a zero determination circuit ZERO that determines whether the output of the subtractor SUB (3) is zero.
A register LCR for storing the output of (3) is a register LER for storing a repetition end address of a program for performing repetitive execution, and (7) is an adder A to be described later.
A comparator COMP for comparing the output from the DD (9) with the output from the register LER (6), (8) is a register LSR for storing a repetition start address of a program for executing repetition, and (9) An adder ADD (10) that adds "1" to an output from a program counter PC (11), which will be described later, and outputs the result, outputs from the comparator COMP (7) and from the zero determination circuit ZERO (4). A selector SEL2 that selects an output from the register LSR (8) or an output from the adder ADD (9) according to the output.
(11) is a pointer that points to a program area stored in the memory in advance, and is a program counter PC that stores an output from the selector SEL2 (10).

【0006】ループ制御機構(30)において、プログ
ラムを繰り返し行うためのループ命令が実行されると、
レジスタLCR(5)に繰り返し回数、レジスタLER
(6)に繰り返し終了アドレス、レジスタLSR(8)
に繰り返し開始アドレスが格納される。
In the loop control mechanism (30), when a loop instruction for repeatedly executing a program is executed,
Number of repetitions, register LER in register LCR (5)
(6) Repeat end address, register LSR (8)
Stores the repetition start address.

【0007】プログラムが繰り返し実行される毎に、レ
ジスタLCR(5)に格納されている繰り返し回数が、
減算器SUB(3)によって「1」減算され、再びレジス
タLCR(5)に格納される。
Every time the program is repeatedly executed, the number of repetitions stored in the register LCR (5) becomes:
"1" is subtracted by the subtractor SUB (3), and the result is stored again in the register LCR (5).

【0008】また、ゼロ判定回路ZERO(4)におい
て、減算器SUB(3)による減算結果が「0」であるか
どうかの判定が行われ、「0」であれば「1」を、「0」でな
ければ「0」を出力し、セレクタSEL2(10)に入力
される。
In the zero determination circuit ZERO (4), it is determined whether or not the result of the subtraction by the subtractor SUB (3) is "0". If the result is "0", "1" is replaced by "0". , "0" is output and input to the selector SEL2 (10).

【0009】一方、上記プログラムの実行中は、プログ
ラムカウンタPC(11)が加算器ADD(9)によ
り、インクリメントされ、セレクタSEL2(10)を
経由して再度PC(11)に格納される。また、プログ
ラムカウンタPC(11)がインクリメントされる毎
に、比較器COMP(7)において、レジスタLER
(6)に格納されているループ終了アドレスと比較さ
れ、比較結果が一致していれば、「1」を出力し、そうで
なければ「0」が出力し、セレクタSEL2(10)に入
力される。
On the other hand, during the execution of the program, the program counter PC (11) is incremented by the adder ADD (9) and stored again in the PC (11) via the selector SEL2 (10). Also, every time the program counter PC (11) is incremented, the register LER is set in the comparator COMP (7).
It is compared with the loop end address stored in (6), and if the comparison result matches, “1” is output; otherwise, “0” is output and input to the selector SEL2 (10). You.

【0010】セレクタSEL2(10)では、比較器C
OMP(7)からの入力が「1」、且つゼロ判定回路ZE
RO(4)からの入力が「0」の時に、レジスタLSR
(8)を出力し、そうでなければ加算器ADD(9)の
結果を出力する。
In the selector SEL2 (10), the comparator C
The input from the OMP (7) is "1" and the zero determination circuit ZE
When the input from RO (4) is "0", register LSR
(8) is output, otherwise the result of the adder ADD (9) is output.

【0011】また、プログラムカウンタPC(11)が
ループ終了アドレスと一致し、且つ繰り返し回数が「0」
の時、上記プログラムの繰り返し実行が終了する。
The program counter PC (11) matches the loop end address and the number of repetitions is "0".
At this time, the repetitive execution of the above program ends.

【0012】ここで、繰り返し実行されるプログラム
が、所定の開始アドレスからメモリをアクセスする命令
を含んでおり、該プログラムを複数回実行するような場
合、繰り返し実行されるプログラム中に、アクセスする
メモリの開始アドレスを指定する命令を記述しなければ
ならず、このため、この開始アドレスを指定する命令も
繰り返し回数だけ実行されることになる。
Here, the program to be repeatedly executed includes an instruction to access the memory from a predetermined start address. When the program is executed a plurality of times, the memory to be accessed is included in the program to be repeatedly executed. Must be described. Therefore, the instruction specifying the start address is also executed by the number of repetitions.

【0013】図5に、従来のDSPにおける、所定の開
始アドレスからメモリをアクセスする命令を含むプログ
ラムを繰り返し実行する際の記述例を示す。図5におい
て、命令“lp 10 END;”はループ命令で、こ
れが実行されると、繰り返し開始アドレスとして命令
“a0=8000;”のアドレス、繰り返し終了アドレ
スとして命令“ax=ax−r0h*r0h;”のアド
レス、及び繰り返し回数として“10” 回がそれぞ
れ、レジスタLSR(8)、レジスタLER(9)、レ
ジスタLCR(5)に格納され、命令“a0=800
0;”から,命令“ax=ax−r0h*r0h;”ま
での命令が10回繰り返し実行される。このうち命令
“a0=8000;”は、アクセスするデータメモリの
ポインタa0(16)にメモリアクセスの開始アドレス
である“8000”番地を格納する命令であり、この命
令も同様に10回繰り返し実行されることになる。
FIG. 5 shows a description example of a conventional DSP when a program including an instruction for accessing a memory from a predetermined start address is repeatedly executed. In FIG. 5, the instruction “lp 10 END;” is a loop instruction. When this instruction is executed, the instruction “a0 = 8000;” is used as the repetition start address, and the instruction “ax = ax−r0h * r0h; Are stored in the register LSR (8), the register LER (9), and the register LCR (5), respectively, and the instruction “a0 = 800” is stored.
0; ”to the instruction“ ax = ax−r0h * r0h; ”are repeatedly executed ten times, of which the instruction“ a0 = 8000; ”is stored in the pointer a0 (16) of the data memory to be accessed. This is an instruction to store the address "8000" which is the access start address, and this instruction is also repeatedly executed ten times.

【0014】[0014]

【発明が解決しようとする課題】このように、命令“a
0=8000;”のような、同じ値をポインタa0に格
納するだけの命令を繰り返し回数だけ実行することは、
プログラムの処理量増加につながり、処理速度の低下を
招く不都合があった。
As described above, the instruction "a
0 = 8000; ", an instruction that stores only the same value in the pointer a0 is executed by the number of repetitions.
This has led to an increase in the processing amount of the program, and has a disadvantage of causing a reduction in the processing speed.

【0015】本発明は、このような不都合を解消するた
めになされたものであり、繰り返しの毎に、アクセスす
るメモリの所定の開始アドレスを指定する命令の記述を
回避し、さらにその命令の繰り返し実行を回避し、プロ
グラムの処理量を削減することである。
The present invention has been made in order to solve such inconvenience, and avoids the description of an instruction designating a predetermined start address of a memory to be accessed at each repetition, and furthermore, the repetition of the instruction. The purpose is to avoid execution and reduce the amount of processing of the program.

【0016】[0016]

【課題を解決する為の手段】本発明の信号処理装置は、
メモリを備え、プログラムの繰り返し実行を可能とする
信号処理装置であって、該メモリをアクセスする為のメ
モリアドレスを格納する格納手段を備える。本発明で
は、繰り返し実行されるプログラム内に、所定の開始ア
ドレスからメモリをアクセスするメモリアクセス命令が
含まれる場合に、前記格納手段に該開始アドレスを格納
し、前記プログラムが繰り返し実行される毎に、前記格
納手段に格納されたアドレスに対応するメモリへのアク
セスを可能とするものである。
The signal processing device of the present invention comprises:
A signal processing device including a memory and capable of repeatedly executing a program, including a storage unit that stores a memory address for accessing the memory. In the present invention, when a memory access instruction for accessing a memory from a predetermined start address is included in a program to be repeatedly executed, the start address is stored in the storage unit, and each time the program is repeatedly executed. , Enabling access to a memory corresponding to the address stored in the storage means.

【0017】[0017]

【発明の実施の形態】図1は、本発明の一実施例に係る
信号処理装置としてのDSPの構成を示している。同図
において、図4に示すものと同一のものは、同一の図番
を付して、その説明を割愛する。
FIG. 1 shows a configuration of a DSP as a signal processing device according to one embodiment of the present invention. 4, the same components as those shown in FIG. 4 are denoted by the same reference numerals, and description thereof is omitted.

【0018】図1において、(25)は、ループ制御機
構を備える本実施例であるDSPの構成である。
In FIG. 1, (25) shows the configuration of the DSP according to the present embodiment having a loop control mechanism.

【0019】また、(24)は、本実施例に係るDSP
の特徴とするループ制御機構の構成であり、以下に詳述
する。
(24) shows the DSP according to the present embodiment.
This is the configuration of the loop control mechanism, which will be described in detail below.

【0020】(20)は、繰り返し実行されるプログラ
ムがアクセスするメモリの開始アドレスを格納するレジ
スタASR、(21)は、後述するポインタP0(2
3)からの出力値に対し整数値の加減算を行う加減算器
ADSBで、(22)は、比較器COMP(7)からの
出力、及びゼロ判定回路ZERO(4)からの出力によ
り、加減算器ADSB(21)からの出力、または後述
するポインタP0(23)からの出力を選択するセレク
タSEL3、(23)は、繰り返し実行されるプログラ
ム内でのメモリポインタP0であり、セレクタSEL3
(22)からの出力を格納する。
(20) is a register ASR for storing a start address of a memory accessed by a repeatedly executed program, and (21) is a pointer A0 (2) to be described later.
An adder / subtractor ADSB that performs addition / subtraction of an integer value with respect to the output value from 3). The selectors SEL3 and (23) for selecting an output from (21) or an output from a pointer P0 (23), which will be described later, are memory pointers P0 in a repeatedly executed program.
Store the output from (22).

【0021】次に、図2のフローチャートを用いて、本
発明に用いるループ制御機構の動作を示す。
Next, the operation of the loop control mechanism used in the present invention will be described with reference to the flowchart of FIG.

【0022】まず、ステップS11では、プログラムの
繰り返し実行を制御するループ命令を実行し、レジスタ
LCR(5)に繰り返し回数を、レジスタLER(6)
に繰り返し終了アドレスを、レジスタLSR(8)に繰
り返し開始アドレスを、レジスタASR(20)、及び
ポインタP0(23)に繰り返し実行されるプログラム
がアクセスするメモリの開始アドレスを格納する。
First, in step S11, a loop instruction for controlling the repetitive execution of the program is executed, and the number of repetitions is stored in the register LCR (5) and the register LER (6).
To the register LSR (8), the register ASR (20), and the pointer P0 (23) to store the start address of the memory accessed by the repeatedly executed program.

【0023】ステップS12では、プログラムカウンタ
PC(11)が加算器(9)によりインクリメントさ
れ、セレクタSEL2(10)を経由して再びプログラ
ムカウンタ(PC)に格納される。
In step S12, the program counter PC (11) is incremented by the adder (9) and stored again in the program counter (PC) via the selector SEL2 (10).

【0024】ステップS13ではPC(11)が指すメ
モリ領域に格納された命令が実行される。実行される命
令がメモリ領域をアクセスする命令の場合、ポインタP
0(23)が指すメモリ領域にアクセスすることが可能
である。
In step S13, the instruction stored in the memory area pointed to by the PC (11) is executed. If the instruction to be executed is an instruction for accessing a memory area, the pointer P
It is possible to access the memory area pointed to by 0 (23).

【0025】また、ポインタP0(23)は加減算器
(21)により指定された整数値を加減算し、再びポイ
ンタP0(23)へ格納することができる。
The pointer P0 (23) can add / subtract the integer value specified by the adder / subtracter (21) and store it again in the pointer P0 (23).

【0026】ステップS14では、プログラムカウンタ
PC(11)の値とレジスタLER(6)の値が比較器
COMP(7)により比較され、一致していれば、ステ
ップS15へ進む。
In step S14, the value of the program counter PC (11) is compared with the value of the register LER (6) by the comparator COMP (7). If they match, the process proceeds to step S15.

【0027】ステップS15では、繰り返し回数が格納
されたレジスタLCR(5)がデクリメントされ、S1
6に進む。
In step S15, the register LCR (5) in which the number of repetitions is stored is decremented.
Proceed to 6.

【0028】S16では、ゼロ判定回路ZERO(4)
において、減算器SUB(3)による減算結果がゼロで
あるかどうかを判定し、ゼロであれば、ステップS19
へ進み繰り返し実行を終える。ゼロでなければステップ
S17へ進む。
In S16, the zero determination circuit ZERO (4)
In, it is determined whether or not the result of the subtraction by the subtractor SUB (3) is zero.
To repeat the execution. If not zero, the process proceeds to step S17.

【0029】ステップS17では、ループ開始アドレス
が、レジスタLSR(8)より、セレクタSEL2(1
0)を経てプログラムカウンタPC(11)に入力され
る。
At step S17, the loop start address is set in the selector SEL2 (1) from the register LSR (8).
0) is input to the program counter PC (11).

【0030】ステップS18では、レジスタASR(2
0)より、プログラム内のメモリアクセス命令がアクセ
スするメモリの開始アドレスが、セレクタSEL3(2
2)を経て、ポインタP0(23)に格納され、再びス
テップS12から繰り返し実行される。
In step S18, the register ASR (2
0), the start address of the memory accessed by the memory access instruction in the program is determined by the selector SEL3 (2
After 2), it is stored in the pointer P0 (23), and is repeatedly executed again from step S12.

【0031】次に、上述した本発明の実施例のDSPに
おけるプログラム記述例図3に示す。
Next, FIG. 3 shows an example of program description in the DSP of the embodiment of the present invention.

【0032】図3において、命令“lp 10 800
0 END”は、DSPにおけるループ命令の記述形式
で、これが実行されると、繰り返し開始アドレスとして
1回目の、命令“r0h=[p0++];”のアドレ
ス、繰り返し終了アドレスとして命令“ax=ax−r
0h*r0h;”のアドレス、及び繰り返し回数として
“10” 回がそれぞれ、レジスタLSR(8)、レジ
スタLER(6)、レジスタLCR(5)に格納され、
さらに、繰り返し実行されるプログラムがアクセスする
メモリの開始アドレス“8000番地”が、レジスタA
SR(20)、及びポインタP0(23)に格納され
る。
In FIG. 3, the instruction "lp 10 800
0 END ”is a description format of a loop instruction in the DSP. When this is executed, the first time the instruction“ r0h = [p0 ++]; ”as the repetition start address and the instruction“ ax = ax− ”as the repetition end address r
0h * r0h; ”and the number of repetitions“ 10 ”are stored in the register LSR (8), the register LER (6), and the register LCR (5), respectively.
Further, the start address “8000 address” of the memory accessed by the repeatedly executed program is stored in the register A
It is stored in the SR (20) and the pointer P0 (23).

【0033】これにより、1回目の、命令“r0h=
[p0++];”から,命令“ax=ax−r0h*r
0h;”までの命令が10回繰り返し実行される。
As a result, the first instruction “r0h =
[P0 ++]; ”, the instruction“ ax = ax−r0h * r
0h; "are repeated 10 times.

【0034】また、1回目の、命令“r0h=[p0+
+];”において、アクセスするデータメモリのポイン
タp0(23)の初期値は、ASR(20)に格納され
た“8000”が使用され、加減算器ADSB(21)
によりその値がインクリメントされ、ポインタp0(2
3)に“8001”が格納され、レジスタr0h(1
8)には、データメモリ(19)の8000番地に格納
されている値が格納され、2回目の、命令“r0h=
[p0++];”により、アクセスするデータメモリの
ポインタp0(23)の値は、加減算器ADSB(2
1)によりその値がインクリメントされ、ポインタp0
(23)に“8002”が格納され、レジスタr0h
(18)には、データメモリ(19)の8001番地に
格納されている値が格納される。
The first instruction “r0h = [p0 +
+]; ”, The initial value of the pointer p0 (23) of the data memory to be accessed uses“ 8000 ”stored in the ASR (20), and the adder / subtracter ADSB (21)
Is incremented by the pointer p0 (2
3) stores “8001” and the register r0h (1
8) stores the value stored at address 8000 of the data memory (19), and the second instruction “r0h =
[P0 ++]; ", the value of the pointer p0 (23) of the data memory to be accessed is added to the adder / subtractor ADSB (2
The value is incremented by 1), and the pointer p0
“8002” is stored in (23), and the register r0h is stored.
(18) stores the value stored at the address 8001 in the data memory (19).

【0035】また、命令“r0h=[p0−−];”に
より、アクセスするデータメモリのポインタp0(2
3)の値は、加減算器ADSB(21)によりその値が
デクリメントされ、ポインタp0(23)に“800
1”が格納され、レジスタr0h(18)には、データ
メモリ(19)の8002番地に格納されている値が格
納される。
The instruction "r0h = [p0--];" causes the pointer p0 (2
The value of 3) is decremented by the adder / subtractor ADSB (21), and “800” is added to the pointer p0 (23).
1 "is stored, and the value stored at address 8002 of the data memory (19) is stored in the register r0h (18).

【0036】さらに、繰り返しの終了アドレス(命令
“ax=ax−r0h*r0h;”のアドレス)から、
繰り返しの開始アドレス(1回目の、命令“r0h=
[p0++];”のアドレス)に戻る際には、ポインタ
p0(23)には、再びレジスタASR(20)に格納
された“8000”が格納される。
Further, from the end address of the repetition (the address of the instruction “ax = ax−r0h * r0h;”),
Start address of repetition (first instruction "r0h =
When returning to [p0 ++]; address), “8000” stored in the register ASR (20) is stored again in the pointer p0 (23).

【0037】従って、繰り返し実行されるプログラムの
中で、アクセスするデータメモリの開始アドレスを指定
する命令を記述することなしに、所定の開始アドレスか
らのメモリアクセス、及び命令“r0h=[p0+
+];”や命令“r0h=[p0−−];”のようにア
クセスするデータメモリのアドレスをインクリメント、
あるいはデクリメントし、次のアドレスを指すこともで
きるため、プログラムの処理量削減が可能となる。
Therefore, in a repeatedly executed program, a memory access from a predetermined start address and an instruction "r0h = [p0 +
+]; ”Or the instruction“ r0h = [p0−−]; ”, the address of the data memory to be accessed is incremented.
Alternatively, since it can be decremented and pointed to the next address, the processing amount of the program can be reduced.

【0038】[0038]

【発明の効果】本発明の信号処理装置は、繰り返し実行
されるプログラムが、所定の開始アドレスからメモリへ
アクセスするようなメモリアクセス命令を含む場合にお
いて、上記プログラム中に、アクセスするメモリの開始
アドレスを指定するための命令を記述し、繰り返し実行
する必要がないため、プログラムの処理量削減による処
理速度改善に有効である。
According to the signal processing device of the present invention, when a program to be repeatedly executed includes a memory access instruction for accessing a memory from a predetermined start address, the start address of the memory to be accessed is included in the program. Since there is no need to write an instruction for designating and repeatedly executing the instruction, it is effective to improve the processing speed by reducing the processing amount of the program.

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

【図1】本発明に係るループ制御機構を備えた信号処理
装置の構成図である。
FIG. 1 is a configuration diagram of a signal processing device including a loop control mechanism according to the present invention.

【図2】本発明係るループ制御機構を備えた信号処理装
置によるループ命令実行時のフローチャートである。
FIG. 2 is a flowchart at the time of executing a loop instruction by a signal processing device having a loop control mechanism according to the present invention.

【図3】本発明に係るループ制御機構を備えた信号処理
装置における、所定の開始アドレスからメモリへアクセ
スする命令を含むプログラムを、繰り返し実行するため
のプログラム記述例、及びその説明である。
FIG. 3 is a program description example for repeatedly executing a program including an instruction to access a memory from a predetermined start address in a signal processing device including a loop control mechanism according to the present invention, and a description thereof.

【図4】従来のループ制御機構を備えた信号処理装置の
構成図である。
FIG. 4 is a configuration diagram of a signal processing device provided with a conventional loop control mechanism.

【図5】従来のループ制御機構を備えた信号処理装置に
おける、所定の開始アドレスからメモリへアクセスする
命令を含むプログラムを、繰り返し実行するためのプロ
グラム記述例、及びその説明である。
FIG. 5 is a program description example for repeatedly executing a program including an instruction for accessing a memory from a predetermined start address in a signal processing device having a conventional loop control mechanism, and a description thereof.

【符号の説明】[Explanation of symbols]

24 ループ制御機構 25 信号処理装置 24 loop control mechanism 25 signal processing device

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 メモリを備え、プログラムの繰り返し実
行を可能とする信号処理装置において、該メモリをアク
セスする為のメモリアドレスを格納する格納手段を備
え、繰り返し実行されるプログラム内に、所定の開始ア
ドレスからメモリをアクセスするメモリアクセス命令が
含まれる場合に、前記格納手段に該開始アドレスを格納
し、前記プログラムが繰り返し実行される毎に、前記格
納手段に格納されたアドレスに対応するメモリへのアク
セスを可能とすることを特徴とするループ制御機構を備
える信号処理装置。
1. A signal processing apparatus comprising a memory and capable of repeatedly executing a program, comprising a storage means for storing a memory address for accessing the memory, wherein a predetermined start is included in the repeatedly executed program. When a memory access instruction for accessing a memory from an address is included, the start address is stored in the storage unit, and each time the program is repeatedly executed, the start address is stored in the memory corresponding to the address stored in the storage unit. A signal processing device comprising a loop control mechanism, which enables access.
JP2001101369A 2001-03-30 2001-03-30 Signal processor Pending JP2002297378A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001101369A JP2002297378A (en) 2001-03-30 2001-03-30 Signal processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001101369A JP2002297378A (en) 2001-03-30 2001-03-30 Signal processor

Publications (1)

Publication Number Publication Date
JP2002297378A true JP2002297378A (en) 2002-10-11

Family

ID=18954698

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001101369A Pending JP2002297378A (en) 2001-03-30 2001-03-30 Signal processor

Country Status (1)

Country Link
JP (1) JP2002297378A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006099232A (en) * 2004-09-28 2006-04-13 Renesas Technology Corp Semiconductor signal processor
JP2011086157A (en) * 2009-10-16 2011-04-28 Mitsubishi Electric Corp Control circuit for data arithmetic unit and the data arithmetic unit
JP2011192305A (en) * 2011-06-01 2011-09-29 Renesas Electronics Corp Semiconductor signal processor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006099232A (en) * 2004-09-28 2006-04-13 Renesas Technology Corp Semiconductor signal processor
JP2011086157A (en) * 2009-10-16 2011-04-28 Mitsubishi Electric Corp Control circuit for data arithmetic unit and the data arithmetic unit
JP2011192305A (en) * 2011-06-01 2011-09-29 Renesas Electronics Corp Semiconductor signal processor

Similar Documents

Publication Publication Date Title
JP2002297378A (en) Signal processor
US6345353B2 (en) Stack pointer with post increment/decrement allowing selection from parallel read/write address outputs
JP3599499B2 (en) Central processing unit
US5463747A (en) Microprogram data processor processing operand address calculation and instruction execution with common hardware
JP2812610B2 (en) Pipeline control method
JP3211791B2 (en) Loop processing method
JP3560482B2 (en) Command control device
JP2689894B2 (en) Micro program control type information processing device
JP2721610B2 (en) Programmable controller
JPH06337812A (en) Address generating mechanism
US20100153688A1 (en) Apparatus and method for data process
JP3493110B2 (en) High-speed branch processing unit
JP3060917B2 (en) Processor
JP3074790B2 (en) Microprocessor
JP3164690B2 (en) Address control device
JPH05181667A (en) Microprogram control part
JPH05307480A (en) Microprogram controller
JPH04251332A (en) Arithmetic processor
JPH0682321B2 (en) Micro controller
JPH0340075A (en) Microcomputer
JPH05324316A (en) Microprocessor
JPH05165640A (en) Microprocessor
JP2001067335A (en) Microcomputer
JPH11120070A (en) Data readout controller
JPH05100842A (en) Instruction processor

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20051227