JPS58123142A - Information processor - Google Patents

Information processor

Info

Publication number
JPS58123142A
JPS58123142A JP635182A JP635182A JPS58123142A JP S58123142 A JPS58123142 A JP S58123142A JP 635182 A JP635182 A JP 635182A JP 635182 A JP635182 A JP 635182A JP S58123142 A JPS58123142 A JP S58123142A
Authority
JP
Japan
Prior art keywords
address
data
additional
instruction
register
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
JP635182A
Other languages
Japanese (ja)
Inventor
Eiji Baba
英司 馬場
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
NEC Corp
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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP635182A priority Critical patent/JPS58123142A/en
Publication of JPS58123142A publication Critical patent/JPS58123142A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To increase the degree of freedom for production of a program, by providing an address space expanding circuit which is capable freely forming a program to an additional circuit which is used to expand the address space. CONSTITUTION:The output of an internal register 24 is fed to a buffer 25 through a data latch 14, and the operation given to a data latch 14 is controlled by two D F/F15 and 16. An additional address produced at a CPU data is transferred and set to the register 24 through a data bus 21. The F/F15 and 16 work by using a writing signal supplied to the register 24 and a signal 17 showing the reading start of an instruction given from the CPU as its clear input and clock input, respectively.

Description

【発明の詳細な説明】 本発明は情報処理装置に関し、特にそのメモリアドレス
@構の改良に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an information processing device, and particularly to an improvement in its memory address @ structure.

情報処理装置の機能が拡大するにつれ、必要とするグロ
グラム量(命令ステップ数)が増え、情報処理装置のア
ドレスバス(例えはプログラムカウンタ)が本来独自に
作成可能なアドレス数では足シなくなってきた。これを
補なうために、本来のアドレスに加えて別に複数ビット
を追加することによル、1アドレス当ルの語長を長くし
てアクセス可能なアドレス空間を拡張することが試られ
ている。
As the functionality of information processing devices expands, the amount of required programs (number of instruction steps) increases, and the number of addresses that the address bus (for example, program counter) of information processing devices can originally create is no longer sufficient. . To compensate for this, attempts have been made to extend the accessible address space by increasing the word length per address by adding multiple bits in addition to the original address. .

従来のアドレス空間拡張方式は、第1図のような回路を
付加することによって行なわれていた。
The conventional address space expansion method was carried out by adding a circuit as shown in FIG.

これは追加すべきアドレスビットを付加するための回路
で、中央処理装置で追加すべきアドレスデータを作成し
、データ・バス1を通して内部レジスタ4に一旦書き込
む。書き込み制御はコントロールバス3を介して転送さ
れる書き込み制御信号によって行なわれる。内部レジス
タ4に誉き込まれたアドレスデータはバッファ5を通し
て直ちにアドレスバス2に出力され、本来のアドレス部
に追加されて記憶装置や周辺装置に対するアドレスとな
る。
This is a circuit for adding address bits to be added. The central processing unit creates address data to be added and once writes it into the internal register 4 through the data bus 1. Write control is performed by a write control signal transferred via the control bus 3. The address data loaded into the internal register 4 is immediately outputted to the address bus 2 through the buffer 5, and is added to the original address section to become an address for the storage device or peripheral device.

第2図に記憶装置や周辺装置に加えられるアドレス情報
の桝成を示すが、中央処理装置からの本来のアドレス情
報6と第1図の回路を通して追加されたアドレス情報7
とが組み合わされて、実際のアドレス情報゛・8が得ら
れる。
Figure 2 shows the structure of address information added to storage devices and peripheral devices; the original address information 6 from the central processing unit and the address information 7 added through the circuit of Figure 1.
are combined to obtain the actual address information ゛.8.

