JPH02255928A - Addressing device - Google Patents

Addressing device

Info

Publication number
JPH02255928A
JPH02255928A JP1014009A JP1400989A JPH02255928A JP H02255928 A JPH02255928 A JP H02255928A JP 1014009 A JP1014009 A JP 1014009A JP 1400989 A JP1400989 A JP 1400989A JP H02255928 A JPH02255928 A JP H02255928A
Authority
JP
Japan
Prior art keywords
address
circuit
data
signal
instruction
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
JP1014009A
Other languages
Japanese (ja)
Inventor
Takeshi Oya
大矢 剛
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.)
GE Healthcare Japan Corp
Original Assignee
Yokogawa Medical Systems 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 Yokogawa Medical Systems Ltd filed Critical Yokogawa Medical Systems Ltd
Priority to JP1014009A priority Critical patent/JPH02255928A/en
Publication of JPH02255928A publication Critical patent/JPH02255928A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System (AREA)

Abstract

PURPOSE:To improve the memory efficiency by securing a constitution where a subaddress signal generating circuit outputs a subaddress signal to designate a relative address of the area to receive an access among the prescribed areas of a memory specified by an address signal. CONSTITUTION:When the instruction decoded by an instruction decoding circuit 1 is equal to a read-back instruction of the address data, an address control circuit 2 controls an address signal generating circuit 6 and a subaddress signal generating circuit 7 and outputs the data on both circuits 6 and 7 to an internal bus 5. In addition, the circuit 2 controls an address data exchange circuit 4 and outputs the data sent to the bus 5 to an internal CPU bus 3. Then the circuit 2 completes an instruction if a conditional flag F sent from a memory shows an end state. In such a way, the output of a subaddress signal is possible in order to designate a relative address of the area to receive an access. Thus the memory can be addressed for each desired bit and the memory efficiency is improved.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は所定ビット数単位、例えば、8ビツト、16ビ
ツト、32ビツト又は64ビット単位でメモリをアドレ
ッシングできるアドレッシング装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an addressing device capable of addressing a memory in units of a predetermined number of bits, for example 8 bits, 16 bits, 32 bits or 64 bits.

[従来の技術] 第4図は32ビット単位でデータを処理するマイクロプ
ロセッサ、例えばモトローラ社製の32ビツトマイクロ
プロセツサrMc68020 (商標)」(以下、単に
マイクロプロセッサという)により制御されるメモリと
周辺装置との接続を示す図である。第4図において、1
0は32ビット単位でデータを読み書きできるメモリ、
11は32ビツトのデータバス、12はLSI等の周辺
機器である。
[Prior Art] Figure 4 shows a memory and peripherals controlled by a microprocessor that processes data in 32-bit units, such as the Motorola 32-bit Microprocessor rMc68020 (trademark) (hereinafter simply referred to as a microprocessor). FIG. 3 is a diagram showing connections with devices. In Figure 4, 1
0 is memory that can read and write data in 32-bit units.
11 is a 32-bit data bus, and 12 is a peripheral device such as an LSI.

このマイクロプロセッサ(図示せず)は32ビツトのデ
ータバス11を8ビツト毎にストローブ信号により個々
に制御できる、いわゆるダイナミックバスサイズ機能を
有している。従って、周辺機器l2のデータ処理単位に
応じて、メモリ10は8ビツト、16ビツト又は32ビ
ット単位でデータを読み書きできる。
This microprocessor (not shown) has a so-called dynamic bus size function that allows the 32-bit data bus 11 to be individually controlled by strobe signals every 8 bits. Therefore, depending on the data processing unit of the peripheral device l2, the memory 10 can read and write data in units of 8 bits, 16 bits, or 32 bits.

周辺機器12がバイト単位でデータを処理する場合、マ
イクロプロセッサは周辺機器12に対して、データバス
11の下位ビット0〜7を使用してバイト単位のデータ
転送をする。
When the peripheral device 12 processes data in bytes, the microprocessor uses the lower bits 0 to 7 of the data bus 11 to transfer data in bytes to the peripheral device 12 .

