Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0248935B2 - - Google Patents
[go: Go Back, main page]

JPH0248935B2 - - Google Patents

Info

Publication number
JPH0248935B2
JPH0248935B2 JP55166091A JP16609180A JPH0248935B2 JP H0248935 B2 JPH0248935 B2 JP H0248935B2 JP 55166091 A JP55166091 A JP 55166091A JP 16609180 A JP16609180 A JP 16609180A JP H0248935 B2 JPH0248935 B2 JP H0248935B2
Authority
JP
Japan
Prior art keywords
main memory
register
stack
block
internal
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 - Lifetime
Application number
JP55166091A
Other languages
Japanese (ja)
Other versions
JPS5792475A (en
Inventor
Masahiro Yamamoto
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 JP55166091A priority Critical patent/JPS5792475A/en
Publication of JPS5792475A publication Critical patent/JPS5792475A/en
Publication of JPH0248935B2 publication Critical patent/JPH0248935B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)

Description

【発明の詳細な説明】 本発明はデータ処理装置に関し、特に著名商用
計算機である米国バロース社のB6500で代表され
るスタツクマシンアーキテクチヤを高性能に実現
するためのスタツク装置に係る。更に詳細には、
スーパーバイザーモードやユーザモードとして規
定される内部状態を複数個有するスタツクマシン
アーキテクチヤにおいて、各モードに対応するス
タツク領域を常に高速なレジスタスタツク上に存
在することを可能とするスタツク装置に係る。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a data processing device, and more particularly to a stack device for realizing a high performance stack machine architecture represented by the B6500 manufactured by Burroughs Corporation in the United States, which is a famous commercial computer. More specifically,
Relating to a stack device that enables a stack area corresponding to each mode to always exist on a high-speed register stack in a stack machine architecture that has multiple internal states defined as supervisor mode and user mode. .

スタツクマシンアーキテクチヤは通常、主記憶
装置とそのアドレスを示す番地ポインタを用いて
その番地がポインタをラーストイン・フアースト
アウト(LIFO)形式で制御することにより実現
していた。
Stack machine architecture was typically implemented by using a main memory device and an address pointer to indicate its address, and controlling the pointer in a last-in-first-out (LIFO) manner.

しかし、このように演算処理に必要なデータを
低速の主記憶装置から取り出し処理する方式では
高性能を達成することができない。
However, high performance cannot be achieved with this method of fetching and processing data necessary for arithmetic processing from a slow main memory.

このために、このようなアーキテクチヤを高性
能に実現するために演算処理装置内にデータを蓄
積するための高速レジスタを設ける方式が行なわ
れていた。
For this reason, in order to realize such an architecture with high performance, a method has been used in which a high-speed register for storing data is provided in an arithmetic processing unit.

しかしながら、従来の計算機においては、バロ
ース社B6500で代表されるように、このような高
速レジスタは1対しか備えられていない。
However, conventional computers are equipped with only one pair of such high-speed registers, as typified by the Burroughs B6500.

一方、計算機において通常、制御プログラムの
実行、ユーザプログラムの実行等が時分割されて
遂行される。この場合においてもこれらのプログ
ラムの実行は上記1対の高速レジスタを用いてな
される。このために、それぞれのプログラムの実
行に際しては、上記高速レジスタの中味を主記憶
へ退避したり、主記憶に退避されているデータを
復元することによつて実行されていた。すなわち
プログラムの切り換えの際には、データの退避や
復元の作業が必要となり、入れ換えのための無駄
な時間が必要になる。
On the other hand, in a computer, execution of a control program, execution of a user program, etc. are usually performed in a time-divided manner. In this case as well, these programs are executed using the pair of high speed registers. For this reason, each program is executed by saving the contents of the high-speed register to the main memory or restoring the data saved in the main memory. That is, when switching programs, it is necessary to save and restore data, resulting in wasted time for switching.

本発明の目的は、従来のこのような欠点を解決
するもので、中央処理装置内に、各モードに対応
して多数語から成る複数個のレジスタスタツクを
設け、これを効率良く管理することによつて実現
される。
The object of the present invention is to solve these conventional drawbacks, and to provide a plurality of register stacks consisting of a large number of words corresponding to each mode in a central processing unit, and to efficiently manage these register stacks. This is realized by