アドレス指定の動作を説明するに、まず中央処理装置か
らのアドレス6を16ビツト、第1図の回路で追加され
るアドレス情報7を4ビツトとする。今、内部レジスタ
4が0で中央処理装置からのアドレス6が1000 (
以下特に指定しない場合は16進表現とする。)番地で
あればその時のアドレスは1000番地である。この番
地に内部レジスタ4に対して追加アドレスデータDi−
蒼き込むという命令があるとする。中央処理装置は第3
図において内部レジスタがOに相当する命令の並び9を
順次実行し、その1000番地において内部レジスタ4
への書き込み命令11が実行される。この結果、直ちに
内部レジスタ4に追加データDがセットされる。しかし
、次のアドレスはこの追加されたアドレスデータDの並
び10にある1001番地を指してしまう。即ち、第3
図の命令12が次に実行すべき命令となる。
To explain the addressing operation, first assume that the address 6 from the central processing unit is 16 bits, and the address information 7 added by the circuit of FIG. 1 is 4 bits. Now, internal register 4 is 0 and address 6 from the central processing unit is 1000 (
Unless otherwise specified, the following values are expressed in hexadecimal. ) address, the address at that time is address 1000. Added address data Di- to internal register 4 at this address.
Suppose there is an order to go blue. The central processing unit is the third
In the figure, sequence 9 of instructions corresponding to internal register O is executed sequentially, and internal register 4 is executed at address 1000.
A write instruction 11 is executed. As a result, additional data D is immediately set in the internal register 4. However, the next address points to address 1001 in sequence 10 of this added address data D. That is, the third
Instruction 12 in the figure is the next instruction to be executed.

このように、追加アドレスデータを付加してアドレス空
間を拡張することができても、次に指定されるべきアド
レスは追加されたアドレスデータの並び(例えば追加さ
れたアドレスデータによって指定されるメモリチップ)
の特定の番地に固定されてしまう。これはプログラムを
作る上で大きな障害であった。例数ならば、アドレス拡
張後に実行すべき命令を常に決られた番地に設定しかお
かなければならないという制約があるからである0これ
は特に、アドレス拡張後に実行できる命令は常に1棟類
しかないということを意味する。
In this way, even if the address space can be expanded by adding additional address data, the next address to be specified will be the sequence of the added address data (for example, the memory chip specified by the added address data). )
is fixed at a specific address. This was a major obstacle in creating the program. In the case of examples, there is a constraint that the instruction to be executed after address extension must always be set at a fixed address.This is especially true because there is always only one type of instruction that can be executed after address extension. It means that.

本発明はこの欠点を改良するもので、アドレス空間を拡
張する為の付加回路がプログラムに与える制限を無くシ
、自由にプログラムが組めるようなアドレス空間拡張用
の回路をもった情報処理装置を提供する拳を目的とする
The present invention aims to improve this drawback, and provides an information processing device having an address space expansion circuit that eliminates the restrictions imposed on programs by an additional circuit for expanding the address space, and allows programs to be freely created. Aim to make a fist.

本発明の情報処理′装置はアドレス空間拡張のための追
加アドレスを作成する回路と、作成された追加アドレス
を本来のアドレスに付加する前に本来のアドレスを変更
するための回路とを含むことを特徴とする。
The information processing device of the present invention includes a circuit for creating an additional address for address space expansion, and a circuit for changing the original address before adding the created additional address to the original address. Features.

以下、図面を参照して本発明の一実施例を説明する。第
4図は本実施例における追加アドレス転送部の回路ブロ
ック図で、内部レジスタ24の出力はデータ・ラッチ1
4を通してバッファ25に入力され、データ・ラッチ1
4に対するラッチ操作は2つのD’F/I”15.16
によ多制御されるように構成されている。内部レジスタ
24にはCPU(図示せず)で作成された追加アドレス
データがデータバス21を通して転送されセットされる
Hereinafter, one embodiment of the present invention will be described with reference to the drawings. FIG. 4 is a circuit block diagram of the additional address transfer section in this embodiment, and the output of the internal register 24 is the data latch 1.
4 to buffer 25 through data latch 1
The latch operation for 4 is two D'F/I"15.16
It is configured to be controlled by many people. Additional address data created by a CPU (not shown) is transferred to and set in the internal register 24 via the data bus 21.