又、データバス11の上位ビット側に接続された周辺機
器と下位ビット側に接続された周辺機器とは直接データ
の授受ができないので、マイクロプロセッサを介して行
なう。
Further, since data cannot be directly exchanged between the peripheral devices connected to the upper bit side of the data bus 11 and the peripheral devices connected to the lower bit side, data is exchanged via the microprocessor.

[発明が解決しようとする課題] 上述したマイクロプロセッサは同一システム内に8ビツ
ト、16ビツト又は32ビット単位でデータ処理をする
周辺機器を配置できるので、効率の良い運用が可能であ
る。
[Problems to be Solved by the Invention] The microprocessor described above can be operated efficiently because peripheral devices that process data in units of 8 bits, 16 bits, or 32 bits can be placed in the same system.

しかし、バイト単位でデータを処理する周辺機器12を
使用するときは、メモリ10にとってはデータバス11
のうち下位8ビツトだけを使用し、他の上位24ビツト
を使用しないので、システム全体としての効率が悪いと
いう問題点があった。
However, when using a peripheral device 12 that processes data in bytes, the data bus 11
Since only the lower 8 bits are used and the other 24 upper bits are not used, there is a problem that the efficiency of the system as a whole is poor.

又、データバスの上位ビットに接続されている周辺機器
と下位ビットに接続されている周辺機器との間で直接に
データの授受ができないので、マイクロプロセッサがデ
ータの授受を仲介することになり、データの授受に時間
がかかり、速やかなデータ処理ができないという問題点
があった。
Also, since data cannot be directly exchanged between the peripheral devices connected to the upper bits of the data bus and the peripheral devices connected to the lower bits, the microprocessor must mediate the transfer of data. There was a problem in that it took time to send and receive data, and prompt data processing was not possible.

本発明は上記問題点を解決するためになされたもので、
8ビツト、16ビツト、32ビツト又は64ビツトのア
ドレッシングができるアドレッシング装置を提供するこ
とを目的とする。
The present invention has been made to solve the above problems,
The object of the present invention is to provide an addressing device capable of 8-bit, 16-bit, 32-bit or 64-bit addressing.

〔課題を解決するための手段] 本発明に係るアドレッシング装置は、アドレス制御に関
する命令をデコードし、デコード信号を出力する命令デ
コード回路と、アドレス制御に関する命令に基づいて、
ロングワード単位でアドレッシングするためのアドレス
信号を出力するアドレス信号発生回路と、アドレス制御
に関する命令に基づいて、アドレス信号によりアクセス
するビット数を指定するアドレッシング制御信号を出力
するアドレッシング制御信号発生回路と、アドレス制御
に関する命令に基づいて、アドレス信号により特定され
るメモリの所定のエリアにおける相対的なアドレスを指
定するサブアドレス信号を出力するサブアドレス信号発
生回路と、を備えている。
[Means for Solving the Problems] An addressing device according to the present invention includes an instruction decoding circuit that decodes an instruction related to address control and outputs a decoded signal, and based on the instruction related to address control,
an address signal generation circuit that outputs an address signal for addressing in longword units; an addressing control signal generation circuit that outputs an addressing control signal that specifies the number of bits to be accessed by the address signal based on an instruction regarding address control; A sub-address signal generating circuit is provided which outputs a sub-address signal specifying a relative address in a predetermined area of the memory specified by the address signal based on a command regarding address control.

[作 用] 上記構成のアドレッシング装置は、命令デコード回路が
アドレス制御に関する命令をデコードすると、アドレス
信号発生回路がロングワード単位でアドレッシングする
ためのアドレス信号を出力し、アドレッシング制御信号
発生回路がアドレッシング制御信号を出力し、サブアド
レス信号発生回路がサブアドレス信号を出力する。
[Function] In the addressing device configured as described above, when the instruction decoding circuit decodes an instruction related to address control, the address signal generation circuit outputs an address signal for addressing in longword units, and the addressing control signal generation circuit performs addressing control. A subaddress signal generation circuit outputs a subaddress signal.