本発明の他の目的は、複数個の内部モードを有
するスタツクマシンアーキテクチヤで要求される
スタツク機構を効率良く実現するスタツク装置を
提供するものである。
Another object of the present invention is to provide a stack device that efficiently implements a stack mechanism required in a stack machine architecture having a plurality of internal modes.

特に、複数個の内部モードを有するスタツクマ
シンアーキテクチヤにおいて多数語を同時に処理
する命令を実行する場合に、必要なデータが全て
蓄積されているレジスタスタツクをモードごとに
備えているスタツク装置を提供するものである。
In particular, when executing instructions that process multiple words simultaneously in a stack machine architecture that has multiple internal modes, a stack device that is equipped with a register stack storing all necessary data for each mode is required. This is what we provide.

本発明の更に他の目的は、PASCALやALGOL
などの構造化プログラミング言語を専用に処理す
る高級言語計算機の基本スタツク構造を提供する
ものである。
Still another object of the present invention is to use PASCAL and ALGOL.
It provides the basic stack structure of a high-level language computer that specifically processes structured programming languages such as .

本発明によれば、複数個の内部状態を規定する
内部モード指定手段と、複数個のブロツクで且つ
各ブロツクが複数語で構成され、フアーストイ
ン・フアーストアウト形式で制御され、内部状態
に対応する複数個のレジスタスタツクと、複数個
の該レジスタスタツクの各ブロツクの有効状態を
示す複数個の状態表示手段と、該ブロツク内の語
アドレスを示す複数個のアドレス指定ポインタ、
複数個の該レジスタスタツクから追い出されたデ
ータをラーストイン・フアーストアウト形式で蓄
積する主記憶装置と、該主記憶装置の最新の有効
データ領域を示す内部状態に対応した複数個の主
記憶アドレスポインタと、ブツシユ動作の結果、
該レジスタスタツクの空でないブロツクがなくな
つた時には該レジスタスタツク内の一杯のブロツ
クの中の最古のものを該主記憶装置における内部
状態に対応する主記憶アドレスポインタの示す位
置へ追い出し、ポツプ動作の結果、該レジスタス
タツクに空ブロツクが生じた時には該主記憶装置
から該レジスタスタツク内の空のブロツクの中の
最古のものへ取り込む動作を内部状態に対応する
該レジスタスタツクと該主記憶装置との間で遂行
する制御を行う制御手段とを備え、全ての内部状
態に対して演算制御に必要なデータが該レジスタ
スタツクに常に在るように制御する多重スタツク
装置が得られる。
According to the present invention, there is an internal mode specifying means for specifying a plurality of internal states, a plurality of blocks, each block consisting of a plurality of words, controlled in a first-in, first-out format, and corresponding to the internal states. a plurality of register stacks, a plurality of status display means for indicating the valid state of each block of the plurality of register stacks, and a plurality of addressing pointers for indicating word addresses within the blocks;
A main memory device that stores data evicted from a plurality of register stacks in a last-in, first-out format, and a plurality of main memory addresses corresponding to an internal state indicating the latest valid data area of the main memory device. The pointer and the result of the button movement,
When there are no more non-empty blocks in the register stack, the oldest full block in the register stack is ejected to the location indicated by the main memory address pointer corresponding to the internal state in the main memory; When an empty block is generated in the register stack as a result of a pop operation, the register stack corresponding to the internal state is loaded from the main memory into the oldest empty block in the register stack. and a control means for performing control between the register stack and the main memory, and controls the register stack so that data necessary for arithmetic control of all internal states is always present in the register stack. can get.

次に、本発明を用いた一実施例について詳細に
述べる。本実施例では内部モードとして2個、又
レジスタスタツクは3ブロツクで且つ1ブロツク
が4語で構成されている場合について述べる。
Next, an embodiment using the present invention will be described in detail. In this embodiment, a case will be described in which the internal mode has two registers, the register stack has three blocks, and one block consists of four words.