2つのD −B’/B’は内部レジスタ24に入力され
る誉き込み信号をそのクリア入力とし、CPUから送ら
れる命令の読み込み開始を示す信号17をクロック入力
として動作する。
The two D-B'/B' operate by using the read-in signal inputted to the internal register 24 as its clear input, and using the signal 17 sent from the CPU indicating the start of reading an instruction as its clock input.

このような構成の回路において、中央処理装置(C)’
LJ)が内部レジスタ24に対して追加アドレスデータ
の書き込みを行なうと、ひ・F/f” 15.16はリ
セットされ、データ・2ツチ14にラッチがかかシ、追
加アドレスデータはデータ・ラッチ14へは書き込まれ
ない。従って、データラッチ14は旧データを保持する
。中央処理装置がその次の命令の読み込みを行なうと、
データ・ラッチ14にラッチされているアドレスデータ
がバッファ25を通してアドレス・バス22に出力され
る。このデータは以前のデータである。この期間内では
アドレスの拡張もしくは変更は行なわれない。従って、
この期間を使って、内部レジスタ24に対する書き込み
命令に引き続いて別の命令を読み出して実行することが
できる。本実施例では内部レジスタ24に対する書き込
み命令の次の命令の読み込みKよりD−F/F15がセ
ットされ、さらにその次の命令の読み込み開始時にD−
F/F15がセットされる。この結果、データ・ラッチ
14のラッチが解除され、内部レジスタ24にセットさ
れ念追加アドレスデータがアドレスバス22に出力され
る。従って、内部レジスタ24に対する書き込み命令の
次の命令として、中央処理装置が作成する本来のアドレ
スを変更する命令を実行するととくよりて、アドレス拡
張後のとび先番地を任意に定めるととができる。
In a circuit with such a configuration, the central processing unit (C)'
When LJ) writes additional address data to the internal register 24, the F/f" 15.16 is reset, the data 2 bit 14 is latched, and the additional address data is written to the data latch. 14. Therefore, the data latch 14 retains the old data. When the central processing unit reads the next instruction,
Address data latched in data latch 14 is output to address bus 22 through buffer 25. This data is previous data. No address extensions or changes are made within this period. Therefore,
This period can be used to read and execute another instruction following the write instruction to the internal register 24. In this embodiment, D-F/F15 is set by reading K of the next instruction after the write instruction to the internal register 24, and furthermore, D-F/F15 is set at the start of reading of the next instruction.
F/F15 is set. As a result, the data latch 14 is unlatched, the internal register 24 is set, and additional address data is output to the address bus 22. Therefore, by executing an instruction to change the original address created by the central processing unit as the next instruction after the write instruction to the internal register 24, it is possible to arbitrarily determine the destination address after address expansion.

以下、第5図を参照して本実施例におけるアドレス指定
方式について詳しく説明する。16ビツトのプログラム
カウンタを有するマイクロプロセ、すを想定する。プロ
グラムカウンタによりて作成された16ビツトのアドレ
スを下位アドレスとし、CPUが追加アドレスデータと
し、て作成する4ビツトデータを上位アドレスとする計
20ビットのアドレスによるメモリアクセスが可能であ
る。
The addressing system in this embodiment will be described in detail below with reference to FIG. Assume a microprocessor with a 16-bit program counter. Memory access is possible using a total of 20 bits of address, with a 16-bit address created by the program counter as a lower address, 4-bit data created by the CPU as additional address data, and an upper address.