このアドレス信号、アドレッシング制御信号及びサブア
ドレス信号により、メモリを所望のビット単位でアドレ
ッシングできる。
Using this address signal, addressing control signal, and subaddress signal, the memory can be addressed in desired bit units.

[実施例] 以下、本発明の一実施例を添付図面を参照して詳細に説
明する。
[Example] Hereinafter, an example of the present invention will be described in detail with reference to the accompanying drawings.

第1図は本発明の一実施例に係るアドレッシング装置の
ブロック構成図である。第1図にお゛いて、1は命令を
解読する命令デコード回路、2はアドレス制御回路、3
は内部CPUバス、4はアドレス・データ交換回路、5
は内部バス、6はアドレス信号Aを出力するアドレス信
号発生回路、7はサブアドレス信号SAを出力するサブ
アドレス信号発生回路、8はアドレッシング制御信号S
Cを出力するアドレッシング制御信号発生回路である。
FIG. 1 is a block diagram of an addressing device according to an embodiment of the present invention. In FIG. 1, 1 is an instruction decode circuit that decodes instructions, 2 is an address control circuit, and 3 is an instruction decode circuit that decodes instructions.
is the internal CPU bus, 4 is the address/data exchange circuit, and 5 is the internal CPU bus.
6 is an internal bus, 6 is an address signal generation circuit that outputs address signal A, 7 is a subaddress signal generation circuit that outputs subaddress signal SA, and 8 is addressing control signal S.
This is an addressing control signal generation circuit that outputs C.

命令デコード回路1が解読する命令には、アドレス制御
に関する命令、例えばアドレスデータのセット命令及び
アドレスデータのリードパック命令等が含まれている。
The instructions decoded by the instruction decoding circuit 1 include instructions related to address control, such as an address data set instruction and an address data read pack instruction.

また、これらの命令の他にアドレス信号発生回路6及び
サブアドレス信号発生回路7のアドレスデータをインク
リメント又はデクリメントする命令等がある。
In addition to these instructions, there are instructions for incrementing or decrementing the address data of the address signal generation circuit 6 and the subaddress signal generation circuit 7.

アドレス制御回路2はデコード信号り及びメモリ(図示
せず)からの条件フラグ信号Fに基づいて、アドレス・
データ交換回路4、アドレス信号発生回路6、サブアド
レス信号発生回路7及びアドレッシング制御信号発生回
路8を制御する。
The address control circuit 2 performs an address control circuit 2 based on a decode signal and a condition flag signal F from a memory (not shown).
The data exchange circuit 4, address signal generation circuit 6, subaddress signal generation circuit 7, and addressing control signal generation circuit 8 are controlled.

アドレス・データ交換回路4はアドレス制御回路2の制
御に従い、命令デコード回路1が命令を解読したときに
命令フィールド又は内部CP Uバス3からアドレスデ
ータを選択し、選択したデータをモディファイして、ア
ドレス信号発生回路6及びサブアドレス信号発生回路7
に出力する。
Under the control of the address control circuit 2, the address/data exchange circuit 4 selects address data from the instruction field or the internal CPU bus 3 when the instruction decode circuit 1 decodes the instruction, modifies the selected data, and converts the address Signal generation circuit 6 and subaddress signal generation circuit 7
Output to.

このモディファイはデータバス上でのデータがLSB側
から下づめであるので、データの位置をメモリ(図示せ
ず)に合わせるために行なわれる。
Since the data on the data bus is arranged from the LSB side to the bottom, this modification is performed to align the data position with the memory (not shown).

又、アドレス・データ交換回路4はアドレス信号発生回
路6及びサブアドレス信号発生回路7からのアドレスデ
ータをリードバックする機能も有している。
The address/data exchange circuit 4 also has a function of reading back address data from the address signal generation circuit 6 and the subaddress signal generation circuit 7.

