JPH04271432A - Operand designating method and central arithmetic processing unit using this method - Google Patents

Operand designating method and central arithmetic processing unit using this method

Info

Publication number
JPH04271432A
JPH04271432A JP3273091A JP3273091A JPH04271432A JP H04271432 A JPH04271432 A JP H04271432A JP 3273091 A JP3273091 A JP 3273091A JP 3273091 A JP3273091 A JP 3273091A JP H04271432 A JPH04271432 A JP H04271432A
Authority
JP
Japan
Prior art keywords
data
operand
memory
stored
processing unit
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
JP3273091A
Other languages
Japanese (ja)
Inventor
Keiichi Yoshioka
圭一 吉岡
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP3273091A priority Critical patent/JPH04271432A/en
Publication of JPH04271432A publication Critical patent/JPH04271432A/en
Pending legal-status Critical Current

Links

Landscapes

  • Executing Machine-Instructions (AREA)

Abstract

PURPOSE:To realize the operand method where data of an operand and a number to be operated can be held to especially execute the operation between memory data at a high speed and the instruction word length is short. CONSTITUTION:In the operand designating method of a CPU where only operation data and data to be operated are designated as operands, first memory data stored in a first memory is designated as first operand data, and second memory data stored in a second memory is designated as second operand data, and the operation between first and second operand data is executed, and data of the operation result is stored in a specific register provided in this CPU.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、中央演算処理装置(以
下CPUと記す)のオペランド指定方法及び当該演算方
法を使用する中央演算処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of specifying operands for a central processing unit (hereinafter referred to as CPU) and a central processing unit using the calculation method.

【0002】0002

【従来の技術】CPUが扱うオペランドデータには、レ
ジスタデータ、イミディエイトデータ、メモリデータの
3種類がある。レジスタデータとは、CPUが内部ハー
ドウェアとして有する1つ以上のレジスタに格納されて
いるデータを示し、イミディエイトデータとは、プログ
ラム中に記述された即値を言う。メモリデータは、CP
Uによって規定されたメモリ内に格納するデータで、C
PUは一般に広いメモリ空間を効率よく高速にアクセス
可能とするためのアドレッシングモードを備えている。 また、CPUの命令体系において、アーキテクチャによ
りオペランドの指定方法が複数存在する。加算命令 (
ADD)を例に上記指定方法について以下に説明する。 a.3オペランド方式 C    ←    A    +    BA,B,
Cはそれぞれオペランドを示し、命令中で、演算数であ
り第1オペランドに格納されるデータであるAと、被演
算数であり第2オペランドに格納されるデータであるB
とを加算しその加算結果である加算データを第3のオペ
ランドに格納する。このように各データの読み出し、格
納先を3つそれぞれオペランドを独立して指定する。 b.2オペランド方式        A    ←    A    +  
  B      あるいは  B←A+B命令中で、
2つのオペランドA,Bを指定し、演算結果は前記2つ
のオペランドのいずれかに格納され、演算前に格納され
ていたデータを更新する。 c.1オペランド方式        Acc   ←   Acc +   
 A      あるいは  A←Acc+A命令中で
、1つのオペランドAを指定し、演算用の専用特定レジ
スタである、Accにて示すアキュムレータに格納され
ているデータと演算を実施し、その演算結果をアキュム
レータ或は前記指定のオペランドに格納する。
2. Description of the Related Art There are three types of operand data handled by a CPU: register data, immediate data, and memory data. Register data refers to data stored in one or more registers that the CPU has as internal hardware, and immediate data refers to immediate values written in a program. Memory data is CP
The data to be stored in the memory specified by U, C
A PU generally has an addressing mode that enables efficient and high-speed access to a wide memory space. Furthermore, in the CPU instruction system, there are multiple methods of specifying operands depending on the architecture. Addition instruction (
The above specification method will be explained below using ADD) as an example. a. 3-operand method C ← A + BA, B,
C indicates an operand, and in the instruction, A is the operand and is the data stored in the first operand, and B is the operand and is the data stored in the second operand.
and the added data that is the result of the addition is stored in the third operand. In this way, three operands are independently specified for each data readout and storage destination. b. 2-operand method A ← A +
B or in the B←A+B command,
Two operands A and B are specified, and the result of the operation is stored in either of the two operands, updating the data stored before the operation. c. 1-operand method Acc ← Acc +
A or A←Acc+A In the instruction, one operand A is specified, the operation is performed on the data stored in the accumulator indicated by Acc, which is a special register dedicated for operation, and the operation result is transferred to the accumulator or Store in the specified operand.

