JPS5819968A - Address designating system - Google Patents

Address designating system

Info

Publication number
JPS5819968A
JPS5819968A JP56119565A JP11956581A JPS5819968A JP S5819968 A JPS5819968 A JP S5819968A JP 56119565 A JP56119565 A JP 56119565A JP 11956581 A JP11956581 A JP 11956581A JP S5819968 A JPS5819968 A JP S5819968A
Authority
JP
Japan
Prior art keywords
terminal
address
addresses
storage area
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
JP56119565A
Other languages
Japanese (ja)
Inventor
Mitsuyo Kitagawa
北川 満世
Satoru Saito
悟 斉藤
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.)
Omron Corp
Original Assignee
Tateisi Electronics Co
Omron Tateisi Electronics Co
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 Tateisi Electronics Co, Omron Tateisi Electronics Co filed Critical Tateisi Electronics Co
Priority to JP56119565A priority Critical patent/JPS5819968A/en
Publication of JPS5819968A publication Critical patent/JPS5819968A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4812Task transfer initiation or dispatching by interrupt, e.g. masked

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multi Processors (AREA)

Abstract

PURPOSE:To shorten the processing time, by giving the same absolute addresses as respective terminal registers to shared registers and giving the same relative addresses to lower areas of respective terminals and giving these addresses to areas to which shared registers do not correspond. CONSTITUTION:When a control interrupt is given to a CPU1, the CPU1 analyzes terminal machine numbers 40-4F to obtain an absolute address and stores it in an RAM2. The absolute address designates a terminal register and designates the storage area of a corresponding working register 4 with upper 2 digits, for example, 40-4F. The CPU1 calculates addresses of terminal registeres 40-4F or the address of the working register 4 to be accesses and gives relative addresses 00-FF to the working register 4 and gives relative addresses F8-FF to respective terminal registers 40-4F. The working register has address 4000- 4FFF, and terminal registers have addresses 40F8-4FFF. Thus, the time for address allocation is shortened.

Description

【発明の詳細な説明】 この発明は、アドレス指定方式に関し、特にたとえばメ
モリを含む複数の端末機が接続されかつ各端末機に共通
的に利用される共用メモリを含む中央処理装置における
アドレス指定方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an addressing system, and more particularly, to an addressing system in a central processing unit that includes a shared memory that is connected to a plurality of terminals and that is commonly used by each terminal. Regarding.

第1図はこの発明の背景となる従来のコンピュータ制御
システムを示す概略ブロック図である。
FIG. 1 is a schematic block diagram showing a conventional computer control system that is the background of this invention.