アドレス信号発生回路6はアドレス制御回路2の制御に
従って動作し、アドレス・データ交換回路4から内部バ
ス5を介して入力されるデータに基づいてロングワード
単位のアドレス信号Aを発生する。
Address signal generation circuit 6 operates under the control of address control circuit 2, and generates address signal A in longword units based on data input from address/data exchange circuit 4 via internal bus 5.

又、アドレス信号発生回路6はアドレス・データ交換回
路4から内部バス5に出力されるアドレスデータをスト
アする他に、アドレス信号Aをインクリメント又はデク
リメントする機能も有している。
Further, the address signal generation circuit 6 has a function of incrementing or decrementing the address signal A in addition to storing the address data outputted from the address/data exchange circuit 4 to the internal bus 5.

アドレッシング制御信号発生回路8はアドレス制御回路
2の制御に従って、アドレス信号A1サブアドレス信号
SAを確定するタイミングを与える3ビツトのアドレッ
シング制御信号ACを出力する。
Under the control of the address control circuit 2, the addressing control signal generating circuit 8 outputs a 3-bit addressing control signal AC that provides timing for determining the address signal A1 and the sub-address signal SA.

このアドレッシング制御信号ACはアドレスストローブ
信号及びアクセスコード信号から構成されている。アド
レスストローブ信号はメモリのアクセスの許否を示す1
ビツトの信号である。又、アクセスコード信号はメモリ
に対してロングワードアクセス、ワードアクセス、ハー
フワードアクセス又はバイトアクセスのうち、いずれの
アクセスをするのかを示す2ビツトの信号である。
This addressing control signal AC is composed of an address strobe signal and an access code signal. Address strobe signal indicates permission/disapproval of memory access1
This is a bit signal. Further, the access code signal is a 2-bit signal indicating whether to access the memory among longword access, word access, halfword access, or byte access.

第1表はアドレッシング制御信号ACの意味を示す表で
ある。
Table 1 is a table showing the meaning of the addressing control signal AC.

第1表 第1表に示すように、アドレスストローブ信号はrHJ
のときは、アドレス信号A1サブアドレス信号SA及び
アクセスコードがインアクティブである。又、アドレス
ストローブ信号がrLJのときは、アクセスコード「0
0」、「01」、「10」又は「11」に対して、ロン
グワードアクセス、ワードアクセス、ハーフワードアク
セス又はバイトアクセスがそれぞれ対応する。
Table 1 As shown in Table 1, the address strobe signal is rHJ
At this time, address signal A1, subaddress signal SA, and access code are inactive. Also, when the address strobe signal is rLJ, the access code is "0".
Longword access, word access, halfword access, or byte access corresponds to "0", "01", "10", or "11", respectively.

なお、ロングワードアクセス、ワードアクセス、ハーフ
ワードアクセス及びバイトアクセスは8バイト、4バイ
ト、2バイト及び1バイトのデータアクセスである。
Note that longword access, word access, halfword access, and byte access are 8-byte, 4-byte, 2-byte, and 1-byte data accesses.

サブアドレス信号発生回路7はアドレス制御回路2の制
御に従って、3ビツトのサブアドレス信号SAを出力す
る。このサブアドレス信号SAはアドレス信号Aで特定
される10ングワード内における相対的なアドレスを示
す。
Subaddress signal generation circuit 7 outputs a 3-bit subaddress signal SA under the control of address control circuit 2. This sub-address signal SA indicates a relative address within the ten word specified by address signal A.

第2表はサブアドレス信号SAの意味を示す表である。Table 2 is a table showing the meaning of subaddress signal SA.

× × ドントケア 第2表 第2表に示すように、サブアドレス信号SA及びアドレ
ッシング制御信号ACの組合せにより、アドレス信号A
で特定されたメモリの64ビツトのエリアのうち、32
.1B又は8ビツトのエリアをアドレッシングできるこ
とになる。
× × Don't Care Table 2 As shown in Table 2, the combination of the sub address signal SA and the addressing control signal AC causes the address signal A to be
Of the 64-bit area of memory identified in
.. This means that 1B or 8-bit areas can be addressed.