【0003】0003

【発明が解決しようとする課題】上述したaないしcの
各方式の問題点について考えると、aに示す3オペラン
ド方式は、オペランドを3つ独立して指定できるので選
択性の点で最も自由度が高い。さらに命令が加算の場合
では、第1オペランドデータ、第2オペランドデータで
ある演算数、被演算数を演算後更新しないようにできる
特徴がある。しかしながら、3つのオペランドを命令中
で指定することは、命令語長が長くなる欠点がある。そ
こで、この欠点の回避法として、モトローラ社 MC8
8100のユーザ マニュアルに記載されているが、当
該CPUに採用され下記のRISCアーキテクチャの様
に、3オペランド方式であっても使用できるオペランド
データをメモリでなくレジスタに限定してオペランド選
択性の拡大による命令語長の増加を防止するものがある
。 a’RISCの3オペランド方式 R3←R1+R2     ここで、R1,R2,R3
はレジスタデータである。
[Problems to be Solved by the Invention] Considering the problems of each of the above-mentioned methods a to c, the three-operand method shown in a has the highest degree of freedom in terms of selectivity because three operands can be specified independently. is high. Furthermore, when the instruction is addition, there is a feature that the operand and operand, which are the first operand data and second operand data, are not updated after the operation. However, specifying three operands in an instruction has the disadvantage that the length of the instruction word becomes long. Therefore, as a way to avoid this drawback, Motorola's MC8
Although it is stated in the user manual of the 8100, even with the 3-operand system adopted by the CPU, as in the RISC architecture shown below, operand data that can be used is limited to registers rather than memory, and operand selectivity is expanded. There are methods to prevent the instruction word length from increasing. a'RISC 3-operand system R3←R1+R2 Here, R1, R2, R3
is register data.

【0004】一方、cに示す1オペランド方式の場合、
オペランドの選択性の点では自由度が低いが、命令中に
割付けるべき命令語長は短くなる利点を持っている。但
し、cにおいては演算対象が常にアキュムレータに格納
されるデータとなるので演算可能なレジスタが限定され
、演算の都度アキュムレータへ演算データを転送して準
備し演算後はアキュムレータから結果データを転送する
必要があり、プログラムサイズ、実行サイクル数を増加
させる欠点がある。従って、両者の中間的な方式である
bに示す2オペランド方式は、比較的オペランド選択性
が高く命令語長が短くなることより、複数の演算可能な
レジスタを有するCPUでは2オペランド方式が多用さ
れている。しかしながら2オペランド方式は、上述した
ようにいずれか一方のオペランドに格納されるデータが
演算後更新されてしまうので、演算数、被演算数を変更
せず保持したい場合には、3オペランドに比べて、デー
タの退避のプログラムを追加する必要があるという問題
点がある。又、上述したようにオペランドデータにはレ
ジスタデータ、イミディエイトデータ、メモリデータが
あることより、複数の演算可能なレジスタを有するCP
Uの2オペランド方式による上記各データの演算の組合
わせを加算命令に基づいて分類すると以下のdないしi
のようになる。
On the other hand, in the case of the one-operand method shown in c,
Although the degree of freedom is low in terms of operand selectivity, it has the advantage of shortening the instruction word length to be allocated in an instruction. However, in c, the operation target is always the data stored in the accumulator, so the registers that can be operated on are limited, and it is necessary to prepare by transferring the operation data to the accumulator each time the operation is performed, and after the operation, transfer the result data from the accumulator. However, it has the disadvantage of increasing the program size and the number of execution cycles. Therefore, the two-operand method shown in b, which is an intermediate method between the two, has relatively high operand selectivity and short instruction word length, so the two-operand method is often used in CPUs that have registers that can perform multiple operations. ing. However, in the two-operand method, as mentioned above, the data stored in one of the operands is updated after the operation, so if you want to keep the operands and operands unchanged, it is better than the three-operand method. However, there is a problem in that it is necessary to add a program for saving data. In addition, as mentioned above, operand data includes register data, immediate data, and memory data, so a CP that has multiple registers that can be operated on.
If the combinations of operations on each of the above data using the two-operand method of U are classified based on the addition instruction, the following d or i
become that way.