図は、本実施例のブロツク図を示し、2個の内
部状態を規定する内部モード指定手段1、第1の
内部状態のための3つのブロツクで構成されるレ
ジスタスタツク21から23、該レジスタスタツ
ク21から23の有効状態を示す状態表示手段3
1から33、該レジスタスタツク21から23の
語アドレスを示すアドレス指定ポインタ20、第
2の内部状態のための3つのブロツクで構成され
るレジスタスタツク41から43、該レジスタス
タツク41から43の有効状態を示す状態表示手
段51から53、該レジスタスタツク41から4
3の語アドレスを示すアドレス指定ポインタ4
0、主記憶装置6、第1の内部状態に対応する主
記憶アドレスポインタ71、第2の内部状態に対
応する主記憶アドレスポインタ72、及び制御手
段8から成つている。
The figure shows a block diagram of this embodiment, including an internal mode specifying means 1 that defines two internal states, a register stack 21 to 23 consisting of three blocks for the first internal state, and a register stack 21 to 23 consisting of three blocks for the first internal state. Status display means 3 indicating the valid status of stacks 21 to 23
1 to 33, an addressing pointer 20 indicating the word address of the register stack 21 to 23, a register stack 41 to 43 consisting of three blocks for the second internal state, said register stack 41 to 43 status display means 51 to 53 indicating the valid status of the register stacks 41 to 4;
Addressing pointer 4 indicating the word address of 3
0, a main memory device 6, a main memory address pointer 71 corresponding to the first internal state, a main memory address pointer 72 corresponding to the second internal state, and a control means 8.

内部モード指定手段1は1ビツトのフリツプフ
ロツプで市販のD型フリツプフロツプICである
TI社製のSN7474で実現される。
Internal mode designation means 1 is a 1-bit flip-flop, which is a commercially available D-type flip-flop IC.
This is realized using TI's SN7474.

レジスタスタツク21から23と41から43
は各々4語のレジスタフアイルで構成され、市販
ICであるTI社製のSN74189を組み合せることに
より実現される。各ブロツク内の4語は2ビツト
のアドレス(00から11)で指定される。
Register stacks 21 to 23 and 41 to 43
consists of register files of 4 words each, and is commercially available.
This is achieved by combining the IC SN74189 manufactured by TI. The four words within each block are specified by two-bit addresses (00 to 11).

状態表示手段31から33及び51から53は
レジスタスタツク21から23及び41から43
に対応して有効状態を示し、各々1ビツトのフリ
ツプフロツプで実現される。
Status display means 31 to 33 and 51 to 53 are register stacks 21 to 23 and 41 to 43.
Each bit indicates a valid state corresponding to a 1-bit flip-flop.

アドレス指定ポインタ20及び40は2ビツト
のフリツプフロツプで、市販のICで実現される。
そして、1つのブロツク内にある4語のうちの1
つを選択する。
Addressing pointers 20 and 40 are 2-bit flip-flops implemented with commercially available ICs.
And one of the four words in one block
Select one.

主記憶装置6は、従来計算機の主記憶に相当し
市販のICメモリで実現される。そして、上記レ
ジスタスタツク21から23と41から43から
はみ出たデータを蓄積する。
The main memory device 6 corresponds to the main memory of a conventional computer and is realized by a commercially available IC memory. Then, data overflowing from the register stacks 21 to 23 and 41 to 43 is accumulated.

主記憶アドレスポインタ71及び72は主記憶
装置6のアドレスを示し、主記憶装置6とレジス
タスタツク21から23及びレジスタスタツク4
1から43との間で転送を行う場合に用いられ
る。そして、市販の二進カウンタICで実現され
る。
Main memory address pointers 71 and 72 indicate addresses of the main memory 6, and the main memory 6, register stacks 21 to 23, and register stack 4.
It is used when transferring between 1 and 43. It is then realized using a commercially available binary counter IC.

制御手段8は、内部モード指定手段1、レジス
タスタツク21から23及び41から43、状態
表示手段31から33及び51から53、アドレ
ス指定ポインタ20及び40、主記憶装置6及び
主記憶アドレスポインタ71と72の制御を行う
もので、市販のゲート回路やフリツプフロツプ等
のICを組み合せて実現される。
The control means 8 includes an internal mode designation means 1, register stacks 21 to 23 and 41 to 43, status display means 31 to 33 and 51 to 53, address designation pointers 20 and 40, a main memory device 6, and a main memory address pointer 71. and 72, and is realized by combining commercially available gate circuits and ICs such as flip-flops.