第2図(a)〜(n)はアドレッシング制御信号AC及
びサブアドレス信号SAの論理条件により、アドレッシ
ングされるエリア(斜線部分)を示す図である。例えば
、アドレッシング制御信号ACがrL 10Jで、上位
2ビツトが有効であるサブアドレス信号SAがro 1
 XJのときは、第47ビツト〜第32ビツトのエリア
をアドレッシングすることになる(第2図(d)参照)
FIGS. 2(a) to 2(n) are diagrams showing areas (shaded areas) that are addressed according to the logical conditions of the addressing control signal AC and the sub-address signal SA. For example, the addressing control signal AC is rL 10J, and the subaddress signal SA whose upper 2 bits are valid is ro 1
In the case of XJ, the area from the 47th bit to the 32nd bit will be addressed (see Figure 2(d)).
.

なお、サブアドレス発生回路7はアドレス・データ交換
回路4から内部バスラに出力されるアドレスデータをス
トアする他に、サブアドレス信号SAをインクリメント
又はデクリメントする機能も有している。
The sub-address generation circuit 7 not only stores the address data output from the address/data exchange circuit 4 to the internal bussler, but also has the function of incrementing or decrementing the sub-address signal SA.

サブアドレス信号SAをインクリメントして、桁上りを
生じたときは、アドレス信号発生回路6はアドレス信号
Aをインクリメントする。これはサブアドレス信号SA
をデクリメントしたときも同様である。
When the subaddress signal SA is incremented and a carry occurs, the address signal generation circuit 6 increments the address signal A. This is the sub address signal SA
The same is true when decrementing .

次に、第1図に示したアドレッシング装置の動作につい
て、第3図のフローチャートを参照して説明する。
Next, the operation of the addressing device shown in FIG. 1 will be explained with reference to the flowchart shown in FIG.

(1)ステップSl 命令デコード回路1は命令を解読して、デコード信号り
をアドレス制御回路2に出力する。アドレス制御回路2
は命令デコード回路1が解読した命令が、アドレスデー
タのセット命令、アドレスデータのリードパック命令、
又はアドレスデータのインクリメント/デクリメント命
令のいずれであるのかを判断する(ステップ82)。命
令の種類に応じてステップ83〜S8の処理が実行され
る。
(1) Step Sl The instruction decode circuit 1 decodes the instruction and outputs a decode signal to the address control circuit 2. Address control circuit 2
The instruction decoded by the instruction decoding circuit 1 is an address data set instruction, an address data read pack instruction,
Or, it is determined whether the instruction is an address data increment/decrement instruction (step 82). Processes from steps 83 to S8 are executed depending on the type of instruction.

(2)ステップ82〜S6 解読した命令がアドレスデータのセット命令であるとき
は、アドレス制御回路2はデコード信号りに基づいて、
セットするデータが命令フィールド内にあるのか内部C
PUバス3に出力されているのかを判断して、アドレス
・データ交換回路4を制御して、データバスを決定する
(ステップ93)。
(2) Steps 82 to S6 When the decoded instruction is an address data set instruction, the address control circuit 2 performs the following steps based on the decode signal.
Whether the data to be set is in the instruction field or not
It is determined whether the data is being output to the PU bus 3, and the address/data exchange circuit 4 is controlled to determine the data bus (step 93).

この場合、アドレス制御回路2はそのデータを適切なビ
ット幅及びビット位置に合わせるデータモディファイを
行なう。
In this case, the address control circuit 2 performs data modification to adjust the data to an appropriate bit width and bit position.

アドレス・データ交換回路4はアドレス制御回路2の制
御に従って、命令フィールド内のデータ又は内部CPU
バス3に出力されているデータを、内部バス5に選択出
力する。
The address/data exchange circuit 4 uses the data in the instruction field or the internal CPU according to the control of the address control circuit 2.
The data being output to the bus 3 is selectively output to the internal bus 5.