【0005】d.  R1  ←  R1  +  R
2e.  R1  ←  R1  +  M1f.  
R1  ←  R1  +  IM1g.  M1  
←  M1  +  R1h.  M1  ←  M1
  +  IM1i.  M1  ←  M1  + 
 M2
[0005]d. R1 ← R1 + R
2e. R1 ← R1 + M1f.
R1 ← R1 + IM1g. M1
← M1 + R1h. M1 ← M1
+ IM1i. M1 ← M1 +
M2

【0006】これらは以下のことを示している。 即ち、上記dはレジスタR1に格納されるデータR1と
レジスタR2に格納されるデータR2とを加算し、その
加算結果をレジスタR1へ格納することを示し、上記e
はレジスタR1に格納されるデータR1とメモリM1に
格納されるメモリデータM1とを加算し、その加算結果
をレジスタR1へ格納することを示し、上記fはレジス
タR1に格納されるデータR1とイミディエイトIM1
に格納されるイミディエイトデータIM1とを加算し、
その加算結果をレジスタR1へ格納することを示し、上
記gはメモリM1に格納されるメモリデータM1とレジ
スタR1に格納されるデータR1とを加算し、その加算
結果をメモリM1へ格納することを示し、上記hはメモ
リM1に格納されるメモリデータM1とイミディエイト
IM1に格納されるイミディエイトデータIM1とを加
算し、その加算結果をメモリM1へ格納することを示し
、上記hはメモリM1に格納されるメモリデータM1と
メモリM2に格納されるメモリデータM2とを加算し、
その加算結果をメモリM1へ格納することを示している
[0006] These show the following. That is, the above d indicates adding the data R1 stored in the register R1 and the data R2 stored in the register R2, and storing the addition result in the register R1, and the above e
indicates that the data R1 stored in the register R1 and the memory data M1 stored in the memory M1 are added, and the addition result is stored in the register R1, and the above f indicates that the data R1 stored in the register R1 and the immediate IM1
and the immediate data IM1 stored in
The above g indicates that the addition result is stored in the register R1, and the above g indicates that the memory data M1 stored in the memory M1 and the data R1 stored in the register R1 are added, and the addition result is stored in the memory M1. The above h indicates adding the memory data M1 stored in the memory M1 and the immediate data IM1 stored in the immediate IM1, and storing the addition result in the memory M1. Add the memory data M1 stored in the memory M2 and the memory data M2 stored in the memory M2,
This shows that the addition result is stored in the memory M1.

【0007】ここで、M3←M1+M2  の命題を考
える。即ちこの命題は、メモリM1に格納されるメモリ
データM1とメモリM2に格納されるメモリデータM2
とを加算し、その結果を、メモリM2に格納するという
命題であり、メモリデータM1及びM2は演算後も演算
前のデータを保持しなければいけない条件を付加する。 この場合、上述したように3オペランド方式を採用する
CPUでは1つの命令で完了するが、従来の2オペラン
ド方式のCPUでは以下に示すように複数のプログラム
ステップを必要とする。
[0007] Now, consider the proposition M3←M1+M2. That is, this proposition states that memory data M1 stored in memory M1 and memory data M2 stored in memory M2
The proposition is to add the results and store the result in the memory M2, and adds a condition that the memory data M1 and M2 must retain the data before the calculation even after the calculation. In this case, as described above, a CPU that uses a three-operand system completes the process with one instruction, but a conventional CPU that uses a two-operand system requires a plurality of program steps as shown below.

【0008】 j.  MOV  R1,M1      …  R1
←M1k.  ADD  R1,M2      … 
 R1←R1+M2m.  MOV  M3,R1  
    …  M3←R1