次に、本実施例でのスタツク機構について詳細
に述べる前に、内部モードとレジスタスタツクと
の関係について述べる。
Next, before describing the stack mechanism in this embodiment in detail, the relationship between internal modes and register stacks will be described.

内部モード指定手段1は1ビツトのフリツプフ
ロツプで、“0”と“1”の2つの状態を規定す
る。
The internal mode specifying means 1 is a 1-bit flip-flop, and defines two states, "0" and "1".

そして、内部モード指定手段1が0状態の時は
レジスタスタツク21から23、状態表示手段3
1から33、アドレス指定ポインタ20、及び主
記憶アドレスポインタ71が動作可能なように選
択される。
When the internal mode specifying means 1 is in the 0 state, the register stacks 21 to 23 and the status display means 3
1 to 33, addressing pointer 20, and main memory address pointer 71 are operatively selected.

即ち、レジスタスタツク21から23が有効に
なり演算対象として用いられる。そして、主記憶
装置6とレジスタスタツク21から23との間で
のデータ転送は主記憶アドレスポインタ71を用
いて行なわれる。
That is, register stacks 21 to 23 become valid and are used as objects of calculation. Data transfer between main memory device 6 and register stacks 21 to 23 is performed using main memory address pointer 71.

一方、内部モード指定手段1が“1”状態の時
には、レジスタスタツク41から43、状態表示
手段51から53、アドレス指定ポインタ40及
び主記憶ポインタ72が動作可能なように選択さ
れる。即ち、レジスタスタツク41から43が有
効になり、演算対称として用いられる。そして主
記憶装置6とレジスタスタツク41から43との
間のデータ転送は主記憶アドレスポインタ72を
用いて行なわれる。
On the other hand, when the internal mode designation means 1 is in the "1" state, the register stacks 41 to 43, the status display means 51 to 53, the address designation pointer 40, and the main memory pointer 72 are selected to be operable. That is, register stacks 41 to 43 become valid and are used as computation targets. Data transfer between main memory device 6 and register stacks 41 to 43 is performed using main memory address pointer 72.

次に、本実施例でのスタツク機構について、内
部モード指定手段1が“0”の場合について詳細
に述べる。
Next, regarding the stack mechanism in this embodiment, the case where the internal mode designation means 1 is "0" will be described in detail.

スタツク動作によつてデータがレジスタスタツ
ク21から23にセツトされる(プツシユされる
と呼ぶ)ときは、ブロツク21→ブロツク22→
ブロツク23→ブロツク21…の順に蓄積され、
逆にレジスタスタツク上のデータが捨てられる
(ポツプされると呼ぶ)ときは、ブロツク23→
ブロツク22→ブロツク21→ブロツク23…の
順に処理される。
When data is set (called pushed) from register stack 21 to 23 by a stack operation, block 21 → block 22 →
The blocks are accumulated in the order of block 23 → block 21...
Conversely, when data on the register stack is discarded (called popped), block 23→
Block 22→block 21→block 23, etc. are processed in this order.

先ず、レジスタスタツク21から23の全ブロ
ツクにデータが蓄積されていない(空であると呼
ぶ)状態で処理を開始したとする。この時点では
状態表示手段31から33は“0”に、アドレス
指定ポインタ20は“11”になつている。
First, it is assumed that processing is started in a state in which data is not stored in all blocks of register stacks 21 to 23 (referred to as empty). At this point, the status display means 31 to 33 are at "0" and the address designation pointer 20 is at "11".

はじめに、ブツシユ動作について説明する。 First, the push operation will be explained.