今、下位アドレスを1000.上位アドレスを0とする
と、メモリ空間(A)の1000番地が指定される。こ
の番地に上位アドレスを3にする命令をセ、トシておく
ことKよって、第4図のレジスタ24にデータ3がセッ
トされる。しかし、このデータ3は直ちに下位アドレス
(この時は1001)と組み合わされるものではなく、
プロセッサが次の命令を実行するまで、下位アドレスに
は付加されない。この制御は第4図のデータラッチ14
およびD−F/F15,16  によって行なわれる。
Now, change the lower address to 1000. If the upper address is 0, address 1000 of memory space (A) is specified. By setting an instruction to set the upper address to 3 at this address, data 3 is set in the register 24 of FIG. However, this data 3 is not immediately combined with the lower address (1001 in this case),
It is not appended to the lower address until the processor executes the next instruction. This control is performed by the data latch 14 in FIG.
and DF/F15,16.

従って、プロセ、すが実行する前記次の命令として下位
アドレス(1001)を(1200)に変更する命令メ
モリ空間(A)の下位アドレス(1001)にセットし
ておく。との結果、下位アドレスは1200に補正され
、その後上位アドレス3によって指定されるアドレス空
間Bの1200番地がアドレス指定されることになる。
Therefore, the instruction to change the lower address (1001) to (1200) is set to the lower address (1001) of the memory space (A) as the next instruction to be executed by the process. As a result, the lower address is corrected to 1200, and then address 1200 of address space B specified by upper address 3 is addressed.

このように、上位アドレスの変更後、直ちに下位アドレ
スと組み合わせるのではなく、下位アドレスを任意の値
に変更するための命令ステップを経た後、アドレスを組
み合わせることができるので、とび先の指定を任意に設
定することができ、プログラム作成の自由度が拡がる。
In this way, after changing the upper address, instead of immediately combining it with the lower address, the addresses can be combined after the instruction step to change the lower address to an arbitrary value, so the jump destination can be specified arbitrarily. can be set, increasing the degree of freedom in program creation.

淘、D−F/F′t−更に追加すれば、あるいはそのか
わりにシフトレジスタを設けて、上位アドレスと下位ア
ドレスとの組み合わせタイミングを制御するようにして
もよい。
In addition, a shift register may be provided to control the combination timing of the upper address and the lower address.

1;。1;.

4、図面の簡単な説明               
     1第1図は従来のアドレス空間拡張の為の付
加回路図、第2図はアドレスビットの構成図、第3図は
従来のアドレス指定を示すメモリ図、第4図は本発明の
一実施例によるアドレス変更回路のプロ、り図、第5図
はそのメモリ図である。
4. Brief explanation of the drawing
1. Figure 1 is a conventional additional circuit diagram for address space expansion, Figure 2 is a configuration diagram of address bits, Figure 3 is a memory diagram showing conventional addressing, and Figure 4 is an embodiment of the present invention. FIG. 5 is a memory diagram of the address change circuit according to the present invention.

1.21・・・・・・データ・バス%2,22・・・・
・・アドレス・バス、3.23・・・・・・コントロー
ル・バス、4.24・・・・アドレス拡張の為の内部レ
ジスタ%5,25・・・・・・出力バッファ、6・・・
・・・中央処理装置からの本来のアドレス情報、7・・
・・・・付加回路からの追加アドレス情報、8・・・・
・・情報処理装置内の全アドレス情報、9・・・・・・
旧アドレス空間の命令群、10・・・・・・新アドレス
空間の命令群、11・・・・・・内部レジスタへの書き
込み命令、12・・・・・・レジスタ変更後に実行さ扛
る命令、13・・・・・・データ・うyfのコントロー
ル信号、14・・・・・・データ・う、チ、15.16
・・・・・Dタイプフリ、プ・フロ、プ、17・・・・
・・中央処理装置の命令読み込み開始を示す信号。
1.21...Data bus%2,22...
... Address bus, 3.23 ... Control bus, 4.24 ... Internal register for address extension %5, 25 ... Output buffer, 6 ...
...Original address information from the central processing unit, 7...
...Additional address information from additional circuit, 8...
...All address information in the information processing device, 9...
Old address space instructions, 10... New address space instructions, 11... Write instructions to internal registers, 12... Commands to be executed after changing registers. , 13...Data uyf control signal, 14...Data uyf, 15.16
...D type Furi, Pu Furo, Pu, 17...
...A signal indicating the start of reading instructions from the central processing unit.