j. MOV R1, M1 … R1
←M1k. ADD R1, M2...
R1←R1+M2m. MOV M3, R1
… M3←R1

【0009】即ち、jに示す
命令はメモリM1に格納されるメモリデータM1をレジ
スタR1に転送する命令であり、kに示す命令はレジス
タR1に格納されるデータ即ちメモリデータM1とメモ
リM2に格納されるメモリデータM2とを加算しその加
算結果をレジスタR1に加算する命令であり、mに示す
命令はレジスタR1に格納されるデータ即ちメモリデー
タM1とM2とが加算されたデータをメモリM3へ転送
する命令である。このように上記命題を2オペランドで
実行しようとすると3命令を要する。
That is, the instruction shown in j is an instruction to transfer the memory data M1 stored in the memory M1 to the register R1, and the instruction shown in k is an instruction to transfer the data stored in the register R1, that is, the memory data M1 and the memory data M2 stored in the memory M2. This is an instruction to add the memory data M2 and the addition result to the register R1, and the instruction shown in m adds the data stored in the register R1, that is, the data obtained by adding the memory data M1 and M2, to the memory M3. This is a command to transfer. In this way, if we try to execute the above proposition with two operands, it will take three instructions.

【0010】本発明は上述したような問題点を解決する
ためになされたもので、演算数、被演算数のデータ保持
が可能で、特にメモリデータ間の演算を高速に実行し、
かつ命令語長が短い、CPUのオペランド指定方法及び
当該方法を使用するCPUを提供することを目的とする
The present invention was made in order to solve the above-mentioned problems, and it is possible to hold data of operands and operands, and in particular, to execute operations between memory data at high speed.
It is an object of the present invention to provide a CPU operand specification method that has a short instruction word length, and a CPU that uses the method.

【0011】[0011]

【課題を解決するための手段とその作用】本発明は、演
算データと被演算データのみをオペランドで指定するC
PUの2オペランド指定方法において、第1オペランド
データとして第1メモリに格納された第1メモリデータ
を指定しかつ第2オペランドデータとして第2メモリに
格納された第2メモリデータを指定し、第1及び第2オ
ペランドデータによる演算を実行し、該演算による結果
データを当該CPU内に備わる特定レジスタに格納する
ことを特徴とする。
[Means for Solving the Problems and Their Effects] The present invention provides a C
In the PU two-operand specification method, the first memory data stored in the first memory is specified as the first operand data, the second memory data stored in the second memory is specified as the second operand data, and the first and second operand data, and stores the result data of the operation in a specific register provided within the CPU.

【0012】このような方法をとることで、2オペラン
ド方式であるにも拘わらず第1及び第2メモリに格納さ
れたデータは書き替えられることがなく、又、3オペラ
ンド方式に比べ命令語長は短くなる。
By adopting such a method, the data stored in the first and second memories will not be rewritten even though it is a two-operand method, and the instruction word length will be reduced compared to the three-operand method. becomes shorter.

【0013】さらに本発明は、演算データと被演算デー
タのみをオペランドで指定する中央演算処理装置の2オ
ペランド指定方法を採用する中央演算処理装置において
、当該中央演算処理装置内に備わり、上記演算データと
上記被演算データとの演算結果データを格納し送出する
内部レジスタ部と、上記演算結果データを上記内部レジ
スタ部に格納するための制御信号を発生する制御部と、
を備えたことを特徴とする。
Further, the present invention provides a central processing unit that adopts a two-operand specification method for a central processing unit in which only operation data and operand data are specified by operands, and a central processing unit that is provided in the central processing unit and that specifies the operation data. an internal register unit that stores and sends the operation result data of and the operand data; a control unit that generates a control signal for storing the operation result data in the internal register unit;
It is characterized by having the following.

【0014】内部レジスタ部は、演算データ及び被演算
データに基づく演算結果データを格納し、当該格納デー
タを上記演算データ及び上記被演算データを格納するメ
モリ以外のメモリに送出する。
The internal register section stores operation result data based on the operation data and the operand data, and sends the stored data to a memory other than the memory that stores the operation data and the operation data.

【0015】[0015]