処理が始まり、図示されない演算装置からのデ
ータが信号線10を通り、内部モード指定手段1
により選択されて信号線100を介して送られる
と、レジスタスタツク21の00番地(アドレス指
定ポインタ31の現在値に“1”を加えて作られ
る番地)にプツシユされる。ひき続きプツシユ動
作が行なわれると、レジスタスタツク21の番地
01→10→11と進む。更にプツシユ動作が行なわれ
るとレジスタスタツク22の00番地へ移る。この
時点で状態表示手段31は“1”にセツトされ
る。続いてレジスタスタツク22でプツシユ動作
が行なわれると、番地01→10→11と進み、更に行
なわれるとレジスタスタツク23の00番地へ移
る。この時点で、状態表示手段32が“1”にセ
ツトされるとともに、レジスタスタツク21と2
2が共に一杯になり、状態表示手段31と32が
有効状態を示すために“1”にセツトされたの
で、レジスタスタツク21のブロツクが信号線1
11を介して、信号線200および210を通つ
て主記憶アドレスポインタ71が指る主記憶装置
6へ転送されて追い出される。この時、主記憶ア
ドレスポインタ71のアドレスは追い出された語
数だけ加算されることによつて更新される。そし
て、状態表示手段31は“0”にリセツトされ
る。更に引き続いてプツシユ動作が続き、レジス
タスタツク23が一杯になつてアドレス指定ポイ
ンタ20が“11”になつた後、更にプツシユ動作
が行なわれると、レジスタスタツク21の00番地
へ保存される。
Processing starts, data from an arithmetic unit (not shown) passes through the signal line 10, and the internal mode specifying means 1
When selected by and sent via signal line 100, it is pushed to address 00 of register stack 21 (an address created by adding "1" to the current value of address designation pointer 31). When the push operation is continued, the address of register stack 21 is
Proceed as 01 → 10 → 11. Further, when a push operation is performed, the data moves to address 00 of the register stack 22. At this point, the status display means 31 is set to "1". Subsequently, when a push operation is performed on the register stack 22, the push operation advances from address 01 to 10 to 11, and when a push operation is performed again, the push operation moves to address 00 of the register stack 23. At this point, the status display means 32 is set to "1", and the register stacks 21 and 2 are set to "1".
2 are full and the status display means 31 and 32 are set to "1" to indicate a valid state, so that the block of register stack 21 is connected to signal line 1.
11, signal lines 200 and 210 to the main memory device 6 pointed to by the main memory address pointer 71, and are evicted. At this time, the address of the main memory address pointer 71 is updated by adding the number of evicted words. The status display means 31 is then reset to "0". The push operation continues, and after the register stack 23 becomes full and the address designation pointer 20 becomes "11", when another push operation is performed, the data is stored at address 00 of the register stack 21.

そして、状態表示手段33が“1”にセツトさ
れ、レジスタスタツク22が主記憶装置6へ追い
出される。以下同様に、プツシユ動作が進められ
る。
Then, the status display means 33 is set to "1" and the register stack 22 is ejected to the main memory 6. The push operation proceeds in the same manner.

次に、ポツプ動作について説明する。 Next, the pop operation will be explained.

今、プツシユ動作が進み、レジスタスタツク2
1,22が一杯になり、レジスタスタツク23に
移つており、アドレス指定ポインタ20が“01”
を示しているとする。この時には、レジスタスタ
ツク21は主記憶装置6へ追い出され、状態表示
手段31は“0”になつている。この時点でポツ
プ動作が行なわれると、レジスタスタツク23の
番地01のデータが信号線123,100および1
0を介して演算装置へ送られる。この時、アドレ
ス指定ポインタ20は“01”から“00”に変る。
更に、ポツプ動作が起こるとレジスタスタツク2
3の番地00のデータが演算装置へ送られる。その
後、更にポツプ動作が続くと、レジスタスタツク
22へ移り、レジスタスタツク22の番地11のデ
ータが送られる。この時、状態表示手段32は
“1”から“0”へ変る。又、主記憶装置6から
主記憶アドレスポインタ71が指すブロツクを取
り込み、レジスタスタツク21へセツトし、状態
表示手段31が“0”から“1”へ変る。即ち、
ポツプ動作によつてレジスタスタツクの1つのブ
ロツクが空になると、主記憶装置6より、既に空
になつているレジスタスタツクにセツトされる。
勿論、この動作は主記憶装置6に追い出されてい
るデータが蓄積されている場合である。
Now, the push operation is progressing and the register stack 2 is
1 and 22 are full, the register is moved to the register stack 23, and the address designation pointer 20 is set to "01".
Suppose that it shows At this time, the register stack 21 has been ejected to the main memory 6, and the status display means 31 has become "0". If a pop operation is performed at this point, the data at address 01 of register stack 23 will be transferred to signal lines 123, 100 and 1.
0 to the arithmetic unit. At this time, the address designation pointer 20 changes from "01" to "00".
Furthermore, when a pop operation occurs, register stack 2
The data at address 00 of No. 3 is sent to the arithmetic unit. After that, when the pop operation continues, the process moves to the register stack 22, and the data at address 11 of the register stack 22 is sent. At this time, the status display means 32 changes from "1" to "0". Also, the block pointed to by the main memory address pointer 71 is fetched from the main memory 6 and set in the register stack 21, and the status display means 31 changes from "0" to "1". That is,
When one block of the register stack becomes empty due to a pop operation, it is set from the main memory 6 into the already empty register stack.
Of course, this operation is performed when data that has been evicted is stored in the main storage device 6.