第 f 閏 一ノー22 〜/z3 第4閉 (A)             CB)第 5閏Part f Leap Ichino 22 ~/z3 4th close (A) CB) 5th Leap

Claims (1)

【特許請求の範囲】[Claims] 複数ビットを単位アドレスとするアクセス信号を用いる
情報処理装置において、前記単位アドレスの上位ビット
を変更する′テ段と、変更後の所定の期間内に前記単位
アドレスの下位ビットを変更する手段と、変更された前
記上位ビットと下位ビットとを組み合わせてアドレス指
定する手段とを有することを%徴とする情報処理装置。
In an information processing device using an access signal having a plurality of bits as a unit address, a step of changing the upper bits of the unit address, and means for changing the lower bits of the unit address within a predetermined period after the change; An information processing apparatus characterized by comprising means for specifying an address by combining the changed upper bits and lower bits.
JP635182A 1982-01-19 1982-01-19 Information processor Pending JPS58123142A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP635182A JPS58123142A (en) 1982-01-19 1982-01-19 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP635182A JPS58123142A (en) 1982-01-19 1982-01-19 Information processor

Publications (1)

Publication Number Publication Date
JPS58123142A true JPS58123142A (en) 1983-07-22

Family

ID=11635941

Family Applications (1)

Application Number Title Priority Date Filing Date
JP635182A Pending JPS58123142A (en) 1982-01-19 1982-01-19 Information processor

Country Status (1)

Country Link
JP (1) JPS58123142A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51149735A (en) * 1975-06-17 1976-12-22 Fujitsu Ltd Microprocessor with program,memory and address expansion hunction
JPS5474631A (en) * 1977-11-28 1979-06-14 Hitachi Ltd Memory bank control system
JPS54156434A (en) * 1978-05-30 1979-12-10 Nippon Telegr & Teleph Corp <Ntt> Jump system between pages
JPS5537657A (en) * 1978-09-08 1980-03-15 Fujitsu Ltd Address extension system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51149735A (en) * 1975-06-17 1976-12-22 Fujitsu Ltd Microprocessor with program,memory and address expansion hunction
JPS5474631A (en) * 1977-11-28 1979-06-14 Hitachi Ltd Memory bank control system
JPS54156434A (en) * 1978-05-30 1979-12-10 Nippon Telegr & Teleph Corp <Ntt> Jump system between pages
JPS5537657A (en) * 1978-09-08 1980-03-15 Fujitsu Ltd Address extension system

Similar Documents

Publication Publication Date Title
US4870562A (en) Microcomputer capable of accessing internal memory at a desired variable access time
JPH0612863A (en) Dual port dram
JPH0346850B2 (en)
US5163135A (en) Computer system and method for setting recovery time upon execution of an I/O command
JPS58123142A (en) Information processor
JPH03668B2 (en)
JPH01261758A (en) Computer system
JPS642177Y2 (en)
JP2000029508A (en) Programmable controller
JP2854301B2 (en) Memory access circuit
JPH02136921A (en) Register access system
JP2625573B2 (en) Direct memory access controller
JP2003177957A (en) Memory control circuit
JPS5847729B2 (en) Data transfer method
JPH04270430A (en) Address extending system
JPH1139149A (en) Information processor and rewrite method for rewritable nonvolatile memory
JPH04262449A (en) Data transfer system
JPH02226424A (en) Register designation system
JPS62298836A (en) Ram for program storage
JPS5924494A (en) Data processing device
JPS60230261A (en) Initializing control system in multi-processor system
JP2004118595A (en) Access control device and access control method
JPS61115145A (en) Information write system of logical device
JPS6180428A (en) Data processor
JPS6346858B2 (en)