【実施例】本実施例におけるCPUのオペランド方式は
2オペランド方式を採用し、その動作を上述した、M3
←M1+M2  の命題を例に以下に説明する。本実施
例のCPUにおける2オペランド方式では以下のn,p
の2命令で上記命題を完了する。   n.  ADD  M1,M2        …
  Rs   ←  M1+M2  p.  MOV 
 M3,R1        …  M3  ←  R
[Example] The operand system of the CPU in this example employs a two-operand system, and its operation is described above.
The following will explain the proposition ←M1+M2 as an example. In the two-operand system in the CPU of this embodiment, the following n, p
The above proposition is completed with the following two instructions. n. ADD M1, M2...
Rs ← M1+M2 p. M.O.V.
M3, R1 … M3 ← R
s

【0016】即ち、nに示す命令ではメモリM1に格納
されるメモリデータM1とメモリM2に格納されるメモ
リデータM2とを加算し、その結果データをCPU内の
内部レジスタRsに格納する。pに示す命令では上記レ
ジスタRsに格納された上記結果データをメモリM3に
格納する。このようにCPUの内部レジスタを使用する
ことで、従来の2オペランド方式では命題完了までに3
命令を要したのが2命令にて完了することができ、従来
の2/3の命令数でメモリ間演算を実行することができ
、プログラムサイズの縮小及び高速演算を行うことがで
きる。
That is, the instruction indicated by n adds memory data M1 stored in memory M1 and memory data M2 stored in memory M2, and stores the resulting data in an internal register Rs within the CPU. The instruction indicated by p stores the result data stored in the register Rs in the memory M3. By using the CPU's internal registers in this way, in the conventional two-operand system, it takes three to complete a proposition.
What used to require one instruction can be completed with two instructions, and inter-memory operations can be executed with two-thirds the number of instructions compared to the conventional method, allowing for reduction in program size and high-speed operations.

【0017】又、命令を構成するフォーマット面では、
図1に示すように、ADD、MOVのような命令を識別
するビットLn、メモリオペランドを指定するビット群
mn1、mn2にて構成され、図2(a)に示すような
従来の2オペランド方式のCPUにおけるフォーマット
と変わりはなく命令語長が長くなることはない。尚、図
2(b)に示すように3オペランド方式のCPUにおけ
るフォーマットより本実施例の2オペランド方式による
命令語長は当然に短い。
[0017] Furthermore, in terms of the format of the instructions,
As shown in FIG. 1, it consists of a bit Ln that identifies instructions such as ADD and MOV, and bit groups mn1 and mn2 that specify memory operands. The format is the same as in the CPU, and the length of the instruction word does not become longer. Incidentally, as shown in FIG. 2(b), the instruction word length in the two-operand system of this embodiment is naturally shorter than the format in the three-operand system CPU.

【0018】尚、従来の2オペランド方式においても下
記のq、rの命令によれば2命令で上記命題を実行する
ことは可能である。 q.  MOV  M3,M1      …  M3
←M1r.  ADD  M3,M2      … 
 M3←M3+M2qに示す命令はメモリM1に格納さ