以上、内部モード指定手段1が“0”の場合に
ついて述べたが、“1”の場合も全く同様に行な
われる。
The case where the internal mode specifying means 1 is "0" has been described above, but the process is performed in exactly the same way when the internal mode specifying means 1 is "1".

これまで述べた動作を行うための制御は制御手
段8により達成される。制御手段8の詳細な実現
手法については、上記動作を行うような順序回路
を通常のゲート回路とフリツプフロツプを用いて
容易に実現されるので詳細は省略する。
Control for performing the operations described above is achieved by control means 8. A detailed implementation method of the control means 8 will be omitted since a sequential circuit that performs the above operations can be easily implemented using ordinary gate circuits and flip-flops.

以上、本実施例について詳細に述べた。 This embodiment has been described in detail above.

本実施例では内部状態が2個の場合であるが更
に多くの場合でも適用できる。又、レジスタスタ
ツクは3個のブロツクで構成されるが、更に多く
の場合であつてもよい。更にプツシユやポツプ動
作時に、レジスタスタツクを構成するブロツクの
結合順序はリング状であるが、この方式に限ら
ず、例えばランダムな方式であつても良い。
Although this embodiment deals with a case where there are two internal states, the present invention can also be applied to many more cases. Also, although the register stack is composed of three blocks, it may be composed of more blocks. Furthermore, during a push or pop operation, the blocks constituting the register stack are connected in a ring-like order; however, this is not limited to this method, and for example, a random method may be used.

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

図は本発明の一実施例を示すブロツク図であ
る。図において、参照数字1は内部モード指定手
段、21から23及び41から43はレジスタス
タツク、31から33及び51から53は状態表
示手段、20と40はアドレス指定ポインタ、6
は主記憶装置、71と72は主記憶アドレスポイ
ンタ、8は制御手段をそれぞれ示す。
The figure is a block diagram showing one embodiment of the present invention. In the figure, reference numeral 1 is internal mode designation means, 21 to 23 and 41 to 43 are register stacks, 31 to 33 and 51 to 53 are status display means, 20 and 40 are address designation pointers, and 6
71 and 72 are main memory address pointers, and 8 is a control means, respectively.

Claims (1)