構成において、CPU1にはILAM2および110M
3が接続される。仁のRAM2は第2図に示すような記
憶領域を含む。また、ROM3には第3図に示すような
動作プログラムが格納される。さらに、CI’Ulには
り一キングレジスタ4および端末レジスタ5G、51.
−5Fが接続される。端末レジスタ50ないし5FはC
I’Ul[その動作が制御される端末機に設けられたメ
モリであり、複数のレジスタを含むが、便宜上端末レジ
スタと称す、また、ワーキングレジスタ4は各端末機か
らのデータを記憶したり、各端末機に関連のデータファ
イルを記憶し、複数の端末機に共通的に利用される共用
メモリとして用いられる。そして、乙のり一キングレジ
スタ4は端末識別に記憶領域が分けられて利用される。
In the configuration, CPU1 has ILAM2 and 110M
3 is connected. The RAM 2 includes a storage area as shown in FIG. Further, the ROM 3 stores an operating program as shown in FIG. Furthermore, CI'Ul includes a single king register 4 and terminal registers 5G, 51 .
-5F is connected. Terminal registers 50 to 5F are C
I'Ul [A memory provided in a terminal whose operation is controlled, and includes a plurality of registers, but for convenience it is called a terminal register. Also, the working register 4 stores data from each terminal, It stores data files related to each terminal and is used as a shared memory commonly used by multiple terminals. The storage area of the Noriichi King Register 4 is divided and used for terminal identification.

すなわち、CPU1゜RAM2 、ROM3およびワー
キングレジスタ4で≠−す+4≠−1=4−でデータ処
理のための中央処理装置を構成している。
That is, the CPU 1, the RAM 2, the ROM 3, and the working register 4 constitute a central processing unit for data processing, where ≠−S+4≠−1=4−.

ここで、ワーキングレジスタ4および端末レジスタ50
ないし5Fのアドレス指定について説明する。ワーキン
グレジスタ4および端末レジスタ50ないし5Fはたと
えば16進表示の4桁のアドレスが割当てられる。たと
えばワーキングレジスタ4にはアドレス400Gないし
4FFFが割当てられる。また、端末レジスタ50には
アドレス5oooないし59FFが割当てられ、端末レ
ジスタ51にはアドレス5100ないし51FFが割当
てられ、以下同様にして端末レジスタ5Fにはアドレス
5F00ないし5FFFが割当てられる。
Here, the working register 4 and the terminal register 50
Address designation of 5th to 5th floors will be explained. Working register 4 and terminal registers 50 to 5F are assigned, for example, four-digit hexadecimal addresses. For example, working register 4 is assigned addresses 400G to 4FFF. Further, addresses 5ooo to 59FF are assigned to the terminal register 50, addresses 5100 to 51FF are assigned to the terminal register 51, and addresses 5F00 to 5FFF are assigned to the terminal register 5F in the same manner.

なお、上述のような端末レジスタ5oないし5Fはたと
えば端末機に発生したデータを一時記憶してCPUIに
伝送するためのバッファレジスタなどに用いられ、その
記憶容量は相対的に小さい。
Note that the terminal registers 5o to 5F as described above are used, for example, as buffer registers for temporarily storing data generated in the terminal and transmitting it to the CPUI, and their storage capacity is relatively small.

これに対し、ワーキングレジスタ4は端末レジスタ50
ないし5F′から伝送されてきたデータを累積的に記憶
したり、各端末機に使用されるデータファイルを記憶し
たりするため、その記憶容量は相対的に大きい。たとえ
ば、電子式キャッシュレジスタ(以−FICCIと称す
)を例に説明すると、端末機としてのKCIに含まれる
端末レジスタはたとえばW、CRのキー人力などを一時
的に記憶する。これに対し、ワーキングレジスタは各E
CIの登録データを累、積的に記憶したり、商品コード
別に各商品の単価などが設定されたテーブルなどを記憶
する。ところで、第1図のシステムでは、各端末レジス
タに割当てられるアドレス数と、ワーキングレジスタの
対応の記憶領域に割当てられるアドレス数とが等しくな
っている。しかし、各端末レジスタの記憶容量は上述の
ように小さいため、割当てられたアドレスすべてに対し
て記憶領域が存在するのではない。すなわち、各端末レ
ジスタに割当てられたアドレスのうち大部分は空アドレ
スとなっている。
On the other hand, the working register 4 is the terminal register 50.
The storage capacity is relatively large because it cumulatively stores data transmitted from 5F' to 5F' and stores data files used in each terminal. For example, taking an electronic cash register (hereinafter referred to as FICCI) as an example, the terminal register included in the KCI as a terminal temporarily stores, for example, W, CR key inputs, etc. In contrast, the working register is
It stores CI registration data cumulatively and cumulatively, and stores tables in which the unit price of each product is set for each product code. By the way, in the system shown in FIG. 1, the number of addresses assigned to each terminal register is equal to the number of addresses assigned to the corresponding storage area of the working register. However, since the storage capacity of each terminal register is small as described above, storage areas do not exist for all assigned addresses. That is, most of the addresses assigned to each terminal register are empty addresses.

さて、上述の16進表示の4桁のアドレスは最上位桁で
ワーキングレジスタ側か端末レジスタ側かを指定する。
Now, in the four-digit hexadecimal address described above, the most significant digit specifies whether it is on the working register side or the terminal register side.

また、最上位から2つ目の桁で、いず午の端末機に対応
するかを指定する。また、下位2桁でワーキングレジス
タ4の各記憶領域内および各端末レジスタ内のアドレス
を指定する。
In addition, the second digit from the top specifies whether it is compatible with Izugo's terminal. Further, the lower two digits specify addresses within each storage area of the working register 4 and within each terminal register.

上述のような4桁のアドレスは、各端末機の指定を基準
として見た場合、上位2桁のアドレスを絶指定方式では
、その絶対アドレスをワーキングレジスタ側と端末レジ
スタ側で異ならせ、これとは逆番こ相対レジスタをワー
キングレジスタ側と端末レジスタ鋼で対応させている。
When looking at the four-digit address mentioned above based on the specification of each terminal, in the absolute specification method, the absolute address of the upper two digits is different on the working register side and the terminal register side, and this is different. The reverse number relative register corresponds to the working register side and the terminal register steel.

゛第2図はRAM2の記憶領域の一部を示す図である。2 is a diagram showing a part of the storage area of the RAM 2.

この第2図に示すようl(RAM2は、端末機番号別に
各端末レジスタの先頭アドレスと、ワーキングレジスタ
4の対応する記憶領域の先頭アドレスとを記憶する先頭
アドレステーブルを含む。
As shown in FIG. 2, the RAM 2 includes a start address table that stores the start address of each terminal register and the start address of the corresponding storage area of the working register 4 for each terminal number.

このアドレステーブルはり一キングレジスタ4あるいは
端末レジスタ50ないし5Fのアドレスを指定する際、
絶対アドレスを求めるために用いられる。
When specifying the address of king register 4 or terminal register 50 to 5F in this address table,
Used to obtain absolute addresses.

第3図は第1図のコンピュータ制御システムにおいてア
ドレス指定に関連する動作を説明するためのフローチャ
ートである。まず、CPUIに端末機を制御すべき割込
が与えられると、CPUIはいずれの端末機を制御すべ
きか端末機番号の解析を行なう、そして、その解析した
端末機番号をRAM2に記憶させる。次に、CPUIは
RAM2に記憶された端末機番号に対応する端末レジス
タおよびワーキングレジスタ内の記憶領域の先頭アドレ
スを第2図のアドレステーブルから読出しRAM2に記
憶させる。すなわち、ここでは絶対アドレスを求めてい
る。そして、アクセスすべき端末レジスタあるいはワー
キングレジスタのアドレスを計算する。この計算はRA
M2に記憶されている端末レジスタ彰よびワーキングレ
ジスタの先頭アドレスに所定アドレスすなわち相対アド
レスを加算することによって行なわれる。
FIG. 3 is a flowchart for explaining operations related to addressing in the computer control system of FIG. 1. First, when the CPU is given an interrupt to control a terminal, the CPU analyzes the terminal number to determine which terminal should be controlled, and stores the analyzed terminal number in the RAM 2. Next, the CPU reads out the start address of the storage area in the terminal register and working register corresponding to the terminal number stored in the RAM 2 from the address table shown in FIG. 2 and stores it in the RAM 2. In other words, we are looking for an absolute address here. Then, the address of the terminal register or working register to be accessed is calculated. This calculation is RA
This is done by adding a predetermined address, that is, a relative address, to the top address of the terminal register and working register stored in M2.

上述のように、従来のアドレス指定方式では、ワーキン
グレジスタ4に割当てられる絶対アドレ゛スと、端末レ
ジスタ50ないし5Fに割当てられる絶対アドレスとが
異なっている。そのため、Cpulは端末機番号を解析
した後、ワーキングレジスタ4の絶対アドレスと端末レ
ジスタ50ないし5Fの絶対アドレスとを求めなければ
ならない。
As mentioned above, in the conventional addressing system, the absolute address assigned to the working register 4 is different from the absolute address assigned to the terminal registers 50 to 5F. Therefore, after analyzing the terminal number, Cpul must obtain the absolute address of the working register 4 and the absolute address of the terminal registers 50 to 5F.

したがって、第2図に示すような端末機番号別の先頭ア
ドレステーブルが必要となり、RAM2の記憶容量が増
えてしまうという欠点があった。また、この先頭アドレ
ステーブルから所望のアドレスを読出すためには、先頭
アドレステーブルから端末機番号を順次読出し、解析さ
れた端末機番号との比較を行ない、一致した所で対応の
先頭アドレスを読出さなければならない。そのため、動
作プログラムが複雑となり、処理時間が長くなってしま
うという欠点があった。特に、アドレス指定の多いプロ
グラムでは、その都度上述の動作を行なわなければなら
ず、処理時間が長くなる。
Therefore, a leading address table for each terminal number as shown in FIG. 2 is required, which has the drawback of increasing the storage capacity of the RAM 2. In addition, in order to read a desired address from this first address table, the terminal numbers are sequentially read from the first address table, compared with the analyzed terminal number, and when they match, the corresponding first address is read. I have to get it out. Therefore, the operation program becomes complicated and the processing time becomes long. In particular, in a program that requires many address specifications, the above-mentioned operation must be performed each time, which increases the processing time.

それゆえに、この発明の主たる目的は、上述のような欠
点を解消し、アドレス指定に関連する処理が速く行なえ
るアドレス指定方式を提供することである。
Therefore, the main object of the present invention is to provide an addressing system that eliminates the above-mentioned drawbacks and allows faster processing related to addressing.

この発明は、要約すれば、端末機に含まれる相対的(少
ないアドレス数から成る記憶領域のアドレスと中央処理
装置に含まれる相対的に多いアドレス数から成る共用メ
モリのアドレスとを指定するに際し、絶対アドレスと相
対アドレスとの組合せで指定し、さらに端末機の記憶領
域と該端末機に対応する共用メモリの記憶領域とには同
じ絶対アドレスを割当て、共用メモリの記憶領域に対し
ては各端末機に対応する同一の記憶領域内では異なる複
数の相対アドレスを割当て各記憶領域間では複数の同じ
相対アドレスを割当てるようK したものである。
In summary, the present invention provides the following advantages: when specifying an address in a storage area included in a terminal device and consisting of a relatively small number of addresses, and an address in a shared memory consisting of a relatively large number of addresses included in the central processing unit, It is specified by a combination of an absolute address and a relative address, and the same absolute address is assigned to the storage area of the terminal and the storage area of the shared memory corresponding to the terminal, and the storage area of the shared memory is assigned to each terminal. A plurality of different relative addresses are assigned within the same storage area corresponding to a machine, and a plurality of the same relative addresses are assigned between each storage area.

第4図はこの発明の一実施例を用いたコンピュータ制御
システムを示す概略ブロック図である。
FIG. 4 is a schematic block diagram showing a computer control system using an embodiment of the present invention.

構成において、$1図と同様にCPU1にはiLAM2
および鼠OM3が接続される。なお、RAM2には第2
図に示すようなアドレステーブルは記憶されていない、
また、ROM3には、たとえば第5図に示すような動作
プログラムが格納されている。さらに、cpulにはワ
ーキングレジスタ4および端末レジスタ40ないし4Y
が接続される。この端末レジスタ40ないし4Fは第1
図と同様に、CI”Ulに制御される各端末機に含まれ
るメモリである。さらに、CI’U1には禁止回路5が
接続される。この禁止回路5は、たとえばデコーダなど
を含み、CPUIが端末レジスタ40ないし4Fのアド
レス指定データを出力したとき、続出禁止信号をワーキ
ングレジスタ4に与える。
In the configuration, as in the $1 figure, CPU1 has iLAM2.
and mouse OM3 are connected. Note that RAM2 has a second
The address table shown in the figure is not stored,
Further, the ROM 3 stores an operation program as shown in FIG. 5, for example. Furthermore, cpul has working register 4 and terminal registers 40 to 4Y.
is connected. This terminal register 40 to 4F is the first
Similarly to the figure, this is a memory included in each terminal controlled by CI'U1.Furthermore, a prohibition circuit 5 is connected to CI'U1.This prohibition circuit 5 includes, for example, a decoder, etc. When outputting address designation data of terminal registers 40 to 4F, a continuous output prohibition signal is given to working register 4.

ここで、ワーキングレジスタ4および端末レジスタ40
ないし4Fのアドレス指定について・簡単に説明する。
Here, working register 4 and terminal register 40
I will briefly explain the address designation of 4F.

まず、ワーキングレジスタ4には第1図と同様に16進
表示の4桁のアドレス4000ないし4FFFが割当て
られる。また、端末レジXタ401116m表示の4桁
のアドレス40FBないし49FFが割当てられ、端末
レジスタ41にはアドレス41FBないし41FFが割
当てられ、以下同様にして端末レジスタ4Fにはアドレ
ス4vvBないし4FFFが割当てられる。
First, the working register 4 is assigned four-digit addresses 4000 to 4FFF in hexadecimal notation as in FIG. Further, four-digit addresses 40FB to 49FF displayed in the terminal register X 401116m are assigned, addresses 41FB to 41FF are assigned to the terminal register 41, and addresses 4vvB to 4FFF are assigned to the terminal register 4F in the same manner.

このように、この実施例によるアドレス指定方式では、
16進表示の4桁のアドレスの最上位桁はすべて同じで
あり、最上位から2桁目でいずれの端末機に対応するか
を指定する。すなわち、ワーキングレジスタ4の各端末
機に対応する記憶領域と端末レジスタ40ないし4Fと
は、絶対アドレスが共通的に決められる。また、16進
表示の4桁のアドレスの下位2桁、すなわち相対アドレ
スは、ワーキングレジスタ4の各端末機に対応する各記
憶領域に対して複数の興なるアドレス「00」ないしj
FFJが割当てられる。そして、各端末レジスタには複
数の異なる相対アドレス「F8」ないしjFFJが割当
てられる。したがって、相対アドレスは端末レジスタ側
の分だけり−キングレジスタ側て重複する。すなわち、
この重複部分(第4図の斜線部分)でワーキングレジス
タ4および端末レジスタ40ないし4Fには同じアドレ
スが割当てられる。
Thus, in the addressing scheme according to this embodiment,
The most significant digits of the four-digit hexadecimal address are all the same, and the second most significant digit specifies which terminal the address corresponds to. That is, absolute addresses are commonly determined for the storage areas of the working register 4 corresponding to each terminal and the terminal registers 40 to 4F. Furthermore, the lower two digits of the four-digit hexadecimal address, that is, the relative address, is a plurality of starting addresses "00" to "j" for each storage area corresponding to each terminal in the working register 4.
FFJ is assigned. A plurality of different relative addresses "F8" to jFFJ are assigned to each terminal register. Therefore, the relative addresses overlap only on the terminal register side and on the king register side. That is,
In this overlapping area (shaded area in FIG. 4), the same address is assigned to the working register 4 and the terminal registers 40 to 4F.

前述のように、端末レジスタ40ないし4Fは、たとえ
ば端末機とcpul間のデータ伝送のためのバッファレ
ジスタなどに用いられ、その記憶容量は比較的小さい。
As described above, the terminal registers 40 to 4F are used, for example, as buffer registers for data transmission between the terminal and the CPU, and their storage capacity is relatively small.

これに対し、ワーキングレジスタ4の記憶容量は格段に
大きい。すなわち、各端末レジスタの記憶容量に比ベリ
ーキングレジスタ4内での対応の記憶領域の記憶容量は
非常に大きい。そのため、端末レジスタに割当てられる
アドレス数はり−キングレジスタ4内の対応の記憶領域
に割当てられるアドレス数よりも少なくてよい。すなわ
ち、第4図に示す端末レジスタ40ないし4Fは第1図
に示す端末レジスタ50ないし5Fに比べて割当てられ
るアドレス数が少なくなっているが、これは記憶容量が
少なくなったことを意味するのではない、また、ワーキ
ングレジスタ4においては、各端末レジスタのアドレス
と重複する部分(斜線部分)はデータ処理のために用い
られない空エリアとなるが、この空エリアはり−キング
レジスタ4全体の記憶容量に比べ、非常に少ないもので
ある。通常、ワーキングレジスタはオーバーフローを起
こさないように成る程度余裕を見てその記憶容量が設定
されるが、前記空エリアをその余裕部分に含めることは
可能である。
In contrast, the storage capacity of the working register 4 is much larger. That is, the storage capacity of the corresponding storage area in the belly king register 4 is extremely large compared to the storage capacity of each terminal register. Therefore, the number of addresses allocated to the terminal register may be smaller than the number of addresses allocated to the corresponding storage area in the counting register 4. That is, the number of addresses assigned to the terminal registers 40 to 4F shown in FIG. 4 is smaller than that of the terminal registers 50 to 5F shown in FIG. 1, but this does not mean that the storage capacity is smaller. In addition, in the working register 4, the part that overlaps with the address of each terminal register (the shaded part) is an empty area that is not used for data processing, but this empty area is not used for the entire storage of the king register 4. It is very small compared to its capacity. Normally, the storage capacity of the working register is set with a margin to prevent overflow, but it is possible to include the empty area in the margin.

さて、第4図の実施例ではり一キングレジスタ4および
端末レジスタ40ないし4Fのアドレス指定を上述のよ
うに行なっているため、ワーキングレジスタ4の各記憶
領域の中に対応の端末レジスタのアドレスと重なる部分
が生じてしまう、したがって、成る端末−ジスタ内のア
ドレスを指定しようとすると、ワーキングレジスタ4の
対応の記憶領域の重複するアドレスをも指定してしまう
ことになる。そのため、特にデータ続出時において成る
端末レジスタのデータを読出す場合は、その端末レジス
タのアドレスと重複するアドレスを有するワーキングレ
ジスタ4のデータ内容をも読出すことになる。そのため
、第4図では禁止回路5が設けられ、cpulからのア
ドレスデータがいずれかの端末レジスタのアドレスを指
定するものであるときは、ワーキングレジスタ4に続出
禁止信号を導出し、読出しを禁止する。これによって、
CPU1は所望の端末レジスタのみからデータを読出す
ことができる。
Now, in the embodiment shown in FIG. 4, since the addresses of the beam register 4 and the terminal registers 40 to 4F are specified as described above, each storage area of the working register 4 contains the address of the corresponding terminal register. An overlapping portion occurs. Therefore, if an attempt is made to specify an address within the terminal register, an overlapping address in the corresponding storage area of the working register 4 will also be specified. Therefore, when reading data from a terminal register, especially when data continues to be output, the data contents of the working register 4 having an address that overlaps with the address of the terminal register will also be read. Therefore, in FIG. 4, a prohibition circuit 5 is provided, and when the address data from the cpul specifies the address of one of the terminal registers, a successive prohibition signal is derived to the working register 4, and reading is prohibited. . by this,
CPU 1 can read data only from desired terminal registers.

第5図は第4図のコンピュータ制御システムにおけるア
ドレス指定に関連する動作を説明するためのフローチャ
ートである。以下、この第5図をを参照して第4図にお
けるアドレス指定に関連する動作について説明する。
FIG. 5 is a flowchart for explaining operations related to addressing in the computer control system of FIG. 4. The operation related to address designation in FIG. 4 will be described below with reference to FIG. 5.

まず、CPUIに端末機の制御割込みが与えられると、
CPUIはいずれの端末機を制御すべ合か端末機番号の
解析を行なう。そして、その解析した端末機番号に基づ
いて対応する絶対アドレスを求め、RAM2に記憶させ
る。前述のように、絶対アドレスはいずれの端末レジス
タであるかを指定するとともに、その端末レジスタに対
応するワーキングレジスタ4の記憶銭域を指定する。そ
のため、第1図のシステムのようにiLAM2にアドレ
ステーブルを設け、そのアドレステーブルに基づいて前
記解析した端末機番号に対応する端末レジスタおよqワ
ーキングレジスタの先頭アドレスを求める必要がなくな
る。したがって、第1図のシステムに比べ、アドレス指
定のための処理時間を短縮することができる。また、R
AM2の記憶容量を少なくすることができる。再びjI
5fl!Jを参照してcpulはアクセスすべき端末レ
ジスタあるいはり一キングレジスタのアドレスを計算す
る。すなわち、この計算によって相対アドレスが求めら
れる。
First, when a terminal control interrupt is given to the CPUI,
The CPUI analyzes the terminal number to determine which terminal should be controlled. Then, based on the analyzed terminal number, the corresponding absolute address is determined and stored in the RAM 2. As described above, the absolute address specifies which terminal register it is and also specifies the storage area of the working register 4 corresponding to that terminal register. Therefore, it is no longer necessary to provide an address table in the iLAM 2 as in the system shown in FIG. 1 and to obtain the start address of the terminal register and q working register corresponding to the analyzed terminal number based on the address table. Therefore, compared to the system shown in FIG. 1, the processing time for address specification can be reduced. Also, R
The storage capacity of AM2 can be reduced. jI again
5fl! Referring to J, cpul calculates the address of the terminal register or algorithm register to be accessed. That is, the relative address is determined by this calculation.

なお、端末機の制御割込時にCI’Ulに与えられる端
末機番号を示すデータを初めから絶対アドレスの形で与
えるようにすれば、端末機番号の解析の必要がなくなり
、さらに処理速度を向上する乙とがてきる。
Furthermore, if the data indicating the terminal number given to CI'Ul at the time of a terminal control interrupt is given in the form of an absolute address from the beginning, there will be no need to analyze the terminal number, further improving processing speed. The person who will do it will come.

なお、上述の実施例ではり一キングレジスタ4とRAM
2とを別々に設けるようにしたが、RAM2の中にワー
キングレジスタ4を含めるようにしてもよい。
In addition, in the above-mentioned embodiment, the beam register 4 and the RAM
Although the working register 4 is provided separately from the RAM 2, the working register 4 may be included in the RAM 2.

また、上述の実施例では1G進表示の4桁の数字でアド
レス指定を行ない、上位2桁を絶対アドレスとして用い
下位2桁を相対アドレスとして用いるようにしたが、こ
の発明はこれに限定されるものてはない。たとえば、1
0進表示の数字でアドレスを指定してもよ(、また端末
レジスタの容量およびアドレスの桁数などに応じて絶対
アドレスと相対アドレスの桁数を変えるようにしてもよ
いO 以上のように、この発明によれば、端末機側の記憶領域
と共用メモリとに対応する端末識別に同じ絶対アドレス
を割当て、共用メモリの記憶領域には各端末機に対応す
る同一の記憶領域内では異なる複数の相対アドレスを割
当て各記憶領域間では複数の同じ相対アドレスを割当て
るようにしたので、従来のアドレス指定方式に比べ、ア
ドレス指定のための処理時間を短縮することがで舎る。
Furthermore, in the above-described embodiment, the address is specified using a four-digit number expressed in 1G decimal, and the upper two digits are used as an absolute address and the lower two digits are used as a relative address, but the present invention is not limited to this. Not sure. For example, 1
You can specify the address using numbers in decimal notation (or you can change the number of digits for the absolute address and relative address depending on the capacity of the terminal register and the number of digits in the address). According to this invention, the same absolute address is assigned to the terminal identification corresponding to the storage area on the terminal side and the shared memory, and the storage area of the shared memory has a plurality of different addresses within the same storage area corresponding to each terminal. Since relative addresses are allocated and a plurality of the same relative addresses are allocated between each storage area, the processing time for address specification can be reduced compared to the conventional addressing method.

また、従来のように先頭アドレステーブルを設ける必要
がない。
Further, there is no need to provide a head address table unlike the conventional method.

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

第1図はこの発明の背景となる従来のコンピュータ制御
システムを示す概略ブロック図である。 第2図はRAM2の記憶領域を示す図である。第3図は
第1図のシステムに自けるアドレス指定に関連する動作
を説明するためのフローチャートである。第4図はこの
発明によるアドレス指定方式が用いられたコンピュータ
制御システムを示す概略フロック図である。第5図は第
4図のシステムにおいてアドレス指定に関連する動作を
説明するためのフローチャートである。 図において、1はCPU、4はワーキングレジスタ、5
は禁止回路、4Gないし4Fは端末レジスタを示す。 算2図
FIG. 1 is a schematic block diagram showing a conventional computer control system that is the background of this invention. FIG. 2 is a diagram showing the storage area of RAM2. FIG. 3 is a flowchart for explaining operations related to addressing in the system of FIG. 1. FIG. 4 is a schematic block diagram showing a computer control system in which the addressing scheme according to the present invention is used. FIG. 5 is a flowchart for explaining operations related to addressing in the system of FIG. 4. In the figure, 1 is the CPU, 4 is the working register, and 5 is the CPU.
indicates a prohibition circuit, and 4G or 4F indicates a terminal register. Math 2 diagram

Claims (1)

【特許請求の範囲】[Claims] (1)  それぞれ相対的に少ないアドレス数から成る
記憶領域を含む複数の端末機が接続され、複数の端末機
によって共通的に利用される共用メモリを含む中央処理
装置Kidいて、各端末機の記憶領域または共用メモリ
の記憶領域のアドレスを指定する方式てあって、 前記共用メモリは、前記各端末機に対応して、相対的に
多いアドレス数から成る記憶領域を含み、前記各端末@
[含まれる記憶領域のアドレスと前記共用メモリに含ま
れる記憶領域のアドレスとは、複数桁のアドレスて指定
され、 前記複数桁のアドレスは、上位桁で絶対アドレスを指定
し、下位桁で相対アドレスを指定するように定められ、 前記共用メモリの前記各端末識別に対応する記憶領域お
よび各端末機に含まれる記憶領域は、各端末識別に興な
るように定められた絶対アドレスで指定されるように定
められ、 前記共用メモリの前記各端末識別に対応する記憶領域に
含まれる各アドレスは、1つの端末機に対応する記憶領
域に含まれる複数のアドレスがそれぞれ異なりかつ他の
端末機に対応する記憶領域に含まれる複数のアドレスの
それぞれと同じ相対アドレスて指定されるように定めら
れ、前記中央処理装置は、各端末識別に対応する絶対ア
ドレスと前記複数のアドレスのうちの所望のアドレスに
対応する相対(勺アドレスの組合せkよって前記共用メ
モリの各端末識別の記憶領域または各端末識別に含まれ
る記憶領域のアドレスを指定する、アドレス指定方式。 12)前記中央処理装置は前記各端末機の記憶領域のア
ドレスを指定することに基づいて前記共用メモリからの
読出しを禁止する手段を含む、特許請求の範囲第山頂記
載のアドレス指定方式。
(1) A plurality of terminals are connected, each containing a storage area consisting of a relatively small number of addresses, and a central processing unit (Kid) containing a shared memory commonly used by the plurality of terminals stores the memory of each terminal. The method includes specifying an address of an area or a storage area of a shared memory, wherein the shared memory includes a storage area consisting of a relatively large number of addresses corresponding to each terminal, and the shared memory includes a storage area consisting of a relatively large number of addresses,
[The address of the included storage area and the address of the storage area included in the shared memory are specified as multi-digit addresses, and in the multi-digit address, the upper digits specify an absolute address and the lower digits specify a relative address. The storage area corresponding to each terminal identification of the shared memory and the storage area included in each terminal are specified by an absolute address determined to correspond to each terminal identification. and each address included in the storage area corresponding to each terminal identification of the shared memory is different from the plurality of addresses included in the storage area corresponding to one terminal and corresponds to another terminal. The central processing unit is configured to specify a relative address that is the same as each of a plurality of addresses included in the storage area, and the central processing unit is configured to specify an absolute address corresponding to each terminal identification and a desired address among the plurality of addresses. 12) The central processing unit specifies the address of a storage area for each terminal identification or a storage area included in each terminal identification in the shared memory according to a combination of addresses. 12) The central processing unit The addressing system according to claim 1, further comprising means for inhibiting reading from said shared memory based on designating an address of a storage area.
JP56119565A 1981-07-28 1981-07-28 Address designating system Pending JPS5819968A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56119565A JPS5819968A (en) 1981-07-28 1981-07-28 Address designating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56119565A JPS5819968A (en) 1981-07-28 1981-07-28 Address designating system

Publications (1)

Publication Number Publication Date
JPS5819968A true JPS5819968A (en) 1983-02-05

Family

ID=14764475

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56119565A Pending JPS5819968A (en) 1981-07-28 1981-07-28 Address designating system

Country Status (1)

Country Link
JP (1) JPS5819968A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61249153A (en) * 1985-04-26 1986-11-06 Yokogawa Medical Syst Ltd Data processor
EP0784277A1 (en) * 1995-12-11 1997-07-16 Compaq Computer Corporation Interfacing direct memory access devices to a non-ISA bus

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55153026A (en) * 1979-05-15 1980-11-28 Fujitsu Ltd Address control system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55153026A (en) * 1979-05-15 1980-11-28 Fujitsu Ltd Address control system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61249153A (en) * 1985-04-26 1986-11-06 Yokogawa Medical Syst Ltd Data processor
EP0784277A1 (en) * 1995-12-11 1997-07-16 Compaq Computer Corporation Interfacing direct memory access devices to a non-ISA bus
US5774680A (en) * 1995-12-11 1998-06-30 Compaq Computer Corporation Interfacing direct memory access devices to a non-ISA bus
US6088517A (en) * 1995-12-11 2000-07-11 Compaq Computer Corporation Interfacing direct memory access devices to a non-ISA bus

Similar Documents

Publication Publication Date Title
GB1353925A (en) Data processing system
US4482950A (en) Single-chip microcomputer
US3906457A (en) Display system for an electronic business machine
JPS5819968A (en) Address designating system
JP2797760B2 (en) Parallel processing computer system
JPH01246664A (en) Data processor
EP0252042B1 (en) Method and apparatus for determining in a computer which of a number of programmes are allowed to utilise a rapid access memory
JPS60243752A (en) Data tracing device
JPH05334074A (en) Microprocessor
JP2743947B2 (en) Micro program control method
JPH05334233A (en) Data transferring device
JPS6263380A (en) Portable data collecting device
Howe ISOPAR, a new and improved sympolic optimizing assembly routine for the IBM 650
JPS6029134B2 (en) Storage device control method
JPS6015757A (en) Memory control circuit
JPS58115689A (en) Microcomputer system
JPH0216665A (en) Data transfer equipment
JPH061451B2 (en) Memory allocation device for memory cartridge
JPH04280325A (en) Pipeline-type processor
JPS63223934A (en) Storage device for micro-processor
JPS6290726A (en) Device firmware constituting system
JPH0827711B2 (en) Microprocessor
JPH01258022A (en) Function selecting and controlling system
JPS6337433B2 (en)
JPH0444126A (en) Argument delivering system for subroutine