れるメモリデータM1をメモリM3へ格納するという命
令であり、rに示す命令はメモリM3に格納されたデー
タ、即ちメモリデータM1とメモリM2に格納されるメ
モリデータM2とを加算し、その結果データをメモリM
3に格納する命令である。しかしこの場合、命令数は本
実施例における場合と同じであるが、命令を実行する際
のいわゆるサイクル数が本実施例の場合よりも多くを要
し、演算処理時間が遅くなる。即ち、命令qではメモリ
M1からの読み出し、及びメモリM3への書き込みの2
ステップを要し、命令rではメモリM2及びメモリM3
からのデータの読み出し、メモリM3へのデータの書き
込みの3ステップを要し、命令q,rにて合計5ステッ
プを要する。但し、命令のフェッチや内部アドレスサイ
クルを除く。これに対し本実施例の2オペランド方式で
は、命令nではレジスタRsがCPUの内部レジスタで
あるのでレジスタRsへの書き込みにはステップ数を要
せず、メモリM1及びメモリM2からのデータの読み出
しの2ステップを要し、命令pではメモリM2へのデー
タの書き込みに1ステップを要する。よって命令n、p
では合計3ステップで済む。
Note that even in the conventional two-operand system, it is possible to execute the above proposition with two instructions according to the following instructions q and r. q. MOV M3, M1 … M3
←M1r. ADD M3, M2...
The command shown in M3←M3+M2q is a command to store memory data M1 stored in memory M1 into memory M3, and the command shown in r is a command to store data stored in memory M3, that is, memory data M1 and memory data M2. memory data M2 and the resulting data is added to memory M2.
This is an instruction to store in 3. However, in this case, although the number of instructions is the same as in the present embodiment, the so-called number of cycles required to execute the instructions is greater than in the present embodiment, and the calculation processing time becomes slower. That is, the instruction q has two functions: reading from memory M1 and writing to memory M3.
In the instruction r, memory M2 and memory M3
It requires three steps: reading data from the memory M3 and writing data to the memory M3, and a total of five steps are required for instructions q and r. However, instruction fetch and internal address cycles are excluded. On the other hand, in the two-operand system of this embodiment, since register Rs is an internal register of the CPU in instruction n, writing to register Rs does not require the number of steps, and reading data from memory M1 and memory M2 does not require a number of steps. Two steps are required, and instruction p requires one step to write data to memory M2. Therefore, instructions n, p
It only takes 3 steps in total.

【0019】又、3オペランド方式における、命令s 
 R1←M1+M2  と比べると、上述したステップ
数では命令sによる方が1ステップ短くなるが、上述し
たように命令語長は本実施例の2オペランド方式の方が
短く、よって演算処理時間は本実施例による方式の方が
高速演算することができる。
[0019] Also, in the three-operand system, the instruction s
Compared to R1←M1+M2, the number of steps mentioned above is one step shorter with instruction s, but as mentioned above, the instruction word length is shorter with the two-operand method of this embodiment, so the calculation processing time is shorter than that of this embodiment. The example-based method allows faster calculations.

【0020】尚、本実施例による2オペランド方式を実
行するには、新たに上記レジスタRsをCPU内に設け
ても良いし、CPU内の既存の内部レジスタの所定部分
を使用すればよい。又、レジスタRsを設けることでC
PU内の制御部からは制御コードの追加、変更に関する
データの送出が必要となるが、上述のようにCPUに既
存の内部レジスタを使用することでハードウエア面にお
ける負担は最小限に抑えることができる。
In order to execute the two-operand method according to this embodiment, the above-mentioned register Rs may be newly provided in the CPU, or a predetermined portion of an existing internal register in the CPU may be used. Also, by providing a resistor Rs, C
It is necessary to send data related to the addition and modification of control codes from the control unit in the PU, but as mentioned above, by using the existing internal registers of the CPU, the burden on the hardware can be kept to a minimum. can.

【0021】[0021]

【発明の効果】以上詳述したように本発明によれば、オ
ペランドデータの演算結果データをCPUの特定内部レ
ジスタに格納するようにしたことで、2オペランド方法
にも拘わらずオペランドデータである演算データあるい
は被演算データを書き替えることなく演算が実行でき、
3オペランド方法よりも命令語長を短くすることができ
る。又、CPUの内部レジスタを使用することで演算デ
ータと被演算データとを直接演算でき、従来2オペラン
ド方法で演算データあるいは被演算データの書き替えを
行わずに演算を実行するよりも命令数を少なくすること
ができる。したがって、従来の2オペランド方法のCP
Uに比べ演算処理を高速化することができる。
As described in detail above, according to the present invention, by storing the operation result data of operand data in a specific internal register of the CPU, operations using operand data can be performed even though the two-operand method is used. Operations can be performed without rewriting data or operand data,
The instruction word length can be made shorter than the three-operand method. In addition, by using the internal registers of the CPU, the operation data and operand data can be directly operated, which reduces the number of instructions compared to the conventional two-operand method, which executes operations without rewriting the operation data or operand data. It can be reduced. Therefore, the CP of the conventional two-operand method
Compared to U, calculation processing can be made faster.

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

【図1】  本発明のオペランド方法における命令フォ
ーマットを示す図である。
FIG. 1 is a diagram showing an instruction format in the operand method of the present invention.