【特許請求の範囲】[Claims] 1 複数個の内部状態を規定する内部モード指定
手段と、複数個のブロツクで且つ各ブロツクが複
数語で構成され、フアーストイン・フアーストア
ウト形式で制御され、内部状態に対応する複数個
のレジスタスタツクと、複数個の該レジスタスタ
ツクの各ブロツクの有効状態を示す複数個の状態
表示手段と、該ブロツク内の語アドレスを示す複
数個のアドレス指定ポインタ、複数個の該レジス
タスタツクから追い出されたデータをラーストイ
ン・フアーストアウト形式で蓄積する主記憶装置
と、該主記憶装置の最新の有効データ領域を示す
内部状態に対応した複数個の主記憶アドレスポイ
ンタと、プツシユ動作の結果、該レジスタスタツ
クの空でないブロツクがなくなつた時には該レジ
スタスタツク内の一杯のブロツクの中の最古のも
のを該主記憶装置における該内部状態に対応する
主記憶アドレスポインタの示す位置へ追い出し、
ポツプ動作の結果、該レジスタスタツクに空ブロ
ツクが生じた時には該主記憶装置から該主記憶に
おける最新のブロツクを該レジスタスタツク内の
空のブロツクの中の最古のものへ取り込む動作を
内部状態に対応する該レジスタスタツクと該主記
憶装置との間で逐行する制御を行う制御手段とを
備え、全ての内部状態に対して演算制御に必要な
データが該レジスタスタツクに常に在るように制
御することを特徴とする多重スタツク装置。
1. An internal mode specifying means that defines a plurality of internal states, and a plurality of blocks, each block consisting of a plurality of words, controlled in a first-in/first-out format, and a plurality of register registers corresponding to the internal states. a plurality of status display means indicating the valid state of each block of the plurality of register stacks; a plurality of addressing pointers indicating word addresses within the block; A main memory device that stores data in a last-in, first-out format; a plurality of main memory address pointers corresponding to the internal state indicating the latest valid data area of the main memory device; When there are no more non-empty blocks in the register stack, the oldest full block in the register stack is ejected to the location indicated by the main memory address pointer corresponding to the internal state in the main memory;
When an empty block occurs in the register stack as a result of a pop operation, an internal function is executed to fetch the latest block in the main memory from the main memory into the oldest empty block in the register stack. It is provided with a control means that performs sequential control between the register stack corresponding to the state and the main memory, and data necessary for arithmetic control for all internal states is always present in the register stack. A multi-stack device characterized in that it is controlled so as to
JP55166091A 1980-11-25 1980-11-25 Multiple stack device Granted JPS5792475A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP55166091A JPS5792475A (en) 1980-11-25 1980-11-25 Multiple stack device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP55166091A JPS5792475A (en) 1980-11-25 1980-11-25 Multiple stack device

Publications (2)

Publication Number Publication Date
JPS5792475A JPS5792475A (en) 1982-06-09
JPH0248935B2 true JPH0248935B2 (en) 1990-10-26

Family

ID=15824821

Family Applications (1)

Application Number Title Priority Date Filing Date
JP55166091A Granted JPS5792475A (en) 1980-11-25 1980-11-25 Multiple stack device

Country Status (1)

Country Link
JP (1) JPS5792475A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007042131A (en) * 1995-10-06 2007-02-15 Patriot Scientific Corp Reduced instruction set computer microprocessor structure

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5241132A (en) * 1975-09-29 1977-03-30 Hitachi Ltd Molten plating method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007042131A (en) * 1995-10-06 2007-02-15 Patriot Scientific Corp Reduced instruction set computer microprocessor structure

Also Published As

Publication number Publication date
JPS5792475A (en) 1982-06-09

Similar Documents

Publication Publication Date Title
EP0087978B1 (en) Information processing unit
US5107457A (en) Stack data cache having a stack management hardware with internal and external stack pointers and buffers for handling underflow and overflow stack
US5634046A (en) General purpose use of a stack pointer register
US4296470A (en) Link register storage and restore system for use in an instruction pre-fetch micro-processor interrupt system
US4562537A (en) High speed processor
EP1115060A2 (en) Device and method for performing high-speed low overhead context switch
JPH0199130A (en) Stack controller for computer
US5363506A (en) Information processor with delayed interrupt device
US4279016A (en) Instruction pre-fetch microprocessor interrupt system
US20050028159A1 (en) Memory managing system and task controller in multitask system
CA2000376C (en) Vector processor using buffer for preparing vector data
US4093983A (en) Fast and normal rate instruction fetching
US20080229075A1 (en) Microcontroller with low-cost digital signal processing extensions
EP0240108A2 (en) A data processing system
JPH0248935B2 (en)
US4816992A (en) Method of operating a data processing system in response to an interrupt
EP0319132B1 (en) Interrupt handling in a parallel data processing
JPS6236575B2 (en)
JPS62262146A (en) Processor
JP2000029690A (en) Method and device for data processing
JPH0222413B2 (en)
JPH0544049B2 (en)
JP2671160B2 (en) Exception handling method
JPH0245207B2 (en)
CN121326409A (en) Processor system and interrupt response method