JPS582949A - Program counter - Google Patents

Program counter

Info

Publication number
JPS582949A
JPS582949A JP10086781A JP10086781A JPS582949A JP S582949 A JPS582949 A JP S582949A JP 10086781 A JP10086781 A JP 10086781A JP 10086781 A JP10086781 A JP 10086781A JP S582949 A JPS582949 A JP S582949A
Authority
JP
Japan
Prior art keywords
rom
address
register
program
counter
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.)
Granted
Application number
JP10086781A
Other languages
Japanese (ja)
Other versions
JPS6136660B2 (en
Inventor
Mitsuo Shimada
島田 光夫
Toshitaka Tsuda
俊隆 津田
Yuichi Miwa
裕一 三輪
Hiroaki Imaide
広明 今出
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP10086781A priority Critical patent/JPS582949A/en
Publication of JPS582949A publication Critical patent/JPS582949A/en
Publication of JPS6136660B2 publication Critical patent/JPS6136660B2/ja
Granted 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/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/32Address formation of the next instruction, e.g. by incrementing the instruction counter
    • G06F9/321Program or instruction counter, e.g. incrementing

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Executing Machine-Instructions (AREA)

Abstract

PURPOSE:To obtain a program counter made of a high density integrated circuit, by constituting the program counter with a register and a ROM. CONSTITUTION:The program counter of a stored program control processor is constituted with a register RG and a ROM; and in case that the output of the register RG is used as an address of the ROM, the address generated including a discriminating bit which indicating whether conditions are satisfied or not is inputted to the ROM, and the output of the ROM is inputted to the register RG. An 8-bit tristate driver TDV is used when the branch destination of a program is stored in a RAM, a stack, or the like. A data bus DTB is connected. If the branch address is written in data when the address of the jump destination is read in respect to the ROM, the operation control becomes easy. Thus, the counter where multibit integration is difficult conventionally is made of integrated circuit using multiple bits.

Description

【発明の詳細な説明】 (ロ)路で構成でき,制御の簡単なプログラムカウンタ
に関する。
DETAILED DESCRIPTION OF THE INVENTION (b) The present invention relates to a program counter that can be configured in a simple manner and is easy to control.

蓄積プログラム制御型プロセッサにおいて。In a storage program controlled processor.

70グラムカウンタは第1図に示Tように通常フリップ
フロラ1を使用するパルスカウンタを使用して構成され
ている.、第1図においてカウンタONTはその計数値
に対応するプログラムを定めてプロセッサに実行させる
.そのプログラムの動作後,選択器81iiLに対し計
数値が帰還され再びカウンタONTに入力されてlずつ
順次に増加計数する.その都度フログラムが定められる
。選択器8ELについては所定の「条件」の入力によっ
て切換えられ分岐アドレスl指足写るようカウンタON
T K新たな入力を行なう。そのためカウンタONTの
値が所定値となり順次配列のプログラムではなく特殊な
順序で10グラムヲ笑行Tることかできる.このとき指
定アドレスの都合で8ビツトのカウンタCNT″Ik:
使用したいとき,現在では番ビット構成のカウンタON
? 、選択器811,の集積回路となっているため,2
個すり都合4個の集積(ロ)路を使用することが必要と
なる。そのため個別部品の集積回路で構成すると大規模
にならざるY得ない。
The 70-gram counter is generally constructed using a pulse counter using a flip-flop 1, as shown in FIG. In FIG. 1, the counter ONT determines a program corresponding to the counted value and causes the processor to execute it. After the program is operated, the count value is fed back to the selector 81iiL and inputted again to the counter ONT, where it is sequentially incremented by l. A flogram is determined each time. The selector 8EL is switched by inputting a predetermined "condition" and the counter is turned on so that the branch address L is displayed.
TK Make a new input. Therefore, the value of the counter ONT becomes a predetermined value, and it is possible to execute 10 grams in a special order rather than in a sequential program. At this time, due to the specified address, an 8-bit counter CNT''Ik:
When you want to use it, you can turn on the counter with number bit configuration.
? , selector 811, is an integrated circuit, so 2
It is necessary to use four individual accumulation paths. Therefore, if it is constructed from integrated circuits made up of individual parts, it will inevitably become large-scale.

本発明の目的は前述の欠点を改讐し,より高密度に集積
化された集積(ロ)路によって構成でき制御の簡単な、
7oグ2ムカウンタン提供することKある。
The object of the present invention is to remedy the above-mentioned drawbacks, and to provide an easy-to-control,
There are 7 things to offer.

以下図面に示す本発明の実施例について説明゛する。第
2図に示テブロック構成図においてROMは読出専用記
憶装gI(以下本明細書においてROMと略記する)で
2例えば8ビツト×512ワードの集積回路11iv示
し、RGはレジスタで8ビツトとする。TDV は8ビ
ツト番トライステートドライバでプログラムの分岐先が
RAM(ランダムアクセスメモリ)、スタックなどに入
っている場合に使用テる。DTB はデータバスを示し
ている0次表はROM内の格納内容のレジスタRGの出
力かROMのアドレスを指足し、そのアドレスを読出し
たデータがプログラムの番号と対応している0例えばレ
ジスタRGが「0」を出力して動作開始となったとき、
ROM0番地馨番地し、データ欄はrlJであるから1
番のプログラムを実行する。そのデータはレジスタRG
ン介してROMの次の読出しアドレスとなる。そこで1
番のプログラム動作終了後1番地ン読出丁とデータは1
2」であるから2番のプログラムV*行する0次K R
OM Y読出子とそのデータは「ジャンプ先」とあって
2例えば90番プログラムのように順序建てではないプ
ログラムが指足されているからそれン実行する。
Embodiments of the present invention shown in the drawings will be described below. In the block configuration diagram shown in FIG. 2, ROM is a read-only memory gI (hereinafter abbreviated as ROM in this specification) and represents an integrated circuit 11iv of, for example, 8 bits x 512 words, and RG is a register of 8 bits. . TDV is an 8-bit tri-state driver and is used when the program branch destination is in RAM (random access memory), stack, etc. DTB indicates the data bus. The 0-order table adds the output of register RG of the contents stored in ROM or the address of ROM, and the data read from that address corresponds to the program number. 0 For example, if register RG is When outputting “0” and starting operation,
The ROM address is 0 and the data field is rlJ, so it is 1.
Execute the program numbered. The data is in register RG
This becomes the next read address of the ROM via the ROM. So 1
After the program operation of number 1 is completed, the number 1 is read out and the data is 1.
2", so the 0th order K R of the 2nd program V* line
The OMY reader and its data are the ``jump destination'' and a non-sequential program, such as program number 90, has been added, so it is executed.

ROM Kついて「ジャンプ先」のアドレス′1に:!
l?むとそのデータは[X’!ZJのように他のアドレ
スが書込まれている。このように分岐アドレスを予め書
込んでお(から動作制御が極めて簡単となる。若しジャ
ンプ先アドレスが条件により異なる場合には、レジスタ
RGかROM Y読出子アドレス!指定するときの特定
ビット例えば最上位ピッ) MBBに条件付けをして、
MBBが“0”のアドレス例えば12’7番地には[x
gsJ y2M8B が“l″となって前者と対応Tる
アドレス255番地には「条件ジャンプ先」を臀込んで
おく、そのときは例えばアキュムレータの内容が“0”
のとf7k 128番地へ、アキ、ムレータの内容が“
1′″のときは条件ジャンプ先番地に進むように指足で
きる。第2内において「条件」と示T部分が前述のアド
レスについてビット制御1行なう0条件ジャンプの考え
方を適用し、レジスタRGの内容をクリアするリセット
信JijRB″Ik:与えることもできる。
ROM K and "jump destination" address '1:!
l? Then the data is [X'! Other addresses are written, such as ZJ. By writing the branch address in advance in this way, operation control becomes extremely simple.If the jump destination address differs depending on the conditions, register RG or ROM Y read address! Top level p) Conditioning MBB,
For example, address 12'7 where MBB is "0" has [x
When gsJ y2M8B becomes "l", a "conditional jump destination" is stored at address 255, which corresponds to the former. In that case, for example, the contents of the accumulator are "0".
Noto f7k To address 128, Aki, the contents of Mureta are “
1'', you can move forward to the conditional jump destination address.In the second part, the T part indicates ``condition'' and applies the idea of 0 conditional jump that performs bit control 1 on the address mentioned above, and moves the register RG. It is also possible to give a reset signal JijRB''Ik: to clear the contents.

このようにして本発明によると従来多ビットの集s画路
化が難しかったカウンタについて。
Thus, according to the present invention, it is possible to solve a counter that has conventionally been difficult to integrate into multiple bits.

ROM を使用する構成としたため多ビツト使用の集8
を白路化がなされ、蓄積プログラム制御型プロセッサを
より小型なものとすることができたから、小規模で有効
なプロセッサとなっている。或いは小型となったため従
来の容積でプロセッサをより多数内蔵させることができ
装置が高度化される。カウンタがROM構成となってい
るため9分岐アドレスを発生する制御が極めて簡単にな
る。制御線を含めハードウェアが簡易化されたことが七
〇理由である。
Collection 8 of multi-bit usage due to the configuration that uses ROM
This made it possible to make the storage program control type processor smaller, making it a small and effective processor. Alternatively, since the device has become smaller, a larger number of processors can be built in with the conventional volume, making the device more sophisticated. Since the counter has a ROM configuration, control for generating nine branch addresses is extremely simple. The 70th reason is that the hardware, including the control lines, has been simplified.

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

第1図は従来のツーログラムカウンタの構成図、第2図
は本発明の実施例の構成図である。 8IL・・・選択器    CNT・・・カウンタDテ
B・・・テータノ(ス TDV・・・トライステートドライバ RG・・・レジスタ ROM−・−読出専用記憶装肯 特許出願人 富士通株式会社 代 理 人 弁理土鈴木栄祐
FIG. 1 is a block diagram of a conventional tourogram counter, and FIG. 2 is a block diagram of an embodiment of the present invention. 8IL...Selector CNT...Counter DTEB...TATANO(STDV...Tri-state driver RG...Register ROM---Read-only memory Patent applicant Fujitsu Limited Agent) Patent attorney Eisuke Suzuki

Claims (1)

【特許請求の範囲】[Claims] 蓄積プログラム制御型プロセッサの10グラムカウンタ
において、該プログラムカウンタlレジスタと読出専用
記憶装置とで構成し、該レジスタ出力ヲ読出専用記憶装
置のアドレスとするとき2条件か満たされたかどうかの
判定ビットを含めて形成したアドレスとして読出専用記
憶装参に入力し、1つ読取専用言ヒ憶装置の出力を前記
レジスタに入力させることIF!j徴とTるプログラム
カウンタ。
In a 10-gram counter of a storage program control type processor, the program counter is composed of a register and a read-only storage device, and when the output of the register is used as the address of the read-only storage device, a determination bit is used to determine whether two conditions are satisfied. IF! is input into the read-only memory device as an address formed by including IF!, and the output of the read-only memory device is input into the register. Program counter with characteristics.
JP10086781A 1981-06-29 1981-06-29 Program counter Granted JPS582949A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10086781A JPS582949A (en) 1981-06-29 1981-06-29 Program counter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10086781A JPS582949A (en) 1981-06-29 1981-06-29 Program counter

Publications (2)

Publication Number Publication Date
JPS582949A true JPS582949A (en) 1983-01-08
JPS6136660B2 JPS6136660B2 (en) 1986-08-19

Family

ID=14285258

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10086781A Granted JPS582949A (en) 1981-06-29 1981-06-29 Program counter

Country Status (1)

Country Link
JP (1) JPS582949A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0461576U (en) * 1990-10-04 1992-05-27

Also Published As

Publication number Publication date
JPS6136660B2 (en) 1986-08-19

Similar Documents

Publication Publication Date Title
US5944813A (en) FPGA input output buffer with registered tristate enable
JPH04233825A (en) Programmable logic device, circuit block used in this device, method for determining whether input to aforesaid device is used in logic function and method for making input buffer of aforesaid device unusable
US6460131B1 (en) FPGA input output buffer with registered tristate enable
JPH01265347A (en) Address generating device
US5093805A (en) Non-binary memory array
JP3248927B2 (en) Arithmetic logic operation unit and operation function execution method
JPS582949A (en) Program counter
JPH1117524A (en) Programmable logic circuit system and re-configuration method for programmable logic circuit device
US4638454A (en) Digital data storage apparatus
KR100223626B1 (en) First-in and first-out memory circuit
JP2003007065A (en) Data storage circuit and data processor
JPS6355623A (en) Elastic memory for increasing capacity
JPS6315673B2 (en)
JPS61199293A (en) Bank switching circuit
US3482216A (en) Data obliterating circuit of data processing system
JPS647519Y2 (en)
JPH02213965A (en) Memory element and memory device
JPH01237735A (en) Trace memory
JPH02304656A (en) Data processor
JPS59114657A (en) Memory interface circuit of microcomputer
JPH01134786A (en) Random access memory
JPH07121441A (en) Data processor
JPH02206222A (en) Counter
JPS63276915A (en) Timing signal generating circuit
JPH0410144A (en) Data transfer circuit