【図2】  従来の2オペランド方式及び3オペランド
方式における命令フォーマットを示す図である。
FIG. 2 is a diagram showing instruction formats in conventional two-operand systems and three-operand systems.

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

なし none

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  演算データと被演算データのみをオペ
ランドで指定する中央演算処理装置のオペランド指定方
法において、第1オペランドデータとして第1メモリに
格納された第1メモリデータを指定しかつ第2オペラン
ドデータとして第2メモリに格納された第2メモリデー
タを指定し、第1及び第2オペランドデータによる演算
を実行し、該演算による結果データを当該中央演算処理
装置内に備わる特定レジスタに格納することを特徴とす
る中央演算処理装置のオペランド指定方法。
Claim 1. An operand specification method for a central processing unit in which only operation data and operand data are specified by operands, wherein first memory data stored in a first memory is specified as first operand data, and first memory data stored in a first memory is specified as second operand data. Specifying second memory data stored in a second memory as data, executing an operation using first and second operand data, and storing result data from the operation in a specific register provided in the central processing unit. A method for specifying operands for a central processing unit, characterized by:
【請求項2】  演算データと被演算データのみをオペ
ランドで指定する2オペランド指定方法を採用する中央
演算処理装置において、当該中央演算処理装置内に備わ
り、上記演算データと上記被演算データとの演算結果デ
ータを格納し送出する内部レジスタ部と、上記演算結果
データを上記内部レジスタ部に格納するための制御信号
を発生する制御部と、を備えたことを特徴とする2オペ
ランド指定方法を採用する中央演算処理装置。
2. In a central processing unit that adopts a two-operand specification method in which only operation data and operand data are specified by operands, a central processing unit is provided within the central processing unit that performs an operation on the operation data and the operand data. A two-operand specification method is adopted, which is characterized by comprising an internal register section that stores and sends result data, and a control section that generates a control signal for storing the operation result data in the internal register section. Central processing unit.
JP3273091A 1991-02-27 1991-02-27 Operand designating method and central arithmetic processing unit using this method Pending JPH04271432A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3273091A JPH04271432A (en) 1991-02-27 1991-02-27 Operand designating method and central arithmetic processing unit using this method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3273091A JPH04271432A (en) 1991-02-27 1991-02-27 Operand designating method and central arithmetic processing unit using this method

Publications (1)

Publication Number Publication Date
JPH04271432A true JPH04271432A (en) 1992-09-28

Family

ID=12366960

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3273091A Pending JPH04271432A (en) 1991-02-27 1991-02-27 Operand designating method and central arithmetic processing unit using this method

Country Status (1)

Country Link
JP (1) JPH04271432A (en)

Similar Documents

Publication Publication Date Title
US20040103262A1 (en) Vector register file with arbitrary vector addressing
KR930702717A (en) R.S. microprocessor architecture implementing multiple sets of registers
JP2003512670A (en) Linked list DMA descriptor architecture
KR20030072550A (en) A data processing apparatus and method for saving return state
KR20130085042A (en) Memories and methods for performing atomic memory operations in accordance with configuration information
JPH0414385B2 (en)
JP2021515308A (en) Devices and methods for accessing metadata when debugging devices
JPS623461B2 (en)
US5483566A (en) Method and apparatus for modifying the contents of a register via a command bit
JP2000207203A (en) Micro controller
US5893928A (en) Data movement apparatus and method
JPH02197924A (en) central processing unit
KR102673748B1 (en) Multi-dimension dma controller and computer system comprising the same
JP2883488B2 (en) Instruction processing unit
JP3442972B2 (en) Information processing apparatus and rewritable nonvolatile memory rewriting method
JPH1139214A (en) A shared memory control method for multiprocessor systems.
JP2918570B2 (en) Central processing unit
JP2003196087A (en) Memory addressing system of microcontroller and page mapping device
KR19990037395A (en) System and method for executing two word instructions in a single cycle
JPH03273592A (en) Cache memory device
JPH03158943A (en) Buffer storage/transfer system
JPS61190648A (en) Inter-memory data transfer control circuit
JPH0578052B2 (en)
JPH0731598B2 (en) Computer
JPH0546581B2 (en)