JPS6027430B2 - microcomputer - Google Patents

microcomputer

Info

Publication number
JPS6027430B2
JPS6027430B2 JP54043820A JP4382079A JPS6027430B2 JP S6027430 B2 JPS6027430 B2 JP S6027430B2 JP 54043820 A JP54043820 A JP 54043820A JP 4382079 A JP4382079 A JP 4382079A JP S6027430 B2 JPS6027430 B2 JP S6027430B2
Authority
JP
Japan
Prior art keywords
register
bit
data
output
registers
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
Application number
JP54043820A
Other languages
Japanese (ja)
Other versions
JPS55135961A (en
Inventor
毅 城本
則男 竹之内
宏 森
紳一 北野
一夫 伊藤
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP54043820A priority Critical patent/JPS6027430B2/en
Publication of JPS55135961A publication Critical patent/JPS55135961A/en
Publication of JPS6027430B2 publication Critical patent/JPS6027430B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Microcomputers (AREA)

Description

【発明の詳細な説明】 本発明は1チップからなるマイクロコンピュータの改良
に関するもので、特に汎用レジスタの内容を出力する出
力信号の形成回路に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an improvement in a one-chip microcomputer, and more particularly to an output signal forming circuit that outputs the contents of a general-purpose register.

従釆マイク。コンピュータからのシリアル出力はシフト
レジスタ等のデータバッファを設け、このデータバッフ
ァにデータを一旦設定した後、1クロック毎に1ビット
ずつシフトさせて出力するか、又は汎用レジスタ等にデ
ータをセットし、このデータを並列出力端子の1ビット
を用いて出力し、再び汎用レジスタにデータをセットし
て出力させる方法が探られていた。前者の方法によれば
デ‐夕の出力は非常に効率的であるが、瓜1の内部にデ
ータバッファを常に設けねばならず、それだけLSIの
面積が大きくなる欠点があり、また後者の方法によれば
、例えば9ビットのシリアル出力を実行させるために通
常18ステップを必要とし、出力は2ステップに1ビッ
トしか出力できず速度が遅くなる欠点があった。本発明
は上記従来方法における欠点を除去して効率的にシリア
ル出力を導出させることができるマイクロコンピュータ
を提供するものである。
Subordinate microphone. For serial output from a computer, a data buffer such as a shift register is provided, and after data is set in this data buffer, the data is shifted one bit at a time for each clock and output, or the data is set in a general-purpose register, etc. A method of outputting this data using one bit of a parallel output terminal, setting the data in a general-purpose register again, and outputting the data has been explored. According to the former method, data output is very efficient, but there is a drawback that a data buffer must always be provided inside the melon 1, which increases the area of the LSI. According to this method, for example, 18 steps are normally required to perform a 9-bit serial output, and only 1 bit can be output for every 2 steps, resulting in a slow speed. The present invention provides a microcomputer that can efficiently derive serial output by eliminating the drawbacks of the conventional method described above.

図面を用いて本発明を詳細に説明する。図は本発明によ
る1チップからなる瓜1のブロック図で、データを記憶
するデータメモリ、該データメモリに記憶されているデ
ータに関する算術又は論理演算を実行する演算部、命令
を記憶する命令メモリ、該命令メモリをアドレスするプ
ログラムカウンタ、前記命令メモリから出力される命令
をデコードするデコーダ及び上記データメモリ、演算部
及びBIの入出力端子を制御する各種レジスタを含み、
発振回路から与えられるクロツク信号が必要に応じて与
えられ、導入された入力信号が適宜処理されて表示体或
いは各種機器の動作を制御するための信号が形成される
The present invention will be explained in detail using the drawings. The figure is a block diagram of a melon 1 consisting of one chip according to the present invention, which includes a data memory for storing data, an arithmetic unit for performing arithmetic or logical operations on data stored in the data memory, an instruction memory for storing instructions, A program counter that addresses the instruction memory, a decoder that decodes instructions output from the instruction memory, and various registers that control the data memory, the arithmetic unit, and input/output terminals of the BI,
A clock signal from an oscillation circuit is applied as needed, and the introduced input signals are processed as appropriate to form signals for controlling the operation of the display or various devices.

図い於てACC,及びACC2夫々独立して動作可能に
設けられた汎用の第1レジス夕及び第2レジスタで、本
実施例においては4ビットレジスタで構成され、通常の
動作状態ではアキュムレータとして機能する。
In the figure, ACC and ACC2 are general-purpose first and second registers that are provided so that they can operate independently, and in this embodiment, they are composed of 4-bit registers, and function as an accumulator in normal operating conditions. do.

ALUは算術又は論理演算を実行する演算部で、演算は
アキュムレータACC,とアキュムレータACC2、ア
キユムレータACC,又はアキュムレータACC2のい
ずれかと後述するRAM(データメモリ)、及びアキュ
ムレータACC,又はアキュムレータACC2のいずれ
かと後述するROM(命令メモリ)との間で実行するこ
とができる。アキュムレータACC,に接続されたフリ
ップフロップCは演算の結果発生したキャリを保持する
機能をもち、該1ビット成分のキャリフリップフロツフ
。Cは命令によりセット・リセットすることができる。
入力端子1〜4は上記アキュムレータACC,の第1レ
ジスタに接続されて、後述するROMから与えられる命
令によって入力端子1〜4に与えられている信号(デー
タ)を第1レジスタACC,に収納する。入・出力端子
5〜8は上記アキュムレータACC2の第2レジスタに
接続されて、命令によってデータの授受を行うことがで
きる。端子9は出力端子としてBIに設けられ、瓜1の
内部で上記第2ァキュムレータACC2を構成する4ビ
ット汎用レジスタの1ビットに接続されている。上記第
2アキュムレータACC2は第1アキュムレータACC
,及びキャリフリップフロッフ。Cの間で、後述するR
OMからの命令によって直列接続されて9ビット成分を
もつレジスタを構成する。結合された9ビットレジスタ
の内容はシフト命令で左又は右にシフト動作される。従
って上記出力端子9から導出される出力信号は、レジス
タ内の内容がシリアル出力として連続的に取り出される
と共にまた任意の1ビットをLSI出力として得ること
もできる。RAMはデータメモリで、上記アキュムレー
タACC,及びアキュムレータACC2との間でデータ
の授受を行うことができ、データメモリRAMのアドレ
ス指定は4ビットからなるレジスタ日及びレジスタLか
ら与えられる。レジスタ日は上位4ビットを、レジスタ
Lは下位4ビットを指定する。P3及びP4は本実施例
ではいずれも4ビットのレジスタで構成され、上記ァキ
ュムレータACC,及びACC2にいずれからデータを
入力することができる。出力端子10〜13及び14〜
17は各々上記しジスタP3及レジスタP4の内容を出
力する端子である。SR,及びSR2はプログラムカウ
ンタPCの内容を保持するスタツクレジスタで、プログ
ラムカウンタPCがサブルーチンのアドレスを指定して
いる期間、戻りのアドレスを記憶しておくためのレジス
タで、2段のスタツクレジスタで構成されている。端子
18はBIをGNDに接続し、端子19は電源V血に接
続する。次にROMはマイクロコンピュータの機能に応
じて各種の命令を予め記憶させた命令メモリで、特に本
発明においては上記アキュムレータACC,アキユムレ
ータACC2及びキヤIJフリツプフロツブCを結合さ
せて9ビット構成のシフトレジスタを構成する命令、及
び該9ビットシフトレジスタの内容を順次左或いは右に
シフトさせて適宜出力端子9に導出させる命令が書き込
まれてなり、これ等の命令がプログラムカウン夕PCで
アドレス指定されて読み出された状態でアキュムレータ
ACC,,ACC2及びキヤリフリップフロツプに納め
られているデータはシリアル結合されて命令によりシフ
ト動作を介して出力端子9から所望ビットがLSI出力
として取り出されらる。本実施例では結合させるレジス
タとしての2個のアキユムレータ及びキヤリフリツプフ
ロツプを選択した場合について述べたが、これはアキユ
ムレータACC,,ACC2には本来その機能特性上R
OMから多種の命令が与えられており、これ等の命令と
併せてレジスタ結合によるシリアル出力を一層有効に活
用させるものである。
The ALU is an arithmetic unit that performs arithmetic or logical operations, and the operation is performed between an accumulator ACC, an accumulator ACC2, an accumulator ACC, or an accumulator ACC2, which will be described later, and a RAM (data memory), which will be described later, and an accumulator ACC, or an accumulator ACC2, which will be described later. It can be executed with ROM (instruction memory). A flip-flop C connected to the accumulator ACC has a function of holding a carry generated as a result of an operation, and serves as a carry flip-flop for the 1-bit component. C can be set and reset by a command.
The input terminals 1 to 4 are connected to the first register of the accumulator ACC, and the signals (data) given to the input terminals 1 to 4 are stored in the first register ACC by a command given from the ROM, which will be described later. . The input/output terminals 5 to 8 are connected to the second register of the accumulator ACC2, and data can be exchanged according to a command. Terminal 9 is provided in BI as an output terminal, and is connected inside melon 1 to 1 bit of a 4-bit general-purpose register constituting the second accumulator ACC2. The second accumulator ACC2 is the first accumulator ACC.
, and carry flip-flop. Between C, R to be described later
They are connected in series according to instructions from OM to form a register with 9-bit components. The contents of the combined 9-bit registers are shifted left or right with a shift instruction. Therefore, as for the output signal derived from the output terminal 9, the contents in the register are continuously taken out as a serial output, and any one bit can also be obtained as an LSI output. The RAM is a data memory that can exchange data with the accumulator ACC and the accumulator ACC2. Addressing of the data memory RAM is given from a register date and a register L consisting of 4 bits. Register date specifies the upper 4 bits, and register L specifies the lower 4 bits. In this embodiment, both P3 and P4 are composed of 4-bit registers, and data can be input to the accumulators ACC and ACC2 from either of them. Output terminals 10-13 and 14-
17 are terminals for outputting the contents of register P3 and register P4, respectively. SR and SR2 are stack registers that hold the contents of the program counter PC, and are registers that store the return address while the program counter PC specifies the subroutine address. Consists of registers. Terminal 18 connects BI to GND, and terminal 19 connects to power supply V blood. Next, the ROM is an instruction memory in which various instructions are stored in advance according to the functions of the microcomputer. In particular, in the present invention, the accumulator ACC, accumulator ACC2, and carrier IJ flip-flop C are combined to form a 9-bit shift register. The constituent instructions and instructions for sequentially shifting the contents of the 9-bit shift register to the left or right and outputting them to the output terminal 9 as appropriate are written, and these instructions are addressed and read by the program counter PC. The data stored in the accumulators ACC, , ACC2 and the carrier flip-flop in the output state are serially coupled, and a desired bit is taken out from the output terminal 9 as an LSI output through a shift operation according to an instruction. In this embodiment, a case has been described in which two accumulators and a carrier flip-flop are selected as registers to be combined.
Various instructions are given from the OM, and in conjunction with these instructions, serial output by register combination can be used more effectively.

しかしLSI内に設けられたその他のレジスタ、例えば
出力レジスタP3及びP4を利用して本発明を実施する
こともできる。上記ROMから読み出された命令は、命
令デコーダIDでデコードかれて上記アキュムレータ部
をはじめLSIの各部に与えられる。
However, the present invention can also be implemented using other registers provided within the LSI, such as output registers P3 and P4. The instructions read from the ROM are decoded by the instruction decoder ID and provided to each section of the LSI including the accumulator section.

以下本発明のように独立に動作する少なく共2個のレジ
スタについて、一方のレジスタに出力端子を形成し、R
OMに予めこれ等のレジスタを結合させる命令を書き込
んで構成することにより、命令を読み出すことによって
、通常はしジスタ自身がもつビット長データ処理に使用
されている汎用レジス夕の有効活用を図り、レジスタ自
身のビット長よりも長いビットからなる信号についても
シリァルに連続出力を得ることができ、瓜1内にシリア
ル出力のための回路として特別に占有面積を必要とせず
、簡単な構成を付加するのみでLSI機能を著しく向上
させることができる。
Hereinafter, for at least two registers that operate independently as in the present invention, an output terminal is formed in one of the registers, and R
By writing and configuring the OM with instructions to connect these registers in advance and reading the instructions, it is possible to effectively utilize the general-purpose registers that are normally used for processing bit-length data of the register itself. Continuous serial output can be obtained even for signals consisting of bits longer than the bit length of the register itself, and a simple configuration is added without requiring a special occupied area as a circuit for serial output in the melon 1. LSI functionality can be significantly improved by only using the following methods.

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

図は本発明による実施例を示す要部ブロック図である。 The figure is a main part block diagram showing an embodiment according to the present invention.

Claims (1)

【特許請求の範囲】[Claims] 1 同一チツプ内に独立させて設けられた汎用の第1レ
ジスタ及び第2レジスタと、該第1レジスタ及び第2レ
ジスタのいずれかのレジスタを1ビツトから導出された
出力端子と、上記第1レジスタ及び第2レジスタ間を直
列に接続するラインと、該接続ラインを介して第1レジ
スタと第2レジスタを接続して信号をシフトするための
指令を与える制御手段とを備えてなり、第1レジスタ或
いは第2レジスタの所望の1ビツトの内容を出力するこ
とを特徴とするマイクロコンピユータ。
1 A general-purpose first register and a second register independently provided in the same chip, an output terminal derived from one bit of either the first register or the second register, and the first register and a line that connects the second register in series, and control means that connects the first register and the second register via the connection line and gives a command to shift the signal, the first register Alternatively, a microcomputer is characterized in that it outputs the desired 1-bit content of the second register.
JP54043820A 1979-04-10 1979-04-10 microcomputer Expired JPS6027430B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP54043820A JPS6027430B2 (en) 1979-04-10 1979-04-10 microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP54043820A JPS6027430B2 (en) 1979-04-10 1979-04-10 microcomputer

Publications (2)

Publication Number Publication Date
JPS55135961A JPS55135961A (en) 1980-10-23
JPS6027430B2 true JPS6027430B2 (en) 1985-06-28

Family

ID=12674375

Family Applications (1)

Application Number Title Priority Date Filing Date
JP54043820A Expired JPS6027430B2 (en) 1979-04-10 1979-04-10 microcomputer

Country Status (1)

Country Link
JP (1) JPS6027430B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58123121A (en) * 1982-01-14 1983-07-22 Nec Corp Input control circuit
JP4907409B2 (en) * 2007-04-04 2012-03-28 大成建設株式会社 Formwork for shotcrete specimens, formwork unit and method for producing shotcrete specimens

Also Published As

Publication number Publication date
JPS55135961A (en) 1980-10-23

Similar Documents

Publication Publication Date Title
US5794067A (en) Digital signal processing device
KR850004680A (en) Integrated processor
US4610004A (en) Expandable four-port register file
JPS6027430B2 (en) microcomputer
US4916601A (en) Means for transferring firmware signals between a control store and a microprocessor means through a reduced number of connections by transfer according to firmware signal function
JPS6043757A (en) Microcomputer of one chip
JPH01205339A (en) Microcomputer system
JPS6140628A (en) Memory circuit
JPH01239485A (en) Large-scale integrated circuit
KR0164118B1 (en) Lookup table control apparatus using lancam, method of lookup, connection setup, and connection cancelation using the former apparatus
JP2764024B2 (en) Storage device table indexing method and indexing device
JPS60225253A (en) Information processing device
JPH01112347A (en) Address control circuit for digital signal processor
JPS61211741A (en) Microcomputer
JPH0465738A (en) Memory device
JPH07146791A (en) Instruction decoding device
JP2000138564A (en) Digital filter
JPH04245556A (en) Instruction memory
JPH02116077A (en) Memory with logic synthesizing function
JPS62160531A (en) Arithmetic unit of single chip microcomputer
JPS59848B2 (en) microcomputer
JPS599938B2 (en) microcomputer
JPS63234490A (en) Memory element
JPS6388657A (en) Memory device
JPS6371731A (en) Microprogram controller