アドレス制御回路2はアドレス信号発生回路6及びサブ
アドレス信号発生回路7を制御して、内部バス5に選択
出力されたデータをアドレス信号発生回路6及びサブア
ドレス信号発生回路7に取り込ませる(ステップ84)
The address control circuit 2 controls the address signal generation circuit 6 and the sub-address signal generation circuit 7, and causes the address signal generation circuit 6 and the sub-address signal generation circuit 7 to take in the data selectively output to the internal bus 5 (step 84).
.

アドレス信号発生回路6及びサブアドレス信号発生回路
7は取り込んだデータに基づいて、アドレス信号A及び
サブアドレス信号SAをそれぞれ出力する。
Address signal generation circuit 6 and subaddress signal generation circuit 7 output address signal A and subaddress signal SA, respectively, based on the captured data.

アドレス制御回路2はアドレッシング制御信号発生回路
8を制御して、アドレスの確定をメモリ側に知らせる(
ステップ85)。
The address control circuit 2 controls the addressing control signal generation circuit 8 and notifies the memory side of the determination of the address (
Step 85).

メモリから出力される条件フラグFが準備完了を示して
いるときは(ステップS6)、アドレッシング制御信号
ACをインアクティブにして、1つの命令を完了する。
When the condition flag F output from the memory indicates the completion of preparation (step S6), the addressing control signal AC is made inactive to complete one instruction.

解読した命令がインクリメント/デクリメント命令であ
るときは、アドレス制御回路2はアドレス・データ交換
回路4を制御せず、アドレス信号発生回路6及びサブア
ドレス信号発生回路7を制御して、データのインクリメ
ント又はデクリメントを実行させる。
When the decoded instruction is an increment/decrement instruction, the address control circuit 2 does not control the address/data exchange circuit 4, but controls the address signal generation circuit 6 and sub-address signal generation circuit 7 to increment or decrement the data. Execute.

アドレス信号発生回路6がデータのインクリメント又は
デクリメントを実行すると、A番地を示すアドレス信号
AがA+1番地又はA−1番地になる。
When the address signal generation circuit 6 increments or decrements the data, the address signal A indicating address A becomes address A+1 or address A-1.

同様に、サブアドレス信号発生回路7がデータのインク
リメント又はデクリメントを実行すると、アドレス信号
Aで示されるエリア内の相対的なサブアドレスSAがS
A+1番地又はSA−1番地になる。
Similarly, when the sub-address signal generating circuit 7 increments or decrements data, the relative sub-address SA within the area indicated by the address signal A becomes S
It becomes address A+1 or address SA-1.

なお、アドレス信号発生回路6及びサブアドレス信号発
生回路7はそれぞれアドレス信号A及びサブアドレス信
号SAをインクリメント/デクリメントせずに、所望の
値を加算/減算するようにして、メモリ・アクセスの自
由度を上げることもできる。
Note that the address signal generation circuit 6 and the sub-address signal generation circuit 7 do not increment/decrement the address signal A and the sub-address signal SA, respectively, but add/subtract desired values, thereby increasing the degree of freedom in memory access. You can also do that.

(3)ステップ87〜S8.9B 又、解読した命令がアドレスデータのリードパック命令
であるときは、アドレス制御回路2はアドレス信号発生
回路6及びサブアドレス信号発生回路7を制御して、ア
ドレス信号発生回路6及びサブアドレス信号発生回路7
のデータを内部バス5に出力させる(ステップS7)。
(3) Steps 87 to S8.9B If the decoded instruction is an address data read pack instruction, the address control circuit 2 controls the address signal generation circuit 6 and the sub-address signal generation circuit 7 to generate an address signal. Circuit 6 and subaddress signal generation circuit 7
data is output to the internal bus 5 (step S7).

さらに、アドレス制御回路2はアドレス・データ交換回
路4を制御して、内部バス5に出力されたデータを内部
CPUバス3に出力する(ステップS8)。
Further, the address control circuit 2 controls the address/data exchange circuit 4 to output the data output to the internal bus 5 to the internal CPU bus 3 (step S8).

アドレス制御回路2はメモリから出力される条件フラグ
Fが完了を示していると(ステップ9B)、1つの命令
を完了する。
The address control circuit 2 completes one instruction when the condition flag F output from the memory indicates completion (step 9B).

なお、本実施例では8ビツト、18ビツト、32ビツト
又は64ビット単位でメモリをアドレッシングできるア
ドレッシング装置について説明したが、アドレッシング
単位を変え、例えば必要に応じて1ビット単位でアドレ
スを制御してもよい。
In this embodiment, an addressing device that can address memory in 8-bit, 18-bit, 32-bit, or 64-bit units has been described, but the addressing unit can be changed, for example, if necessary, the address can be controlled in 1-bit units. good.

又、本実施例ではCPUに適用したアドレッシング装置
について説明したが、画像データを扱うCRTコントロ
ーラ等に適用してもよい。アドレッシング装置はアドレ
ス信号Aで特定される所定のエリア内において、所望の
相対的なアドレス及びビット数を指定できるので、CR
Tコントローラに適用することにより、階調を加えた画
像表示が可能になる。
Further, in this embodiment, an addressing device applied to a CPU has been described, but the present invention may also be applied to a CRT controller or the like that handles image data. Since the addressing device can specify a desired relative address and number of bits within a predetermined area specified by address signal A, CR
By applying it to the T controller, it becomes possible to display images with added gradations.

又、アドレッシング装置とメモリとの動作は条件フラグ
Fでなく、バイブライン制御により同期化してもよい。
Further, the operations of the addressing device and the memory may be synchronized by vibration line control instead of the condition flag F.

さらに又、これらを適当に組み合わせることにより、用
途に応じたアドレッシング装置が得られる。
Furthermore, by appropriately combining these, an addressing device suitable for the purpose can be obtained.

[発明の効果] 以上説明したように本発明によれば、アドレス信号発生
回路がロングワード単位でアドレッシングするためのア
ドレス信号を出力し、アドレッシング制御信号発生回路
がアドレス信号により特定されるメモリの所定のエリア
のうち、アクセスするビット数を指定するアドレッシン
グ制御信号を出力し、サブアドレス信号発生回路がアド
レス信号により特定されるメモリの所定のエリアのうち
、アクセスするエリアの相対的なアドレスを指定するサ
ブアドレス信号を出力するようにしたので、所望のビッ
ト単位でメモリをアドレッシングでき、メモリ効率を上
げることができるアドレッシング装置が得られる。
[Effects of the Invention] As described above, according to the present invention, the address signal generation circuit outputs an address signal for addressing in units of long words, and the addressing control signal generation circuit outputs a predetermined memory address signal specified by the address signal. Outputs an addressing control signal that specifies the number of bits to be accessed out of the area, and the subaddress signal generation circuit specifies the relative address of the area to be accessed out of the predetermined area of the memory specified by the address signal. Since the signal is output, an addressing device that can address the memory in desired bit units and improve memory efficiency can be obtained.

又、アドレッシングモードでデータ幅が決まるので、可
変長データのハンドリングが容易になる。
Furthermore, since the data width is determined by the addressing mode, handling of variable length data becomes easier.

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

第1図は本発明の一実施例に係るアドレッシング装置の
ブロック構成図、第2図は第1図に示したサブアドレス
信号の意味を示す図、第3図は第1図に示したアドレッ
シング装置の動作を示すフローチャート、第4図は32
ビツトのマイクロプロセッサにより制御されるメモリと
周辺装置との接続図である。 1・・・命令デコード回路、2・・・アドレス制御回路
、3・・・内部CPUバス、4・・・アドレスデータ変
換回路、5・・・内部バス、6・・・アドレス発生回路
、7・・・サブアドレス発生回路、8・・・アドレッシ
ング制御信号発生回路。
FIG. 1 is a block diagram of an addressing device according to an embodiment of the present invention, FIG. 2 is a diagram showing the meaning of the sub-address signals shown in FIG. 1, and FIG. 3 is a block diagram of the addressing device shown in FIG. 1. Flowchart showing the operation, Figure 4 is 32
FIG. 2 is a connection diagram between memory and peripheral devices controlled by a BIT microprocessor. DESCRIPTION OF SYMBOLS 1... Instruction decode circuit, 2... Address control circuit, 3... Internal CPU bus, 4... Address data conversion circuit, 5... Internal bus, 6... Address generation circuit, 7... ...Sub address generation circuit, 8...Addressing control signal generation circuit.

Claims (1)

【特許請求の範囲】 アドレス制御に関する命令をデコードし、デコード信号
を出力する命令デコード回路と、 アドレス制御に関する命令に基づいて、ロングワード単
位でアドレッシングするためのアドレス信号を出力する
アドレス信号発生回路と、 アドレス制御に関する命令に基づいて、アドレス信号に
より特定されるメモリの所定のエリアのうち、アクセス
するビット数を指定するアドレッシング制御信号を出力
するアドレッシング制御信号発生回路と、 アドレス制御に関する命令に基づいて、アドレス信号に
より特定されるメモリの所定のエリアにおける相対的な
アドレスを指定するサブアドレス信号を出力するサブア
ドレス信号発生回路と、を備えたことを特徴とするアド
レッシング装置。
[Claims] An instruction decoding circuit that decodes an instruction related to address control and outputs a decoded signal; and an address signal generation circuit that outputs an address signal for addressing in longword units based on an instruction related to address control. , an addressing control signal generation circuit that outputs an addressing control signal specifying the number of bits to be accessed out of a predetermined area of the memory specified by the address signal based on the instruction regarding address control; 1. An addressing device comprising: a sub-address signal generation circuit that outputs a sub-address signal specifying a relative address in a predetermined area of a memory specified by the address signal.
JP1014009A 1989-01-25 1989-01-25 Addressing device Pending JPH02255928A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1014009A JPH02255928A (en) 1989-01-25 1989-01-25 Addressing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1014009A JPH02255928A (en) 1989-01-25 1989-01-25 Addressing device

Publications (1)

Publication Number Publication Date
JPH02255928A true JPH02255928A (en) 1990-10-16

Family

ID=11849208

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1014009A Pending JPH02255928A (en) 1989-01-25 1989-01-25 Addressing device

Country Status (1)

Country Link
JP (1) JPH02255928A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS49115233U (en) * 1973-01-29 1974-10-02
JPS49116335U (en) * 1973-01-31 1974-10-04
JPS6360333A (en) * 1986-07-14 1988-03-16 コ−ラ−、カンパニ− Apparatus for controlling drain valve of bathtub

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS49115233U (en) * 1973-01-29 1974-10-02
JPS49116335U (en) * 1973-01-31 1974-10-04
JPS6360333A (en) * 1986-07-14 1988-03-16 コ−ラ−、カンパニ− Apparatus for controlling drain valve of bathtub

Similar Documents

Publication Publication Date Title
US4799199A (en) Bus master having burst transfer mode
JP2633331B2 (en) Microprocessor
JP2845433B2 (en) Integrated circuit device
JP2000235377A (en) Interface controller for frame buffer
US5077659A (en) Data processor employing the same microprograms for data having different bit lengths
US6463483B1 (en) Low latency input-output interface
JPH02255928A (en) Addressing device
JPS6111873A (en) Accessing method to 8-bit and 16-bit peripheral devices by 16-bit microprocessor
JP3768561B2 (en) Multiprocessor system
JPH11259417A (en) Bus access system and bus access controller
JPH0997211A (en) Bus controller and information processor provided with the same
JP2905989B2 (en) I / O controller
JP2522063B2 (en) Single-chip micro computer
JP3269435B2 (en) Bus interface unit
JP2821176B2 (en) Information processing device
JPH01309130A (en) Microprocessor
JPH1040165A (en) Data read method and read buffer
JPH03282859A (en) Data transfer controller
JPH04112251A (en) Microcomputer
JPH04114253A (en) Data transfer system
JPH05342090A (en) Data processor
JPS61292739A (en) Memory device
JPH02190958A (en) Bus control device
JPS59109929A (en) Input and output controller
JPH01219930A (en) Interrupt control circuit device for indirect address system