JPS5844559A - Display system of electronic device - Google Patents

Display system of electronic device

Info

Publication number
JPS5844559A
JPS5844559A JP6851882A JP6851882A JPS5844559A JP S5844559 A JPS5844559 A JP S5844559A JP 6851882 A JP6851882 A JP 6851882A JP 6851882 A JP6851882 A JP 6851882A JP S5844559 A JPS5844559 A JP S5844559A
Authority
JP
Japan
Prior art keywords
memory
contents
digit
display
acc
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
JP6851882A
Other languages
Japanese (ja)
Inventor
Shigeaki Masuzawa
増沢 重昭
Mitsuhiro Saiji
才治 光博
Akiyoshi Tanimoto
谷本 昭良
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 JP6851882A priority Critical patent/JPS5844559A/en
Publication of JPS5844559A publication Critical patent/JPS5844559A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers
    • G06F15/78Architectures of general purpose stored program computers comprising a single central processing unit

Abstract

PURPOSE:To ensure the extremely natural reading of the display contents larger than the display capacity, by having a running display of the data to be fed and furthermore varying the indicated contents in case a halt state arises in the course of a calculation. CONSTITUTION:It is supposed that a counter is previously reset at 0. Then the code of ''DE'', for example, is stored in a character memory to display ''DE''. Then the contents of the character memory is shifted left by an extent equivalent to one digit of display. Then ''DE'' is displayed after the end of display of ''DE'', and then the ''DATA'' is displayed. Then the code of A is stored in the character memory in the first halt state, and then the data A is displayed. Then ''Feed data A.'' is displayed repetitively. Then the counter value is set at 2 in the second halt state, and the code of B is stored in the character memory to display ''Feed data B.'' In the same way, ''Feed data C.'' and ''Feed data D.'' are displayed in the 3rd and 4th halt states respectively.

Description

【発明の詳細な説明】[Detailed description of the invention]

本発明は電子式計算機等の電子機器に於ける表示方式に
係り、特に計算機等の表示の制御及び動作を行なうため
の新規な表示方式に関するものである。 従来、電子式計算機の表示方式に於ては、その表示体の
桁数以上の表示を行ないたい場合は、表示すべきデータ
を区切って2回乃至はそれ以上切換えて表示しなければ
ならない。 しかし、この様な切換方式は、前に表示した表示内容と
現に表示されている表示内容との関連(繋がり)が明確
でなく誤読の慣れがあるなどの欠点があった。本発明は
前述の難点を克服することである。 本発明の目的は数値、文字、記号等のキャラクタを表示
しうる表示体の表示内容を成る一定時間毎にシフトする
(以下ランニング表示するという。)事により、表示体
に表示し得る表示容量以上の表示情報を表示できる電子
式計算機等の表示方式を提供することであり、これによ
って、表示内容を連続的に移動させて前述の従来の難点
を克服[7、しかも1表示の切換えを行う必要がなく、
オペレータが極めて自然に読み取ることができる電子式
計算機等の表示方式を提供することである。 本発明の一つの特徴は表示内容を循環させ、ある表示内
容がランニング表示されて表示部の端から全部消えた後
、再び同じ表示内容の先頭が表示されるようにすること
により、一つの表示内容がシフトされ、表示部の端から
全部消えるまで、同じ表示内容の先頭が表示されず、表
示の区切りが明確な読み間違いのない表示方式を得るこ
とである。 また別の特徴は表示内容の種類により、通常の表示(所
謂、静止表示)とランニング表示(動的表示)とを区別
して表示し得る表示方式を提供することにより、例えば
演算結果等のデータは通常(静止)表示を行い、演算の
手順等の指示表示は一定時間毎にシフトさせる様にして
区別し、同じ内容の表示5であっても、その表示状態に
よって表示の垂味を区別することができるようにするこ
とである。・か−る方式は関数電卓等に用いて特に有効
である。 さらに別の特徴は表示内容を1積車位に行うことができ
、計算機に於けるプログラム計算の途中でハルト状態(
所謂、プログラムの実行途中で外部からデータを入力す
るステップでデータが入力されるまで演算を一時停止す
る状態)となった場合、次に入力すべきデータを指示す
るキャラクタ内容をランニング表示[7、更にはキャラ
クタ内°容を計算機の内部状態によって可変できる様に
し、又表示状態の直前で一定時間演算結果を表示できる
諸々の機能を備える計算機等の表示方式を得ることであ
る。 本発明のさらに別な目的と利点は以下の説明と添付した
図面から明らかとなるであろう。 第1図は本発明の表示方式を具えたプログラム計算機の
一実施例を図示する外観図、第2図は同計算機の表示状
態の一例を示す状態図である。 第1図に於て、1は表示部、2はキー人力部を示[7、
第2図(a)〜(i)は関数電卓等に於て、特に演算中
、ハルト状態になった時、次に入れるべきデータを指示
する場合を一例と17で示しながら説明する。 ここで、(a)は通常表示、rb)〜(g)は本発明の
表示方式に基づく表示の成る時点での表示状態であり、
(b)は次に入力すべきデータの指示の先頭文字の表示
状態で、一定時間(例えば0.5秒)後(c)の状態と
なり、次の0.5秒後(d)の状態となる。この様に表
示内容は一定時間毎にシフトし、(b)−・fc) −
’(d)・・・・(e)→(f)→・・・(g)−= 
(h)→(i)となり、全て表示が消えた後、(b)の
状態となり、以後同様に循環表示される。 第3図は本発明の表示方式を具えた計算機の一実施例の
ブロック線図である。図に於て、3はキー人力装置、4
は後述する中央処理装置r(Cent−ral −Pr
ocessor −Uni t )以下CPUと言う。 」で命令を解読し実行する装置である。5はレジスタS
A、SXからの出力信号をデコードするギャラクタジェ
、ネレータ(CRG)、6は5×7の8桁のドツトマト
リックス形表示体、7は桁選択信号、8はセグメント信
号を示す。 第4図は本発明の表示方式を実行する計算機のCPU装
置の一実施例の論理回路線図であり、これらは第4A−
4D図を含む。第5図は第4図のCPU装置と等価な回
路を図示する線図である。 以下、CPUの具体的な論理回路構成について説明する
。 (CPUの回路構成) RAMはランダム・アクセス・メモリーチ、−入出力は
4ビット単位に行われ、ディシンドアドレスとファイル
アドレスを指定することによって所望のディジット内容
を入出力できる。BLはメモリーRAMのディジットア
ドレスカウンタ、DC。 はメモリーRAMのディジットアドレスデコーダ、BM
はメモリーRAMのファイルアドレスカウンタ、DC2
はメモリーRAMのファイルアドレスデコーダ、A D
 lは加算器で、制御命令0が与えられた時は減算器と
して、0が与えられない時は加算器として動作する。A
D2は加算器、G1は加減算器AD、の一方の入力に数
値l或いはオペランドIAのいずれかを与えるためのゲ
ートで、制御命令■が与えられた時はIを、[相]の時
は■いを出力する。G2はメモ°リープイジツトアドレ
スカウンタBLの入力ゲート、[相]の時は加減算器A
D1 の出力を、■の時はオペランド■いを、00時は
オペランド■8を出力する。G3は加減算器A D 2
の一方の入力に数値l、或いはオペランド■いのいずれ
かを与えるためのゲートで、■の時は数値lを、■の時
はオペランドIAを出力する。 G4はメモリーファイルアドレスBMの入力ゲートで、
■の時は加算器AD2の出力を、r拍はオペランドIA
を、■の時はアキュムレータACCの内容を出力する。 G5 はメモ’J −RA Mのファイ)V選択ゲート
、DC3はオペランドIAのデコータテ、オペランドI
Aを解読し、メモリーの所望ビア)指定信号をゲートG
5に入力させる。G6はメモ!]−RAMの入力ゲート
、制御命令■が与えられた時はオペランドデコーダDc
3で指定されたメモリーの所望ビットに2進数1を人力
させ、■の時はDC3で指定されたメモリーの所望ビ・
ノドに2進数0を入力させる回路を内蔵し、又■でアキ
ュムレータACCの内容を出力する。ROMはリード・
オンリー・メモリー、PLはプログラム・カウンタで、
リード・オンリー・メモリーROMの所望ヌテ7プを指
定する。DC4けIJ −ド・オンリー・メモリーRO
Mのステップアクセヌデコーダ、G7はリード・オンリ
ー・メモリーROMの出力ゲートで、ジャッジフリップ
フロップ(F/F ) Jがセットされた時は、ROM
の出力のインストラクションデコーダDC5への伝達が
遮断される。DC5はインストラクションデコーダで、
ROMからのインストラクションコードを解読するもの
で、ROMのインストラクションコードはオペコード部
分I。とオペランド部分IA。 IBに分けられ、オペコードを解読し、そのオペコード
に対応して制御命令(1)〜呻のいずれかを発生させる
。又オペランドをともなうオペコードであることを判断
し、その時に、オペランドIA又はIBをそのま\出力
させる回路を内蔵する。AD3は加算器で、プログラム
カウンタPLの内容に数値1を加え、カウントアツプさ
せるためのもの。 G8はプログラムカウンタPLの入力ゲートで、[相]
の時はオペランド■4を出力し、[相]の時はプログラ
ムスタックレジスタSPの内容を伝tiifる。 [相]、旬の処理時及びデー)G39用の[株]の処理
時は加算器AD3の出力は伝達されない。[相]、[相
]、轡以外はAD3出力を伝達し、自動的にプログラム
カウンタPLの内容に1を加える。FCはスタック5、
G9はフラッグF/FFCの入力ゲート、@の時は2進
数■を、0の時は2進数0をそれぞれフラッグ//FF
Cに入力きせるだめのものである。 GIOはキー信号発生ゲートで、フラッグF/FFcが
リセット状態(0)の時はメモリーディジ゛ットアドレ
スデコーダDC,の所望出力をそのまま出力させ、フラ
ッグ//FFCがセット状紬1の時はDC。 出力の如何にか−わらず■1〜Inの出力を一斉に1に
する回路を内蔵する。ACCは4ビツトで構成されるア
キュムレータ、Xは4ビツトで構成されるテンポラリ−
(一時記憶)レジスタ、G11はテンポラリ−レジスタ
Xの入力ゲートで、[相]の時はアキュムレータACC
の内容を伝達し、[相]の時はスタックレジスタSXの
内容を伝達する。AD4は加算器で、アキュムレータA
CCの内容と他のデータを2進加算するために用いられ
る。2進加算の際、第4ビツトの加算でキャリーが出れ
ばc4出力を1にする。Cはキャリー’/1;、G+2
 はキャリーイの入力ゲート、制御命令■の発生時に、
もし第4ビツトキヤリーC4が1であればキャリーF/
/FCに1を入力し、C4が0であればCに0を入力す
る回路を内蔵する。[相]の時はCに1を、[相]の時
はCKOを入力するためのものである。G13はキャリ
ーを含めた2進加算を加算器AD4で行わせるためのキ
ャリーC入力ゲートで、[相]の時にキャリーF/FC
の出力を加算器AD4に伝達する。 GI4は加算器AD4の入力ゲートで、[相]の時はメ
モ!l−RAMの出力を、[相]の時はオペランドIA
を伝達する。Fは4ビツトで構成される出力バッファレ
ジスタ、GI5は出力バッファレジスタFの入力ゲート
で、[相]の時にアキュムレータACCの内容を伝達し
、Fに入力するもの。SDは出力デコーダで、出力バッ
ファレジスタFの内容を解読し、表示体セグメント信号
SS1〜SSn  に変換するためのもの。Wは出力バ
ッファレジスタ、SHCは出力バッファレジスタWの全
ビット内容を一斉に1ビツト右シフトするためのもので
qユ又は[相]が発生した時に動作する。出力バッファ
レジスタWのシフト回路である。G16は出力バッファ
レジスタWの入力ゲートで、[相]の時にはWの第1ビ
ットに1を入力し、[相]の時にはWの第1ビツトに0
を入力させるためのものであり、なおWの第1ビツトに
1又は0を入力する直前で出力バッファシフト回路5I
(Cが動作し、シフトした後に入力される様にされてい
るものとする。N、は出力コントロールフラッグ’/p
 、G+ytj:出力コン) o−/l/7ラツグF/
FNPの入力ゲートで、[有]の時に1を入力し、[相
]の時は0を入力する。G11lはバッファレジスタW
の出力コントロールゲートで、フラッグF//FN、が
セット(1)になっている時のみ、Wの各ビットの出、
力を一斉に出力させるためのものである。j′はシーツ
シイ、■v1〜Iv、はインバータ回路、019はジャ
ッジF/FJの入力ゲートで、([相]の時に入力KN
、の状態をJに伝達するためのものである。たソし、イ
ンバータIV、を介しているのでKN、=0の時にJ=
1となる。G20はジャッジF/FJの入力ゲートで、
[相]の時に入力KN2の状態をJに伝達する。た!し
、インバータIV2を介しているのでKN2=0の時に
J=1となる、G21はジャッジF/FJの入力ゲート
で、[相]の時に入力K F 1の状態をJに伝達する
ためのもの−fi−’iしインバータIv3を介してい
るのでKF+=Oの時KJ=1.!:なる。G2□はジ
ャ・シジF4Jの入力ケートで、[相]の時に入力KF
2の状態をJに伝達するためのもの。たソしインバータ
IV4を介しているのでKF2の時にJ=1となる。G
23はジャッジF/FJの入力ゲートで、・ゆの時に入
力AKの状態をJに伝達するためのもの。AK= 1の
時J=1となる。G24はジャッジ /i−Jの入力ゲ
ートで、■の時に入力TABの状態をJに伝達するため
のもの。TAB=1の時J=1となる。G25はジャ・
ン、 F ジ/i−Jのセット用ゲートで、■の時に1をJに入力
するためのもの。vlは比較回路で、メモリーディジッ
トアドレスカウンタBLの内容と予め定められたデータ
とを比較し、一致していれば出力1を発生するもので、
[相]又は[有]が発生された時に回路が動作する。比
較すべきデータはデー) G26より出力される。G2
6は比較回路v1への比較値入力ゲートで、比較値n、
とはメモリーRAMの制御上よく利用される高い側の特
定アドレス値に対応する。[相]の時はnlを比較値に
するために、出力させ、[有]の時はn2を比較値にす
るために出力させる。 G2□はジャ7ジF/FJの入力ゲートで、6最の時キ
ャリーF/1l−Cの内容が1の時、Jに1を入力する
。DCsはオペランドIAの解読器で、オペランド■4
を解読し、メモ!J−RAMの所望ビットの内容が1か
どうかのジャッジに用いる。G2gはメモリーRAMの
オペランド解読器DC6で指定されたビット内容をジャ
ッジ4に伝達するゲートで、[相]の時に動作する。R
AMの指定ビットが1の時J=1となる様にする。v2
は比較回路で、アキュムレータAC’C’の内容とオペ
ランド■いの内容が等しいかどうかをジャッジし、等し
い時出力1を発生する。 ■の時に動作する。v3は比較回路で、メモリーディジ
ットアドレスカウンタBLの内容とオペランドIAの内
容が等しいかどうかをジャッジし、等しい時出力1を発
生する。[相]の時に動作する。 v4は比較回路で、アキュムレータACCの内容とメモ
リーRAMの内容が等しいかどうかをジャッジし、等し
い時に出力lを発生する。G29は加算第4ビツトキヤ
リーC4のジャッジF//FJ 、へ(f)伝達ゲート
で、[相]の時C1を/、Jに伝達する。C4の時にJ
=1となる。FAはフラッグフリツフリロップ、G31
はフラッグ/FFAの入力ゲートでこ[相]の時1を出
力、00時0を出力する。G32はジャッジl/FJの
入力ゲートで、フラッグF/、FAが1のときF/FJ
をセント(+)する。F8はフラッグタ、G33はフラ
ッグl/FEBの入力ゲートで、[相]の時、1を出力
、[相]の時0を出力する。G34はジャッジF/F−
Jの入力ゲートでフラッグ/FEBの内容を’/FJに
伝達するもの。[相]の時動作する。 G35はジャッジ/F Jの入力ゲートで、入力Bの内
容を伝達するもので[相]によって動作する。B=1の
時J= 1となる。G36はアキュムレータACCの入
力ゲートで、[相]の時は加算器AD4の出力を伝達し
、[相]の時はインバータIV、5にてアキュムレータ
ACCの内容を反転し伝達する。[相]の時はメモ!J
−RAMの内容を伝達し、[相]の時はオペランドIA
の内容を伝達する。[相]の時は入力に1〜に4の4ビ
ツトの内容を伝達する。[相]の時はスタックレジスタ
SAの内容を伝aする。IV5ij:インz<−タ回路
、SAはスタックレジスタで出力がシステム外に導出さ
れている。SXはスタックレジスタで出力がシステム外
に導出されている。G37はスタックレジスタSAの入
力ゲートで、[相]の時、アキュムレータACCの内容
を伝達する。638はスタックレジスタSXの入力ゲー
トで、(陣の時、テンポラリ−レジスタXの内容を伝達
する。SPはプログラムスタックレジスタ、G39はプ
ログラムスタックレジスタSPの入力ゲートで、轡の時
、プロシラ6ムカウンタPLの内容に加算器AD3にて
fv加えたものをプログラムスタックレジスタに導入す
るためのものである。  −次に前記CPU装置の記憶
部ROMに記憶されるインストラクションコードと、そ
のインストラクション名、動作内容及びインストラクシ
ョンコードに基づき発生する制御命令の一例を下表に示
す。 表に於て、A:インストラクションコード、B:インス
トラクション名、C:内容、D:CPU制御命令を示す
。 第   1   表 (C)の説明 I  5KIP 次のプログラムステップの命令を実行せず、ナログラム
カウンタPLのみをアップさせ、実質的にスキップする
。   AD アキュムレータACCの内容とメモリーRAMの内容を
2進加算し、加算結果をアキュムレータACCに入力す
不。   ADC アキュムレータACC,メモリー*A+v。 キヤ!J −F/p Cの内容を2進加算し、加算結果
をアキュムレータACCに入力する。 4  ADC5K アキュムレータACC,メモリーRA M 。 キヤ!J−F/11−Cの内容を2進加算し、加算結果
をアキュムレータACCに入力すると共に、この加算結
果で第4ビツトキヤリイC4が発生すれば次のプログラ
ムステップをスキップする。 5   ADl アキュムレータACCの内容と、オペランドIjを2進
加算]7、加算結果をアキュムレータACCに入力する
と共に、この加算結果で第4ビツトキヤリイC4が発生
すわば次のプログラムステップをスキップする。   DC オペランドIAを1010(10進数10)に定め、A
DI命令と同様にアキュムレータACCの内容と、この
オペランドIAヲ2進加算することによって実質的にア
キュムレータACCの内容に10進数10を加算12、
その結果をACCに入力する。   5C キャリイF/F Cをセットする。 (Cに1を入力する。) 8  RC′□ キャリイF/F Cをリセットする。 (Cに0を入力する。)   5M オペランドIAの内容を解読し、オペランドで指定され
たメモリーの所望ビットをセントする。(1を入力する
。) 10   RM オペランド■4の内容を解読し、オペランドで指定され
たメモリーの所望ビットをリセットする。(0を入力す
る。) II  COMA アキュムレータACCの各ビットの内容を反転し、15
の補数をとりアキュムレータACCに入力する。 12  Lr)1 アキュムレータACCにオペランドIA′ヲ導入する。 3  L メモ!j−RAMの内容をアキュムレータACCに導入
すると共に、オペランド■4をファイルアドレスカウン
タBMに入力する。 4LI メモリーRAMの内容をアキュムレータACCに導入す
ると共に、オペランドIAをメモリーファイルアドレス
カウンタBMに入力する。さらにメモリーディジットア
ドレスカウンタBLをアップさせる。たyしBLの内容
が予め宇めた値n1  に等しい時は次のプログラムス
テップをスキップする。 +5LD メモ!J−RAMの内容をアキュムレータACCに導入
すると共に、オペランド■えをメモリファイルアドレス
カウンタBMに入力する。さらにメモリーディジットア
ドレスカウンタBLをダウンさせる。たソし、BLの内
容が予め定めた値n2に等しい時は次のプログラムステ
ップをスキップする。 6  X メモリーRAMの内容とアキュムレータACCの内容を
交換すると共に、オペランドIt−メモリーファイルア
ドレスカウンA りBMに入力する。 7XI メモリーRA Mの内容とアキュムレータACCの内容
を交換すると共に、オペラン)−I  をメモリーファ
イルアドレスカウンタ りBMに入力する。さらにメモリーディジットアドレス
カウンタBLをアップさせるただし、BLの内容が予め
定めた値n1  に等しい時は次のプログラムステップ
をスキップする。 18  文゛D メモリーRAMの内容とアキュムレータACCの内容を
交換すると共に、オペランドIt−メモリーファイルア
ドレスカウンりBMに入力する。さらにメモリーディジ
ットアドレスカウンタBLをダウンさせる。 ただし、BLの内容が予め定めた値n2に等しい時は次
のプログラムステ・ノブをスキップする。 19   LBLI オペランド■いとメモリーディジットアドレスカウンタ
BLK入力する。 0LB オペランドIAをメモリーファイルアドレスカウンタB
Mに入力すると共に、オペランド■8をメモリーディジ
ットアドレスカウンタBLに入力する。 21  ABLI メモリーディジットアドレスカウンタBLの内容とオペ
ランドIA′f2進加算17、加算結果をBLに入れる
。ただ(7、BLの内容があらかじめ定めた値n1 に
等しい時は次のプログラムをスキップする。 22  ABMI メモリーファイルアドレスカウンタBMの内容とオペラ
ンドIAを2進加算し、〜加算結果をBMに入れる。 8  T オペランド■いをプログラムヌテップカウンタPLに入
力する。 24 5KC キャリーF/FCが1ならば次のプロクラムステップを
スキップする。 25 5KM オペランド■えの内容を解読し、オペランドで指定され
たメモリーの所望ピントが1であれば次のプログラムス
テップをスキップする。 26 5KBI メチリーデイジットアドレスカウイダB Lの内容とオ
ペランド■4を比較し2、等しい時には次のプログラム
ステップをスキップする。 27 8KAI アキュムレータACCの内容と、オペランドIAを比較
し、等しい時には次のプログラムステップをスキップす
る。 28 5KAM アキュムレータACCの内容と、メモリーRAMの内容
を比較1−1′等しい時には次−のプログラムステップ
をスキップする。 29 5KN。 K N 、入力が0の時、次のプログラムステップをス
キップする。 3Q  5KN2 K N 2人力が0の時、次のプログラムステップをス
キップする。 81 5KF1 KF、入力が0の時、次のプログラムステップをスキッ
プする。 32 5KF2 KF2人力が0の時、次のプログラムステップをスキッ
プする。 38 5KAK AK大入力1の時、次のプログラムステップをスキップ
する。 84 5KTAB TAB入力が1の時、次のプログラムステップをスキッ
プする。 35  5KFA フラッグE/F F 4が1の時、次のプログラムステ
ップをスキップする。 36 5KFB フラッグF/FF Bが1の時、次のプロクラムステッ
プをスキップする。 7WIS 出力バッファレジスタWの内容を1ビツト右シフトする
と共に、第1ビツト(最上位ビット)に1を入力する。 8WIR 出力バッファレジスタWの内容を1ビツト右シフトする
と共に、第1ビツト(最上位ビット)に0を入力する。 89  NFS バッファレジスタW出力コントロ−I F/PNPをセ
ットする。(1を入力する。)40   NPR バッファレジスタW出力コントローIV F/FN、を
リセットする。(0を入力する。)41   ATF アキュムレータACCの内容ヲ出力ハツファレジスタF
に転送する。 42  LXA アキュムレータACCの内容をテンポラリーレジヌタX
に導入する。 48  XAX アキュムレータACCの内容とテンポラリ−レジスタX
の内容を交換する。 44  SFA フラッグF、/1l−FAをセクトする。(lを入力す
る。) 45  RFA フラッグF/F F BIr:リセットする。(0を入
力する。) 46 5FB フラッグF4FBをセットする。(1を入力する。) 47   RFB フラッグF/、FBをリセットする。(0を入力する。 ) 48 5FC 入力テスト用フラッグF/′FFcをセットする。(1
を入力する。) 49  RFC 入力テスト用フラッグF/FFcをリセットする。(0
を入力する。) 50 5KB 入力βが1の時、次のプログラムステップをスキップす
る。 51  KTA 入力に1〜に4の内容をアキュムレータACCに導入す
る。 52 5TPO アキュムレータACCの内容をスタックレジスタSAに
、テンポラリ−レジスタXの内容ラスタツクレジスタS
Xに導入する。 53  EXPO アキュムレータACCの内容とスタックレジスタSAの
内容を交換し、テンポプリーレジスタXの内容とスタッ
クレジスタSXの内容を交換する。 54  TML プログラムカウンタPLの内容に1を加えたものをプロ
グラムスタックレジスタSPに転送する。さらにオペラ
ンドIAをプログラムカウンタP、に導入する。 5RIT プログラムスタックレジスタSPの内容ヲプログラムカ
ウンタP、に転送する。 次ニ、CPU装置内のROM(リード・オンリー・メモ
リー)に記憶されるオペコードとオペランドの関係を第
2表に示す。 第   2   表 ■。 AD→0OOIOIIOQO ■。 COMA→0001011+11 ↓ to DC。 但し、■o=オペコード ■い■B:オベランド こ〜で、例えば、リード・オンリー・メモ−ナシROM
の出力を10ピツトと[、た場合の例に採ると、インス
トラクションAD或いはCOMA(第1表参照)はイン
ストラクションデコーダDC5で10ビツトのコードが
各々0001011000或いは0001011111
であることを解読1.て判断され制御命令[相]、@或
いは[相]を発生する。一方5KBIは上位6ビツトが
000110であることで判断され、この時下位4ピツ
)0010はオペランドIAとして扱われる。さらにL
Bは上位2ビツトが01であることで判断され、この時
第3〜第8ビツトの001010はオペランドIAとし
て扱われ、第9.第10ビツトの11はオペランドIB
として扱われる。オペランド(aprand)は命令語
の構成部分で、データや次の命令の貯えられているアド
レスなどを示す部分で、命令のアドレス部と言うことが
できる。 次に、上述したCPU装置の主な処理動作の一例(以下
、これを処理リストと呼ぶ。)について説明する。 (処理リス・ト) (1)同じ数値Nをメモ!J−RAMの所望領域に導入
する。(NNN→X) (2)予め定められた複数の異なる数値をメモリーの所
望領域に導入する。(NI+ N2+ N3・・・→X
)(3)  メモリーの所望領域の内容をメモリーの他
の所望領域に転送する。(X−+Y) (4)  メモリーの所望領域の内容をメモリーの他の
所望領域の内容と交換する。(X−Y )(5)  メ
モリーの所望領域に予め定められた数値N(a)  f
i゛モリ−の所望領域の内容に他の領域の内容を10進
加算する。(X±Y) ″ (7)所望領域のメモリーの内容を1デイジツトシ
フトする。(X右、X左) (8)  メモリーの所望領域の1ビツトコンデイシコ
ナ#F/Fをセット又はリセットする。(Fset。 Freset) (9)  メモリーの所望領域の1ビツトコンデイシヨ
ナルF/Fの内容をジャッジし、ジャッジ結果で次に進
むプログラムアドレスを変、する。 0(i  メモリーの所望領域のディジット内容が予め
定められた数値かどうかをジャッジ12、ジャッジ結果
で次に進むプログラムステップを変える501)  メ
モリーの所望領域の複数ディジットの内容が全て予め定
められた数値と等しいかどうかをジャッジ11、ジャッ
ジ結果でプログラムステップを変える。 aカ  メモリーの所望領域の内容が予め宇めた数値よ
りも小さいかどうかをジャッジ[7、ジャッジ結果で次
に進むプログラムステップを変える。 Q:I  メモリーの所望領域の内容が予め定めた数値
よ妙も大きいかどうかをジャッジし、ジャッジ結果で次
に進むプログラムステップを変える。 0→ メモリーの所望領域の内容を表示する。 Qf9  抑圧されたキースイッチの種類を判別する。 次にこれらの上記(1)〜αυの処理をインストラクシ
ョンコードに基づいて実行する場合の具体例を前記処理
リストに従って以下に説明する。 (処理リストの具体例) (Type I  ) Pl・・・メモリーの処理すべき第1番目のディジット
を、ファイルアドレスmAとディシンドアドレスnEで
指定する。 P2・・・ACCに数値Nを導入する。 P3・・・メモリーとACCの内容を交換することによ
って数値Nをメモリーの提定された領域に導入する。メ
モリーのファイルアドレスは変わらないのでmAを指定
I7、ディジットアドレスは次の導入すべきディジット
を決めるためにダウンされる。導入すべき最終ディジッ
トnAの値を予めn2 として決めておくことによって
、数値Nを所望全領域に導入i、終えた状態でBL=n
2 となるため、次のP−4をスキップしてType 
1の処理を終える。 Pc・・プログラムアドレスk P 2 に指定してB
L=Vになる寸でLDIとXDの処理を繰り返す。 ■ PI・・・メモリーの処理すべきディジットをファイル
アドレスmB とディジットアドレスncで指定する。 P2・・・ACCに数値Nを導入する。 P3・・・メモリーとACCの内容を交換することによ
って、数値Nをメモリーの指定された領域に導入する。 こうしてType 2の処理を終よる。Xoのオペラン
ド部分は続く処理に必要なもので、本処理には関係ない
。 ■ Pl・・−メモリーの処理すべき第1番目のファイルア
ドレスmc  と、ディジットアドレスn。 で指定する。 P2・・・ACCに数値Nを導入する。 P3・・・メモリーとACCの内容を交換することによ
って数値Nをメモリーの指定された領域に導入する。メ
モリーのファイルアドレスは変らないのでmeを指定し
、ディジットアドレスは次の導入すべきデイジッl−?
決めるためにダウンされる。 P4・・・P3で処理したテ罫ジットが最終ディジット
nBであったかどうかのチェックで、n8であった時、
ディジットアドレスはダウンしてnAになっているため
、SKI命令のオペランド部分をnAにしておくことに
よって最終ディジットに数値Nを導入してP4に進んだ
際、条件が漫足し、次のアドレスP5 をスキップして
”rypeaを終了する。 条件が漫足しない時はP5 に進む。 P5・・・プログラムアドレスをp2icm定し、BL
=nAになるまでP2〜P4の処理を繰り近見す。 ・・・→X) (Typel)4桁の数値N 4 N s N 2 N
 +をメモリーに導入する例を示す。(任意桁の導入も
同様)Pl・・・メモリーの処理すべき第1番目のディ
ジッFをファイルアドレスmAとディジットアドレスn
Hで指定する。 Pl・・・ACCに第1の定数N、を導入する。 P3・・・メモリーとACCの内容を交換することによ
って数値N1をメモリーの指定された領域に導入する。 メモリーのファイルアドレスは変らないのでmAを指定
し、ディジットアドレスは次の導入すべきディジットを
決めるためにアップする。 P4・・・ACCに第2の定数N2を導入する。 P5・・・P3の処理でメモリーは第2番目のディジッ
トに指定されているため、メモリーとACCの内容交換
によって、第2の定数N2がメモリーの第2番目のディ
ジットに導入される。 P6〜P、・・・上記と同様に処理する(TYI)e2
)O〜15のうちの任意の数値をあらかじめ宇めたレジ
スタに導入する場合。 Pi・・・ACCに数値Nを導入する。 Pl・・・ACCに入っている数値NをレジスタXに導
入する。  □ ■ PI−°°熱処理べき第1のメモリーのファイルアドレ
スをmAで指定12、処理すべき第1のディジットアド
レスをnHで指定する。 Pl・・・第1のメモリーの所望ディジットの内容をA
CCに導入すると共に、P3での転送処理に備えて、転
送先の第2のメモリーのファイルアドレスをmBで指定
する。 P3・・・ACCに導入した第1のメモリーの内容をP
lで指定した第2のメモリーの同一ディジットの内容を
交換して、実質的に第1のメモリーの内容を第2のメモ
リーに転送する。同時にくり返してこの処理をするため
にもとの第1のメモリーのファイルアドレスをmAで指
定しておく。転送すべき最終ディジットnAの値をあら
かじめnl  として決めておくことによって第1のメ
モリー内容を全て第2のメモリーに転送し終えた状態で
BL=nlとなるため、次のP4をスキップしてTyp
e 1の処理を終える。BL=V、(最終ディジット)
になるまではディジットアドレスを順次アップ1.てP
、を介してPlに戻るファイルアドレスをmAにしてお
き、第1メモリーを指定する。 Pc・・グロダラムアドレス奪ステップP2に指定して
、BL=nl になるまでPl とP3の命令をくり返
17.1デイジツト毎、転送処理を進めてゆく。 Pl・・・処理すべきメモリーの領域をファイルアドレ
スmAとディジットアドレスn−cで指定する。 P2・・・PI で指定したメモリー領域の内容−1A
ccに導入すると共にP4での転送処理に備えて転送先
のメモリーのファイルアドレスをm で指定する。 P3・・・転送先のメモリーのディジットアドレスを指
定する。P2とP3の処理で転送先のメモリーの領域を
指定する。 Pc・・ACCの内容をP 2* P 3で指定された
メモリーの領域を交換し、実質的に転送する。 Xのオペランドは本処理には直接関係1.ない。 (Type 3 ) Pl・・・処理すべきメモリーの領域をファイルアドレ
スmAとディジットアドレスncで指定する。 P2・・・Pl で指定したメモリー領域の内容をAC
Cに導入する。 P3・・・ACCに導入されたメモリーの内容をレジス
タXに導入し、所望のType 8の転送処理を実行す
る。 Pl・・・処理すべき第1のメモリーのファイルアト、
 レスをmAで指定し、処理すべき第1のディジストア
ドレスをnEで指定する。 P2・・・第1のメモリーの所望ディジットの内容をA
CCに導入すると共に、ステ11″P3での第2のメモ
リーとの交換処理に備えて、第2のメモリーのファイル
アドレスをmBで指定する。 P3・・・ACCに入っている第1の一メモリーの所望
ディジットの内容と、P2で指定された第2のメモリー
の同一ディジットの内容を交換すると共に、この処理で
AC’Cに転送された第2のメモリーの内容を第1のメ
モリーに導入するために、第1のメモリーのファイルア
ドレスをmAで指定しておく。 P4・・・ACCに導入された第2メモリーの内容と、
同一ディジットの第1メモリーの内容とを交換し、第2
メモリーの内容を第1メモリーに転送する。P2〜P4
の処理にてメモリー所望ディジット間の内容交換を行う
。第1メモリーの指定はファイルアドレスmAの指定に
て継続させ、ディジットアドレスをアップさせ、次のデ
ィジ7トアドレスを指定し、交換を各ディジットに対し
て順次実行してゆく。なお交換すべき最終ディジットn
Aの値をあらかじめnl として決めておくことによっ
て、第1のメモリーと、第2のメモリーの内容を全ディ
ジットにわたって交換し終えた状態でB1=nlとなる
ため、次のP5 をスキップして、Type 1の処理
を終える。 P5・・・プログラムアドレスをP2に指定し、B。 =n1 になるまでP2〜P4の命令をくり返1−11
ディジット毎、交換処理を進めてゆく。       
     Pl・・・処理すべき第1のメモリーのファイルアドレ
スをmAで指定し、処理すべきディシンドアドレスをn
 で指定する。 P2・・・第1のメモリーの所望ディジ7トの内容をA
CCに導入すると共に、第2メモリーのファイルアドレ
スm を指定し、内容変換に備える。 P3・・・転送先の第2メモリーのディジットアドレス
n。を指定12、交換先のメモリーアドレスを決定する
。 P4・・・^C6Cに入っている第1メモリーの内容と
第2iモリ−の内容を変換する。この時A、 CCに転
送される第2メモリーの内容を第1メモリーに転送させ
るため再び第1メモリーのファイルアドレスをm8で指
定スる。 P5・・・第1メモリーのディジットアドレスnc を
指定し、転送先の第1メモリーアドレスを決定する。 P6・・・ACCに入っている第2メモリーの内容と第
1メモリーの内容の交換を実行すネδ(Type 3 
) ■ P、・・・処理すべき第1メモリーのファイルアドレス
をmAで指定し、処理すべきディジットアドレスをn 
で指定する。 P2・・・第1のメモリー内容をACCに導入すると共
に、交換先に第2メモリーのファイルアドレスmcで指
定する。 P3・・・ACCの第1メモリーの内容と%P2で指定
された第2メモリーの内容を交換し、第1メモリー内容
を第2メモリーに導入する。 P4での処理に備え、再び第1メモリーをファイルアド
レスmBで指定しでおく。 P4・・・ACCに導入された第2メモリーの内容と第
1メモリーの内容を交換することによ、。 て第1メモリーと第2メモリーの内容交換を実行する。 ■ Pl・・・処理、すべきメモリーの領域をファイルアト
パレス する。 P2・・・PI で指定されたメモリーの内容’zAc
cに導入する。レジスタXの内容との交換に備工、ファ
イルアドレスmBを維持しておく。 P3・・・ACCに入っているメモリーの内容とレジス
タXの内容を交換(7、レジスタXにメモリーの内容を
転送する。 P4・・・ACCに入っているレジスタXの内容をメモ
リーと交換することにより、レジスタXの内容を実質的
にメモリーに転送し、Type4を実行させる。 (Type 1 )Mt+N−+M Pl・・・メモリーの処理すべき領域をファイlレアド
レスmBとディジットアドレスncで指定する。 P2・・・Plで指定されたメモリーの内容をACCに
導入する。メモリーファイルアドレスの指定は後に再び
同じメモリーに戻すためmBを指定しておく。 b・・・オペランドで加算すべき数値Nを指定1−1A
CCに導入されたメモリーの内容と数値Nを加算12、
その結果をACCに求める。 P4・・・ACCに求められた和をP2で指定
The present invention relates to a display system in electronic equipment such as an electronic calculator, and more particularly to a new display system for controlling and operating the display of a computer or the like. Conventionally, in the display system of an electronic calculator, if it is desired to display more digits than the number of digits of the display, the data to be displayed must be divided and switched two or more times for display. However, such a switching method has a drawback that the relationship (connection) between the previously displayed display content and the currently displayed display content is not clear, leading to misreading. The present invention is to overcome the aforementioned difficulties. The purpose of the present invention is to shift the display content of a display body capable of displaying characters such as numbers, letters, symbols, etc. at regular intervals (hereinafter referred to as running display), thereby exceeding the display capacity that can be displayed on the display body. The purpose of the present invention is to provide a display method for electronic calculators, etc., which can display displayed information, and thereby overcome the above-mentioned conventional difficulties by continuously moving the display contents [7, and in addition, it is necessary to switch between one display and the other. There is no
It is an object of the present invention to provide a display method for electronic calculators, etc. that can be read very naturally by an operator. One feature of the present invention is that the display contents are cycled so that after a certain display content is displayed running and disappears from the edge of the display section, the beginning of the same display content is displayed again. To obtain a display system in which the beginning of the same display content is not displayed until the content is shifted and completely disappears from the edge of a display part, and the display divisions are clear and there is no misreading. Another feature is that by providing a display method that can distinguish between normal display (so-called static display) and running display (dynamic display) depending on the type of display content, for example, data such as calculation results can be A normal (stationary) display is performed, and instruction displays such as calculation procedures are differentiated by shifting them at regular intervals, and even if the display 5 has the same content, the droop of the display can be differentiated depending on the display state. The goal is to be able to do this.・This method is particularly effective when used in scientific calculators, etc. Another feature is that the display content can be changed to the level of one loaded car, and the computer can be displayed in the Hart state (
If a so-called state in which the calculation is temporarily stopped until data is input at a step where data is input from an external device during execution of the program, the contents of the character indicating the next data to be input are displayed [7, Another object of the present invention is to provide a display system for a computer, etc., which has various functions that allow character contents to be varied depending on the internal state of the computer and to display calculation results for a certain period of time immediately before the display state. Further objects and advantages of the present invention will become apparent from the following description and the accompanying drawings. FIG. 1 is an external view showing an embodiment of a program computer equipped with the display system of the present invention, and FIG. 2 is a state diagram showing an example of the display state of the computer. In Fig. 1, 1 indicates the display section and 2 indicates the key manual section [7,
FIGS. 2(a) to 2(i) will be described with reference to 17 as an example of a case in which data to be input next is specified when a scientific calculator or the like enters the Hart state during calculation. Here, (a) is a normal display, rb) to (g) are display states at the time of display based on the display method of the present invention,
(b) is the display state of the first character of the instruction for the next data to be input, and after a certain period of time (for example, 0.5 seconds) it will be in the state of (c), and after the next 0.5 seconds, it will be in the state of (d). Become. In this way, the display contents shift at regular intervals, (b)-・fc)-
'(d)...(e)→(f)→...(g)-=
(h) → (i), and after all the displays disappear, the state changes to (b), and thereafter the display is repeated in the same way. FIG. 3 is a block diagram of an embodiment of a computer equipped with the display system of the present invention. In the figure, 3 is the key human power device, 4
is a central processing unit r (Cent-ral-Pr), which will be described later.
cessor-Unit) Hereinafter referred to as CPU. ” is a device that decodes and executes instructions. 5 is register S
A, galactage generator (CRG) decodes the output signal from SX; 6 indicates a 5×7 8-digit dot matrix type display; 7 indicates a digit selection signal; and 8 indicates a segment signal. FIG. 4 is a logic circuit diagram of an embodiment of a CPU device of a computer that executes the display method of the present invention;
Includes 4D diagram. FIG. 5 is a diagram illustrating a circuit equivalent to the CPU device of FIG. 4. The specific logic circuit configuration of the CPU will be described below. (Circuit configuration of CPU) The RAM is a random access memory chip. Input/output is performed in units of 4 bits, and desired digit content can be input/output by specifying a decid address and a file address. BL is the memory RAM digit address counter, DC. is the memory RAM digit address decoder, BM
is the memory RAM file address counter, DC2
is the memory RAM file address decoder, A D
l is an adder, which operates as a subtracter when the control command 0 is given, and as an adder when 0 is not given. A
D2 is an adder, G1 is an adder/subtractor AD, and is a gate for giving either the numerical value l or the operand IA to one input.When the control command ■ is given, it gives I, and when it is [phase], it gives ■. output. G2 is the input gate of the memory leap order address counter BL, and when it is [phase], it is the adder/subtractor A.
The output of D1 is the operand ■I when the time is ■, and the operand ■8 when it is 00. G3 is adder/subtractor A D 2
This is a gate for supplying either the numerical value l or the operand I to one input of the circuit. G4 is the input gate of memory file address BM,
When ■, the output of adder AD2 is used, and the r beat is the operand IA.
, when ■, the contents of accumulator ACC are output. G5 is the memo 'J-RAM file) V selection gate, DC3 is the decoding gate of operand IA, operand I
Decipher A and send the specified signal to gate G (desired memory via)
5. G6 is a memo! ] - RAM input gate, when control command ■ is given, operand decoder Dc
Manually write a binary number 1 to the desired bit of the memory specified by 3, and when it is ■, set the desired bit of the memory specified by DC3.
It has a built-in circuit that inputs a binary number 0 to the node, and also outputs the contents of the accumulator ACC at ■. ROM is lead
Only memory, PL is program counter,
Specify the desired input 7 of the read-only memory ROM. DC4ke IJ - Only Memory RO
M's step accelerator decoder, G7 is the read-only memory ROM output gate, and when the judge flip-flop (F/F) J is set, the ROM
The transmission of the output to the instruction decoder DC5 is cut off. DC5 is an instruction decoder,
It decodes the instruction code from the ROM, and the instruction code in the ROM is the operation code part I. and operand part IA. IB, the operation code is decoded, and one of control commands (1) to groan is generated in accordance with the operation code. It also has a built-in circuit that determines that the opcode is accompanied by an operand, and outputs the operand IA or IB as is at that time. AD3 is an adder that adds the value 1 to the contents of the program counter PL to count up. G8 is the input gate of the program counter PL, [phase]
When , the operand 4 is output, and when it is [phase], the contents of the program stack register SP are transmitted. The output of the adder AD3 is not transmitted during the processing of [phase], season, and the processing of [stock] for G39. Other than [phase], [phase], and 轡, the AD3 output is transmitted and 1 is automatically added to the contents of the program counter PL. FC is stack 5,
G9 is the input gate of flag F/FFC, when it is @, it is a binary number ■, and when it is 0, it is a binary number 0, respectively.
This is something that cannot be entered into C. GIO is a key signal generation gate, and when the flag F/FFc is in the reset state (0), the desired output of the memory digit address decoder DC is output as is, and when the flag //FFC is set state 1, it is output as is. D.C. Regardless of the output, (1) has a built-in circuit that sets the outputs of 1 to In all to 1 at the same time. ACC is an accumulator made up of 4 bits, and X is a temporary made up of 4 bits.
(temporary storage) register, G11 is the input gate of temporary register
When it is [phase], the contents of the stack register SX are transmitted. AD4 is an adder, and accumulator A
It is used to perform binary addition of the contents of the CC and other data. During binary addition, if a carry occurs in the addition of the fourth bit, the c4 output is set to 1. C is carry '/1;, G+2
is the carry input gate, and when the control command ■ occurs,
If the fourth bit carry C4 is 1, carry F/
It has a built-in circuit that inputs 1 to /FC and inputs 0 to C if C4 is 0. This is for inputting 1 to C when it is [phase], and CKO when it is [phase]. G13 is a carry C input gate for performing binary addition including carry in adder AD4, and when in [phase], carry F/FC is input.
The output of is transmitted to adder AD4. GI4 is the input gate of adder AD4, and when it is [phase], please note! The output of l-RAM is set to the operand IA when it is [phase].
Communicate. F is an output buffer register consisting of 4 bits, and GI5 is an input gate of the output buffer register F, which transmits the contents of the accumulator ACC and inputs it to F at the time of [phase]. SD is an output decoder for decoding the contents of the output buffer register F and converting it into display segment signals SS1 to SSn. W is an output buffer register, and SHC is for shifting all bit contents of the output buffer register W by 1 bit to the right at the same time, and operates when qyu or [phase] occurs. This is a shift circuit for the output buffer register W. G16 is the input gate of the output buffer register W, which inputs 1 to the first bit of W when it is [phase], and inputs 0 to the first bit of W when it is [phase].
It is for inputting 1 or 0 to the first bit of W, and immediately before inputting 1 or 0 to the first bit of W, the output buffer shift circuit 5I
(Assume that C operates and is input after shifting. N, is the output control flag '/p
, G+ytj: Output con) o-/l/7lag F/
At the input gate of FNP, input 1 when it is [present], and input 0 when it is [phase]. G11l is buffer register W
At the output control gate of , only when the flag F//FN is set (1), the output of each bit of W,
This is to output power all at once. j' is the sheet switch, v1 to Iv are the inverter circuits, 019 is the input gate of the judge F/FJ, and the input KN is
, to transmit the status of , to J. However, since it is via inverter IV, when KN = 0, J =
It becomes 1. G20 is the input gate of judge F/FJ,
At [phase], the state of input KN2 is transmitted to J. Ta! However, since it is passed through inverter IV2, J=1 when KN2=0. G21 is the input gate of judge F/FJ, and is used to transmit the state of input K F 1 to J at [phase]. -fi-'i through inverter Iv3, so when KF+=O, KJ=1. ! :Become. G2□ is the input gate of Ja Shiji F4J, and when it is [phase], the input KF
This is for transmitting the status of 2 to J. Since it is passed through the inverter IV4, J=1 at KF2. G
23 is the input gate of judge F/FJ, and is for transmitting the state of input AK to J at the time of ・Yu. When AK=1, J=1. G24 is the input gate of judge /i-J, which is used to transmit the state of input TAB to J at the time of ■. When TAB=1, J=1. G25 is Ja-
This is a gate for setting F di/i-J, and is for inputting 1 to J when ■. vl is a comparison circuit that compares the contents of the memory digit address counter BL with predetermined data and generates an output of 1 if they match.
The circuit operates when [phase] or [present] is generated. The data to be compared is output from G26. G2
6 is a comparison value input gate to the comparison circuit v1, and the comparison value n,
corresponds to a specific address value on the high side that is often used for controlling the memory RAM. When it is [phase], nl is outputted to use as a comparison value, and when it is [present], n2 is outputted to be used as a comparison value. G2□ is the input gate of J7J F/FJ, and when the content of carry F/1l-C is 1 at the 6th time, 1 is input to J. DCs is a decoder for operand IA, and operand ■4
Decipher and take notes! It is used to judge whether the content of a desired bit in J-RAM is 1 or not. G2g is a gate that transmits the bit contents designated by the operand decoder DC6 of the memory RAM to the judge 4, and operates in [phase]. R
When the designated bit of AM is 1, J=1. v2
is a comparator circuit that judges whether the contents of accumulator AC'C' and the contents of operand I are equal, and generates an output of 1 when they are equal. ■It works when. A comparator circuit v3 judges whether the contents of the memory digit address counter BL and the contents of the operand IA are equal, and generates an output 1 when they are equal. Operates at [phase]. A comparison circuit v4 judges whether the contents of the accumulator ACC and the contents of the memory RAM are equal, and generates an output l when they are equal. G29 is a (f) transmission gate to judge F//FJ of addition fourth bit carrier C4, which transmits C1 to /, J in [phase]. J at C4
=1. FA is flag fritz flip lop, G31
is the input gate of the flag/FFA, which outputs 1 at this [phase] and 0 at 00. G32 is the input gate of judge l/FJ, and when flag F/, FA is 1, F/FJ
Add a cent (+) to F8 is a flag gate, and G33 is an input gate for flag l/FEB, which outputs 1 when it is [phase] and outputs 0 when it is [phase]. G34 is Judge F/F-
The input gate of J transmits the contents of flag/FEB to '/FJ. Operates when in [phase]. G35 is an input gate of judge/FJ, which transmits the contents of input B and operates according to [phase]. When B=1, J=1. G36 is an input gate of the accumulator ACC, which transmits the output of the adder AD4 when in [phase], and inverts and transmits the contents of the accumulator ACC by inverters IV and 5 when in [phase]. When it comes to [phase], take notes! J
-Transmit the contents of RAM, and when it is [phase], the operand IA
Communicate the content of When it is [phase], the contents of 4 bits 1 to 4 are transmitted to the input. At [phase], the contents of stack register SA are transmitted. IV5ij: Inverter circuit, SA is a stack register whose output is led out of the system. SX is a stack register whose output is led out of the system. G37 is an input gate of the stack register SA, which transmits the contents of the accumulator ACC in [phase]. 638 is the input gate of the stack register SX, which transmits the contents of the temporary register This is to introduce into the program stack register the contents of which are added by fv in adder AD3. An example of a control command generated based on an instruction code is shown in the table below. In the table, A: instruction code, B: instruction name, C: content, and D: CPU control command. Table 1 (C) Description I 5KIP Do not execute the next program step instruction, increment only the narogram counter PL, and essentially skip it.AD Add the contents of the accumulator ACC and the contents of the memory RAM in binary, and add the addition result to the accumulator ACC. ADC Accumulator ACC, memory *A+v. Kiya!J -F/p Add the contents of C in binary and input the addition result to accumulator ACC. 4 ADC5K Accumulator ACC, memory RAM. Kiya!J Add the contents of -F/11-C in binary and input the addition result to the accumulator ACC. If the fourth bit carry C4 occurs as a result of this addition, skip the next program step. 5 ADl Contents of the accumulator ACC and binary addition of operand Ij] 7. Input the addition result to accumulator ACC, and generate the fourth bit carry C4 with this addition result, thus skipping the next program step. DC Operand IA is 1010 (decimal number 10 ), A
Similar to the DI instruction, by adding the contents of the accumulator ACC and this operand IA in binary, the contents of the accumulator ACC are essentially added with a decimal number 10.
Input the result to ACC. 5C Carry F/FC Set C. (Input 1 to C.) 8 RC'□ Carry F/FC Reset C. (Input 0 to C.) 5M Deciphers the contents of operand IA and stores the desired bit in the memory specified by the operand. (Input 1.) 10 RM Decodes the contents of operand ■4 and resets the desired bit in the memory specified by the operand. (Input 0.) II COMA Inverts the contents of each bit of accumulator ACC and sets it to 15.
Take the complement of and input it to accumulator ACC. 12 Lr) 1 Introduce operand IA' into accumulator ACC. 3 L Memo! The contents of j-RAM are introduced into the accumulator ACC, and operand 4 is input into the file address counter BM. 4LI Loads the contents of the memory RAM into the accumulator ACC and inputs the operand IA into the memory file address counter BM. Furthermore, the memory digit address counter BL is increased. If the content of BL is equal to the predetermined value n1, the next program step is skipped. +5LD Memo! The contents of J-RAM are introduced into the accumulator ACC, and the operand ① is input into the memory file address counter BM. Furthermore, the memory digit address counter BL is decreased. However, when the content of BL is equal to the predetermined value n2, the next program step is skipped. 6 X Exchanges the contents of the memory RAM and the contents of the accumulator ACC, and inputs the operand It-memory file address counter A to BM. 7XI Exchanges the contents of the memory RAM and the contents of the accumulator ACC, and inputs the operan)-I to the memory file address counter BM. Furthermore, the memory digit address counter BL is incremented. However, when the contents of BL are equal to the predetermined value n1, the next program step is skipped. 18 Statement D Exchanges the contents of the memory RAM and the contents of the accumulator ACC, and inputs the operand It-memory file address counter BM. Furthermore, the memory digit address counter BL is decreased. However, when the content of BL is equal to the predetermined value n2, the next program step knob is skipped. 19 LBLI Operand ■ inputs memory digit address counter BLK. 0LB Operand IA to memory file address counter B
At the same time, the operand 8 is input to the memory digit address counter BL. 21 ABLI Add the contents of memory digit address counter BL and operand IA'f binary 17, and put the addition result in BL. However, (7) When the content of BL is equal to the predetermined value n1, the next program is skipped. 22 ABMI Adds the content of memory file address counter BM and operand IA in binary, and puts the ~ addition result into BM. 8 T Input the operand into the program counter PL. 24 5KC If the carry F/FC is 1, skip the next program step. 25 5KM Decode the contents of the operand and store the memory specified by the operand. If the desired focus is 1, skip the next program step. 26 5KBI Methyly digit address number BL Compares the contents of L with operand ■4, and if they are equal, skips the next program step. 27 8KAI Accumulator Compare the contents of ACC and operand IA, and if they are equal, skip the next program step. 28 5KAM Compare the contents of accumulator ACC with the contents of memory RAM 1-1' If they are equal, skip the next program step. 29 5KN. K N , When the input is 0, skip the next program step. 3Q 5KN2 K N 2 When the manual power is 0, skip the next program step. 81 5KF1 KF, When the input is 0, skip the next program step. 32 5KF2 When KF2 manual power is 0, skip the next program step. 38 5KAK When AK large input is 1, skip the next program step. 84 5KTAB When TAB input is 1, skip the next program step. Skip the next program step. 35 5KFA Flag E/FF When F 4 is 1, skip the next program step. 36 5KFB Flag F/FF When B is 1, skip the next program step. 7WIS 8WIR Shifts the contents of the output buffer register W to the right by 1 bit and inputs 1 to the first bit (most significant bit).8WIR Shifts the contents of the output buffer register W to the right by 1 bit and inputs 1 to the first bit (most significant bit ). 89 NFS Buffer register W output controller I Set F/PNP. (Input 1.) 40 NPR Reset buffer register W output controller IV F/FN. (Input 0 ) 41 ATF Outputs the contents of accumulator ACC.
Transfer to. 42 LXA The contents of accumulator ACC are transferred to temporary register
to be introduced. 48 XAX Contents of accumulator ACC and temporary register X
exchange the contents of 44 SFA Flag F, /1l-Sect FA. (Input l.) 45 RFA Flag F/F F BIr: Reset. (Input 0.) 46 5FB Set flag F4FB. (Input 1.) 47 RFB Reset flag F/, FB. (Input 0.) 48 5FC Set input test flag F/'FFc. (1
Enter. ) 49 RFC Reset input test flag F/FFc. (0
Enter. ) 50 5KB When input β is 1, skip the next program step. 51 KTA Input the contents of 1 to 4 into the accumulator ACC. 52 5TPO Transfers the contents of accumulator ACC to stack register SA and stores the contents of temporary register
Introduce it to X. 53 EXPO The contents of the accumulator ACC and the contents of the stack register SA are exchanged, and the contents of the tempo register X and the contents of the stack register SX are exchanged. 54 TML Transfers the contents of program counter PL plus 1 to program stack register SP. Furthermore, an operand IA is introduced into the program counter P. 5RIT Transfers the contents of the program stack register SP to the program counter P. Second, Table 2 shows the relationship between the opcodes and operands stored in the ROM (read only memory) in the CPU device. Table 2■. AD→0OOIOIIOQO ■. COMA→0001011+11 ↓ to DC. However, ■o=opcode■i■B: Oberando, for example, read-only memo-less ROM
For example, if the output of 10 bits is 10 bits, the instruction AD or COMA (see Table 1) will be output by the instruction decoder DC5, and the 10 bit code will be 0001011000 or 0001011111, respectively.
Deciphering that 1. A control command [phase], @ or [phase] is generated based on the judgment. On the other hand, 5KBI is determined by the fact that the upper 6 bits are 000110, and at this time, the lower 4 bits (0010) are treated as operand IA. Further L
B is determined by the fact that the upper 2 bits are 01, and at this time, the 3rd to 8th bits 001010 are treated as operand IA, and the 9th... 10th bit 11 is operand IB
treated as. An operand is a constituent part of an instruction word, and is a part that indicates data, an address where the next instruction is stored, etc., and can be called an address part of the instruction. Next, an example of the main processing operations of the above-mentioned CPU device (hereinafter referred to as a processing list) will be explained. (Processing list) (1) Note down the same number N! Insert it into the desired area of J-RAM. (NNN→X) (2) Introduce a plurality of different predetermined numerical values into a desired area of the memory. (NI+ N2+ N3...→X
)(3) Transfer the contents of the desired area of the memory to another desired area of the memory. (X-+Y) (4) Exchange the contents of a desired area of memory with the contents of another desired area of memory. (X-Y) (5) Predetermined numerical value N(a) f in the desired area of memory
The contents of other areas are added in decimal to the contents of the desired area of the i memory. (X±Y) '' (7) Shift the contents of the memory in the desired area by 1 digit. (X right, X left) (8) Set or reset the 1-bit conditioner #F/F in the desired area of the memory (Fset. Freset) (9) Judge the contents of the 1-bit conditional F/F in the desired area of memory, and change the next program address based on the judgment result. 0(i) The judge 12 determines whether the digit content is a predetermined value, and the judge 11 determines whether the contents of the plurality of digits in the desired area of the memory are all equal to the predetermined value. Change the program step based on the judgment result. a) Judge whether the contents of the desired area of memory are smaller than a predetermined value [7. Change the next program step based on the judgment result. Q:I Desired area of memory Judges whether the content of is larger than a predetermined value, and changes the next program step based on the judgment result. 0 → Displays the content of the desired area of memory. Qf9 Determines the type of suppressed key switch Next, a specific example of executing the above processes (1) to αυ based on the instruction code will be explained below according to the process list. (Specific example of process list) (Type I) Pl...・Specify the first digit to be processed in the memory using the file address mA and the decend address nE. P2... Introduce the numerical value N to ACC. P3... Exchange the contents of memory and ACC. Inserts the number N into the specified area of memory by .The file address in memory remains the same, so specify mA I7, and the digit address is down to determine the next digit to be introduced.Last digit to be introduced. By predetermining the value of nA as n2, the numerical value N is introduced into the entire desired area i, and when completed, BL=n
2, so skip the next P-4 and type
Finish processing 1. Pc... Specify program address k P 2 and select B
Repeat the LDI and XD processes until L=V. ■ PI: Specify the digit to be processed in the memory using file address mB and digit address nc. P2... Introduce the numerical value N to ACC. P3: Introduce the number N into the specified area of memory by exchanging the contents of memory and ACC. In this way, the Type 2 processing ends. The operand part of Xo is necessary for the subsequent processing and is not related to this processing. ■ Pl...--First file address mc to be processed in memory and digit address n. Specify with. P2... Introduce the numerical value N to ACC. P3...Introduce the number N into the specified area of memory by exchanging the contents of memory and ACC. The memory file address will not change, so specify me, and the digit address will be the next digit to be introduced.
Will be down to decide. P4...When checking whether the digit processed in P3 was the final digit nB, when it was n8,
Since the digit address has decreased to nA, when the operand part of the SKI instruction is set to nA, the number N is introduced to the final digit and the process proceeds to P4, the condition is not satisfied and the next address P5 is Skip and exit rypea. If the conditions are not satisfied, proceed to P5. P5... Set the program address to p2icm, and execute BL
Repeat the processing of P2 to P4 until = nA. ...→X) (Type) 4-digit numerical value N 4 N s N 2 N
An example of introducing + into memory is shown. (The same applies to the introduction of arbitrary digits) Pl...The first digit F to be processed in the memory is set to the file address mA and the digit address n.
Specify with H. Introduce a first constant N to Pl...ACC. P3...Introduce the numerical value N1 into the designated area of memory by exchanging the contents of memory and ACC. Since the memory file address does not change, mA is specified, and the digit address is updated to determine the next digit to be introduced. P4...Introduce a second constant N2 to ACC. Since the memory is designated as the second digit in the processing of P5...P3, the second constant N2 is introduced into the second digit of the memory by exchanging the contents of the memory and ACC. P6 to P, ... Process in the same way as above (TYI) e2
) When introducing any numerical value from 0 to 15 into a pre-filled register. Pi...Introduce a numerical value N to ACC. Pl...Introduces the numerical value N contained in ACC into register X. □ ■ PI-°°Specify the file address of the first memory to be heat-treated in mA12, and specify the first digit address to be processed in nH. Pl...The content of the desired digit in the first memory is A.
In addition to introducing it into the CC, in preparation for the transfer process at P3, the file address of the second memory of the transfer destination is specified in mB. P3...The contents of the first memory introduced into the ACC are P3.
The contents of the same digit in the second memory specified by l are exchanged to essentially transfer the contents of the first memory to the second memory. In order to repeat this process simultaneously, the original file address of the first memory is specified in mA. By predetermining the value of the final digit nA to be transferred as nl, BL=nl when all the contents of the first memory have been transferred to the second memory, so the next P4 is skipped and Typ.
e Finish the process of 1. BL=V, (last digit)
Upgrade the digit address one by one until 1. TeP
, the file address returned to Pl is set to mA, and the first memory is specified. Pc... is specified in the Glodarum address stealing step P2, and the transfer process is performed every 17.1 digits by repeating the commands P1 and P3 until BL=nl. Pl: Specify the memory area to be processed using file address mA and digit address n-c. P2...Contents of the memory area specified by PI-1A
cc, and specify the file address of the transfer destination memory with m in preparation for transfer processing in P4. P3: Specify the digit address of the transfer destination memory. The transfer destination memory area is specified in the processes P2 and P3. Pc...The contents of ACC are exchanged with the memory area designated by P2*P3, and are essentially transferred. The operands of X are directly related to this process.1. do not have. (Type 3) Pl: Specifies the memory area to be processed using file address mA and digit address nc. P2... AC the contents of the memory area specified by Pl.
Introduce it to C. P3: The contents of the memory introduced into ACC are introduced into register X, and desired Type 8 transfer processing is executed. Pl... File at the first memory to be processed,
The address to be processed is specified by mA, and the first digit address to be processed is specified by nE. P2...The content of the desired digit in the first memory is A.
In addition to introducing it into the CC, the file address of the second memory is specified in mB in preparation for the exchange process with the second memory in step 11''P3.P3...The first memory in the ACC Exchange the contents of the desired digit in the memory with the contents of the same digit in the second memory specified by P2, and introduce the contents of the second memory transferred to AC'C in this process into the first memory. In order to do this, specify the file address of the first memory in mA.P4...The contents of the second memory introduced in the ACC,
The contents of the first memory of the same digit are exchanged, and the second
Transfer the contents of the memory to the first memory. P2~P4
In this process, contents are exchanged between desired digits in the memory. The designation of the first memory is continued by designating the file address mA, the digit address is increased, the next digit address is designated, and the exchange is performed for each digit in sequence. The final digit n to be exchanged
By predetermining the value of A as nl, B1=nl when the contents of the first memory and the second memory have been exchanged over all digits, so the next P5 is skipped, Type 1 processing ends. P5...Specify the program address to P2, B. Repeat commands P2 to P4 until = n1 1-11
The exchange process proceeds digit by digit.
Pl...Specify the file address of the first memory to be processed in mA, and specify the decind address to be processed in n.
Specify with. P2...The contents of the desired digit 7 of the first memory are A.
At the same time as introducing it into the CC, specifying the file address m of the second memory, and preparing for content conversion. P3... Digit address n of the second memory of the transfer destination. 12, and determine the memory address of the replacement destination. P4...^Convert the contents of the first memory stored in C6C and the contents of the second i memory. At this time, A specifies the file address of the first memory again with m8 in order to transfer the contents of the second memory to the first memory to be transferred to the CC. P5: Specify the digit address nc of the first memory and determine the first memory address of the transfer destination. P6... Executes the exchange of the contents of the second memory contained in the ACC and the contents of the first memory δ (Type 3
) ■ P, ... Specify the file address of the first memory to be processed in mA, and the digit address to be processed in n.
Specify with. P2: Introduces the contents of the first memory into the ACC, and specifies the exchange destination using the file address mc of the second memory. P3...Exchanges the contents of the first memory of ACC and the contents of the second memory designated by %P2, and introduces the contents of the first memory into the second memory. In preparation for processing in P4, the first memory is designated again with the file address mB. P4...by exchanging the contents of the second memory introduced into the ACC with the contents of the first memory. The contents of the first memory and the second memory are exchanged. ■ Pl... File at address the memory area to be processed. P2...Contents of memory specified by PI'zAc
c. The file address mB is maintained for exchange with the contents of register X. P3... Exchange the contents of the memory in ACC with the contents of register X (7. Transfer the contents of memory to register X. P4... Exchange the contents of register X in ACC with memory By doing this, the contents of register P2...Introduce the contents of the memory specified by Pl into ACC.Specify mB as the memory file address in order to return to the same memory later.b...Numeric value to be added by operand Specify N 1-1A
Add the contents of the memory introduced in the CC and the numerical value N12,
The results will be requested from ACC. P4...Specify the sum found in ACC with P2

【7たも
とのメモリーの内容とを交換し、Type 1を実行す
る。 (TYpe 2 )X +−N→X ■ P、・・・レジスタXの内容とACCの内容を交換する
。 P2・・・オペランドで加算すべき数値Nを指定1−1
ACCに導入されたレジスタXの内容と数値N′fr加
算し、ナの結果をACCに求める。 P3・・・ACCに求められた和とレジスタXの内容を
交換することによって実質的にX+−N→XなるTyp
e 2を実行する。 (Type 3)M+ +N=Mz ワ ■ Pl・・・第1メモリーの処理すべき領域をファイルア
ドレスmBとディジットアドレスncで指定する。 P2・・・Pl で指定されたメモリーの内容をACC
に導入するニメモリーファイルアドレスの指定は加算結
果を第2メモリーに戻すため第2メモリーのファイルア
ドレスm を指定しておく。 P3・・・オペランドで加算すべき数値Nを指定し、A
CCに導入されたメモリーの内容を数値Nと加算し、そ
の結果をACCに求める。 P、・・・ACCに求められた和をP2で指定した第2
のメモリーの内容と変換し、Type8を実行する。 (Type 4 ) Ml−N→M+ Pl・・・処理スべきメモリーのファイルアドレスmB
とディジットアドレスnCを指定する。 P2・・・減算は減数の補数を被減数に加える方式で、
F位桁がないのでボローがなくF/FCをセットしてお
く。 P3・・・ACCに減数Nを導入する。 Pc・・減数の15の補数をとるための処理で、補数が
ACCに求まる。 P5・・・減算は下位桁からのボローがなければ、減数
の16の補数と被減算を加算する処理で置換される。ボ
ローのない状態をC=tとし、ACC4−C+M→AC
CKて純2進の減算が実行される。 P6・・・P5で求まった差を同じメモリーに戻すため
ACCとメモリーを交換する。 (TYpe 5 ) M+  N ’M2   ゛P6
・・・P、で求まった差を第2メモリーに導入するため
、第2メモリーのファイルアドレスm とディジットア
ドレスncを指定する。 P7・・・P6で指定された第2メモリーにACCに求
まっている差データを交換によって転送する。 (Type 6 ) ワ Pl・・・P5での一時待避メモリーのアドレスをファ
イルアドレスmB とディジットアドレスn(で指定す
る。 P2・・・減算は減数の補数を被呼数に加える方式で、
下位桁がないのでポローがな(F、11−Cをセットし
ておく。 P3・・・ACCに減数Nを導入する。 P、・・・減数の15の補数をとるための処理で、補数
がACCに求まる。 P5・・・レジスタXの内容との演算に備え、Plで指
示したメモリーVcAccの内容を導入する。 P6・・・レジスタXの内容をACCとの交換にて転送
する。この処理を終えるとメモリーには減数の15の補
数、ACCにはXの内容が入っている。 Pl・・・ACC)Ml−CはX−Hに相当する処理で
2進の実質的な減算結果がACCに求まる。 P8・・・ACCの内容とXの内容を交換し、X−Nの
値をXに転送し、Type6の処理を終える。 (Type 7 )N−Ml  −1八(1■ PI・・:処理”すべきメモリーのファイルアドレスm
Bとディジットアドレスne t−指定する。 P2・・・1゛デイジツトの減算であり、減数の補数を
被減数に加える方式なので°F4 Cf セ。 トしておく P3・・・ACCに被減数を導入する。 P4・・・メモリーの内容(減数)とACCを交換し、
又P7の処理に備え、メモリーファイ“ルアドレスはm
Bのままとしておく。 P5・・・ACCの減数の15の補数をとるための処理
で補数かへCCに求まる。 P6・・・減算はr位桁からのポローがなければ、減数
の16の補数と被減数を加算する処理で置換される。ポ
ローのない状態をC=1とし、ACC+−C)Mにて実
質的にN−Mを行い、ACCにその差を求める。 Pl・・・P4でメモリーファイルアドレスはそのまま
mHになっているのでACCの差かもとのメモリーに入
り、Type7を実行し終える。 (Type8)N−Ml →M2 Pl・・・処理スヘキメモリーのファイルアドレスmB
とディシンドアドレスncを指定する。 Pl・・・Pl で指定しれ減数に相当する内容をAC
Cに導入する。P5の処理に備え第2メモリーのファイ
ルアドレスm を指定しておく。 P3・・・ACCの減数の15の補数をとるための処理
で補数がACCに求まる。 Pl・・・オペランドの内容は被減数に1を加えたもの
に設定しておく。これはこの減算が1ディジット分のも
のであり、減数の補数と岐減数を加算する処理で置換さ
れる。ボローのない状態での一般的な補数加算はTyp
e7の如<ACC+C+Mであり、C=1として処理さ
れる。ADI命令ではCがないので、あらかじめACC
+−1を行って処理をする。これによってN−MのTy
pe8の減算結果がACCに求まる。 P5・・・Plで求められた差データをPlで指定1゜
た第2メモリーに転送する。 (Type9)M計1−M P、・・・(M+−1の時)ACCに2進数0001(
−1)を導入する。 p、・・・(M−1の時)ACCに2進数1111(=
15)を導入する。 Pl・・・処理スべきメモリーのファイルアドレスm8
とディジットアドレスnc を指定する。 P3・・・Plで指定されたメモリーの内容とPl 又
はP、でACCの導入された内容を加算し、ACCに和
を導入する。Plの場合はACC十1になり、Pl の
場合は実質的にACC−1になる。 Pl・・・ACCに求められた結果をもとめメモリーは
転送LType9を終える。 (Type l )X+W−”X PI・・・処理すべき第1のメモリーの第1デイジツト
をファイルアドレスmAとディジットアドレスnHで指
定する。 Pl・・・第1デイジツトの加算の際、下位桁からの桁
上げ処理はないため桁上F子Cをリセットしておく。 P3・・・第1メモリーの所望ディジットの内容をAC
Cに導入すると共に、Pl での第2メモリーの内容と
の加算に備えて、ファイルアドレスに第2メモリーのm
Bに指定しておく。 Pl・・・ACCに導入した第1メモリーの所望ディジ
ットの内容に6を加え、P5での加算時の次桁へのlO
進進上上有無判断のために用いる。 P5・・・Pl f第1 メモリーに6補正したものが
ACCに求められていて、このACCの内容とP3で指
定した第2メモリーの同一ディジットの内容とを純2進
加算し、再びACCに導入する。この純2進加算の第4
ビツト目の加算で桁りが出た場合、P6をスキップして
P7へ進む。第4ビツト目の加算で桁上が出ることは、
1o進桁上があったことを意味する。 P6・・・P5の加算で10進桁トが出なかった時、P
、で加算した6をこのステップで減じてもとの値に戻す
。10の加算は6の減算と同じである。 Pl・・・ACCに求まっている1o進の1桁分の和を
第2メモリーに交換によって転送すると共に、次桁の加
算に備え、ディジ7トアドレスをアップさせ、さらに第
1メモリーをファイルアドレスmAで指定1.でおく。 加算すべき最終ディジットをあらかじめnlとして決め
ておくことによって、第1メモリーと第2メモリーの全
ディジ7トの加算を終えた状態でB L = nl  
となるため、次のP8をスキップしてType 1の処
理を終える。 P8・・・プログラムアドレスP3を指定して、BL−
nl になるまでP3〜P7の命令をくり返し、1デイ
ジツト毎、10進加算を進めてゆく。 (Type 2 ) X −W−+X Pl−・・処理すべき第1のメモリーの第1デイジツト
をファイルアドレスmAとディジットアドレスnEで指
定する。 P2・・・減算は減数の補数を被減数に加える方式で、
第1デイジツトの減算では下位桁からのポローの処理が
ない′ため、F4Cをセットしておく。 P3・・・第1メモリーの所望ディジットの減数となる
内容をACCに導入すると共に、P5 +P7 での第
2のメモリーとの処理に備えて第2メモリファイルアド
レスmBを指定しておく。 P4・・・減数の15の補数をとるための処理である。 15の補数がACCに求められる。 P5・・・減算は下位桁からのポローがなければ、減数
の16の補数と被減数を加算する処理で置換され、F位
桁からのポローがあれば減数の15の補数と被減数との
加算で置換される。ポローのない状態をC=1とし、A
CC+−C+−M−+ACCにて純2准の減算が実行さ
れる。このADC8Kの命令実行結果キャリーが出るこ
とは減算にてポローが出なかったことを意味するので、
P6をスキップしてP7へ進む。なお、ここでの加算は
P3で指定した第2のメモリーとの間で行われるので実
質的に一第2メモリー、第1メモリーとなる。 P6・・・P5のADC5K命令でキャリイが出なかっ
た場合、結果は16進数で求まっているため6を減じる
(10を加えるのと同“等)ことによって10進数に戻
す。 P7・・・ACCに求まった第2メモリーと第1メモリ
ーの差を第2メモリーの内容との交換によって転送する
。次桁の減算に備え、ディジットアドレスをアップさせ
、さらに第1メモリーをファイルアドレスmAで指定し
ておく。減算すべき最終ディジットああらかじめnl 
 として決めておくことによって、第2メ−v:リ−と
第1メモリーの減算を全ディジットにわたって終えた状
態でBL = nlとなるため、次のP8をスキップし
てType2の処理を終える。 P8・・・プログラムアドレスP3を指定してBL=n
、になるまでP3〜P7の命令をくり返し、1ディジッ
ト毎、10進減算を進めてゆく。 フトする。 (Typel)右シフト P、・・・s理−tべきメモリーのファイルアドレスm
 とディジットアドレスnAを指定する。 P2・・・QをACCに導入し、右シフトした時、最、
上位ディジットに0を入れるための準備を。 する。 P3・・・ACCとメモリーの内容を交換すると共にデ
ィジットアドレスをダウンさせ、lディジット1位を指
定する。メモリーファイルアドレスはmAで変えない。 次のP4 を介して再びP3に戻るのでXDのくり返し
−を意味する。P2でACCに入れた0は最初のACC
−Mにてメモリーの最上位ディジットに入り、もとの最
上位ディジットにあった内容はACCに入る。P3 で
ディジットアドレスがダウンされ、P4を介してP3に
戻ってXDを実行1.た時、最上位より1ディジット下
位が指定されているので、ACCに入っているもとの最
上位ディジットの内容がlディジyトF位に転送される
。 この時ACCには最上位より1ディジットF位の内容が
転送されている。最下位ディジットをあらかじめn2と
決めておくことによって、上記転送を最下位ディジット
までくり返すと、BL=n2が満足し、P。 をスキップして終える。すなわち1デイジツト毎の内容
がF位ディジットに転送され、TYpe 1を実行する
。 P4・・・BL=Vになる捷でP、のXDをくり返すた
めP3に戻る。 (Type 2 )左シフト Pl・・・処理スヘキメモリーのファイルアドレスm 
と@r位ディジットnEを指定する。 P2・・・0をACCに導入し、左シフトしまた時、最
下位ディジットに0を入れる準備をする。 P3・−’・A CCとメモリーの内容を交換するとJ
(に、ディジットアドレスをアップさせ、lディジット
上位を指定する。メモリーファイルアドレスはm で変
えない。次のP4 を介して再びP3に戻るのでXIの
くり返しを意味する。P2でACCに入れた0は最初の
ACC−Mでメモリーの最下位ディジットに入り、もと
の最下位ディジットにあった内容はACCに入る。P3
でディジットアドレスがアップされ、P4を介してr”
3−に戻ってXIを実行した時、最下位より1ディジッ
ト−F位が指定されているので、ACCに入っているも
との最下位ディジットの内容が1ディジットH位に転送
される。この時ACCには最下位より1ディジット上位
の内容が転送されている。最上位ディジットをあらかじ
めnl  と決めておくことによって上記転送を最上位
ディジ7)までくり返すとBL=nlが満足し、P4を
スキップして終える。すなわち1デイジツト毎、内容が
上位ディジ7)に転送され、Type2を実行する。 P4・・・BL=VになるまでP3のXIをくり返すた
めにP3に戻る。 (Type ]  ) ワ ■ P、・・・メモリーの処理すべき領域のディジy)をフ
ァイルアドレスmBとディジットアドレスncで指定す
る。 P2・・・Pl で指定されたメモリーのディジットの
中の所望ピッ)Nに対して1を導入し、Type Iを
実行する。 (”Type2 ) P、・・・メモリーの処理すべき領域のディジットをフ
ァイルアドレスmBとディジットアドレスncで指定す
る。 P2・・・Plで指定されたメモリーのディジットの中
の所望ピッ)NK対して0を導入[2、Type 2を
実行する。 える。 (Type 1 ) ワ ■ Pl・・・所望のコンデイショナルF/、の1ピントの
存在するファイルアドレスmBとディジ・ストアドレス
n を指定する。 P2・・・P、で指定したメモリーの領域の中でNで指
定するビット(所望のコンディショナルF4に対応)の
内容が1の場合はPlをスキップしてP4に進みオペレ
ーションOP。 を実行する。もし所望ビットの内容が00場合は、次の
ステップP3に進む。 P、・・・P2でのジャッジでコンディショナルF/F
が0の蒔、オペレーションOP2 を実行するため、プ
ログラムステyプをP。K指定する。 ■ P、・・・ジャッジすべき内容が入っているメモリーの
領域をファイルアドレス町とディジ゛7−トアドレスn
 で指定する。 P2・・・Plで指定したメモリーの内容をACCに導
入する。 P3・・・ACCの内容とあらかじめ定められた数値N
とを比較し、等しい時はP4をスキップしてP5へ進み
、オペレーションOP rを実行する。もし、ACCの
内容とNが等しくない時ばP、に進む。 P、・・・プログラムアドレス(ステップ)Pnを指定
し、Pnヘジャンプする。PnにてオペレジコンOP、
を実行する。 Pl・・・ジャッジすべきメモリーの領域をファイルア
ドレスmBで指定し、第1のディジ7トアドレスをnE
 で指定する。 P2・・・比較したい数値NをACCに導入する。 P3・・・ACCの比較値Nとメモリーの所望領域の所
望デイジッ)4の内容を比較11、一致している時は続
くディジットの比較をするためにP4をスキップしてP
5へ進む。一致しなかった時はP、に進む。 P、・・・P3で不一致の時はすぐオペレジコン/を実
行するためプログラムアドレス(ステップ)をPnに指
定しジャンプさせる。 P5・・・ディジットアドレスに1を加えることによっ
てディジットアドレスをアップさせる。 この処理はメモリーの複数ディジ7ツトを順次ジャッジ
していくためのもの。ジャ7ジしてゆくメモリーの最終
ディジットアドレスをあらかじめ(V)として決めてお
くことによって、上記比較を所望ディジット間くり返す
。もし途中で不一致状!!13になればP4を経てオペ
レーションoP2を実行するが、BL=Vになるまで一
致し7続けた場合にはP6  をスキップしてP7へ進
み、オペレーションop、を実行する。 P7・・・P5にて一致が続く時、P3に戻ってジャッ
ジをくり返す。 を変える。 Pl・・・ジャッジすべきメモリーのファイルアドレス
m8とディジットアドレスn、を指定する。 P2・・・Plで指定したメモリーの内容をACCに導
入する。 P3・・・メモリーの内容と比較すべき数値をNとする
と、16−Nなる数値をオペランドで指定し、その内容
とACCのメモリー内容を加算しACCに求める。この
加算において第4ビツトキヤリーが出るということは2
進加算結果が16を越えたことを意味する。 つまりM+(16−、N’)> 16であったわけで、
これはM>NでなかったわけでP4に進む。 P、・・−VANでない時、このスデンブでプログラム
アドレスをPnに指定してジャンプ°(7、Pnでオペ
レーションOP2を実行させる。 (ステップ)を変える。 ■ Pl・・・ジャッジすべきメモリーのファイルアドレス
mBとディジットアドレスncヲ指定する。 P2・・・Pl で指定したメモリーの内容をACCに
導入する。 P3・・・メモリーの内容と比較する数値をNとする3
15−Nなる数値をオペランドで指定し、その内容とA
CCのメモリー内容を加算しACCに求める。この加算
で第4ビツトにキャリーが出るということは2進加算結
果が16を越えたことを意味する。つまりM+−(15
−N)>16であったわけで、これはM > N’+−
1、すなわちM>Nである。 この場合、本命令はP、をスキップしてP5に進んでオ
ペレーションOP、を実行する。 もしキャリーが出なければMANでないわけでP、に進
む。 P、・・・M)Nでない時、このステップでプログラム
アドレス(ステップ)をPnに指定してジャンプし、P
nでオペレーションOP2を実行させる。 Q41  メモリーの所望領域の内容を表示する。 (Type 1  ) Pl・・・表示体を時分割表示させるための桁選択信号
を発生させるバッファレジスタWの全内容をリセットす
るためにWのピント数n1をACCに入力する。 P2・・・レジスタWの全内容を1ビツト右シフト後、
第1ビツトに0を入力する。P3でC4−1になるまで
P4を介しでこれをくり返すことによってWの全内容を
リセットする。 P3・・・オペランドIAを1111にすることによっ
てAC÷1111がなされ、実質的にACC−1を行う
。PlでA CCK n 1 を入れているのでこの回
数くり返すことによってACC=0となった次の111
1との加算の時のみ第4ビットキャ!J−C47310
になるのでこの時のみP、へ進み、それ以外はP5ヘス
キッデする。 P4・・・AC+1111にて第4ビットキャリーC4
−〇の時はWの全内容を0に[7’(ということで前処
理を終え、メモリーの表示ステップの第1アドレスP6
をジャンプする。 P5・・・ACC七1111にて第4ビットキャリーC
4−1の時はまだWの全内容を0にする処理を終えてい
ないのでP2に戻り、Wへの0人力をくり返す、 P6・・・表示すべき内容の入っているメモリー領域の
第1位桁をファイルアドレスmAとディジットアドレス
nAで指定する。 P7・・・表示用桁醒択信号を発生させるレジスタWの
内容fr1ビット右シフトさせた後、第1ビツトに1を
入れる。これにて第1桁表示体への桁選択信号供給に備
える。 Pa・・・指定盗れたメモリーの所望領域め内容をAC
Cに入力する。メモリーファイルアドレスは変えずmA
である。又次桁処理に備え、ディシンドアドレスをダウ
ンさせておく。 P9・・・ACCに入っているメモリーの内容を出カバ
ッ、ファレジスタFに転送する。レジスタ゛Fの内容は
セグメントデコーダSDに入力され、セグメント表示用
信号を発生させる。 PIQ・・・レジスタWの内容を外部に表示信号と1.
で出力するためコンディショナルF/FNPに1を入れ
、セット状態にする。これにて第1桁の表示体でP、で
処理したメモリー内容を表示する。 Pl+・・・1桁分の表示時間を決めるためのカウント
初期値n2をACCに入力する。 P1□・・・P3 と同じ様に実質的にACC−1を宥
う。 ACCがOになった時はPI3へ、ACCの内容がOで
ない時(c4=1の時)は−Pl4へスキップしてこの
処理をくり返す。 PI3・・・所望表示時間をP1□のACCの内容カウ
ントで処理し、カウントを終了すると、ph3を介して
Pl5へジャンプ量る。このカウント時間が1桁表示時
間になる。 Pl4・・・所望表示時間が経過する捷ではP1□から
Pl3をスキップしてPl4に進み、再びPl2にジャ
ンプ1〜、これをくり返す。 Pl5・・・NPをリセットし、表示体への桁選択信号
の供給をストップする。次にPIOで再びNPがセット
されるまでは表示の隣接桁信号による重なり表示防ロー
に適用される。 Pl6・・・次桁の表示に備え、VジスタWを1ビツト
右シフトすると共・に第1ビツトに0を入れ、実質的に
1ビットF位桁にP7で入力した】をシフ) L、次桁
選択に備える。 Plr・・表示すべきメモリーの最終ディジットを終え
たかどうかのチェックで、Paの処理でBL−1がなさ
れているので、最終ディジ・ノド−1の値nEになった
かどうかをチェックする。 Pl8・・・最終ディジットが到来していない時はPa
に戻り、次桁の表示処理をする。 Pl9・・・例えば、フラッグF/F、FAを表示の終
了条件とす、れば、FA=lでP2Oをスキップ17て
一連の表示処理を終える。 P2O・・・PIQでFA−0ならば再び@1ディジ・
7ト痣・ら0表示処理をくり返すべくPa にジャン′
プする。 (Type 2 ) Pl・・・表示体を時分割表示させるための桁選択信号
を発生させるバクファレジスタWの全内容をリセットす
るために、Wのビット数n1. をACCに入力する。 P2・・・レジスタWの全内容を1ビツト右シフト後、
第1ビツトに0全入力する。P3 でc、−iになるま
でP4 f:介してこれをくり返すことによってWの全
内容をリセ、l−する。 P3・・・オペランドIAを1111とすることによっ
てAC)+111がなされ、実質的にACC−J’?行
う。P 、 テA CCK n + を入れているので
この回数〈り返はことによってACC=0になった次の
1111との加算の時のみ第4ビア)キヤIJ−C4が
0になるので、この時のみP4へ進み、それ以外はP5
ヘスキッデする。 P4・・・ACC++ 111にて第4ビットキャリー
C,=Qの時は、Wの全内容を0にしたということで前
処理を終え、メモリーの表示ス゛デツプの第1アドレス
P6ヘジヤンプする。 P5・・・ACC+1111にて第4ビットキャリーC
1−1の時は、まだWの全内容を0にする処理を終えて
いないのでP2 に戻り、Wへの0人力をくり返す。 P6−・・表示すべき内容の入っているメモリー領域の
第1位桁の上位4ビツトをファイルアドレスmAとディ
ジットアドレスnAで指定する。 P7・・・指定されたメモリーの所望領域の内容をAC
Cに入力する。メモリーファイルアドレスは変えずmA
である。又ディジットアドレスをダウンさせ下位4ビツ
トを指定する。 P8・・・ACCの内容、すなわち上位4ビツトをテン
ポラリ−レジスタXに転送する。 P、・・・指定されたメモリーの所望領域の内容をAC
Cに入力する。メモリーファイルアドレスは変えずmA
である。又ディジットアドレスをダウンさせ、次桁の上
位4ビツトを指定する。 PIG・・・ACCの内容をスタックレジスタSAに、
テンポラリ−レジスタXの内容をスタックレジスタsx
に導入する。 po・・・表示用桁選択信号を発生させるレジスタWの
内容を1ビツト右シフトさせた後、第1ビツトに1を入
れる。これにて第1桁選択信号供給に備える。 PI2・・・レジスタWの内容を外部に表示信号と1.
で出力するためのコンディショナ)v F/FN Pに
1を入れセット状態にする。これにて第1桁の表示体で
PIGで処理したメモリ内容を表示する。 PI3・・・1桁分の表示時間を決めるだめのカウント
初期値n2をACCに入力する。 PI3・・・P3と同じ様に実質的にACC−1を行う
。 ACCが0になったときはPI3へ、ACC〜0の時(
C4=1の時)けPlgへスキ7プしてこの処理をくり
返す。 P訃・・所望表示時間をP、4 のACCの内容カラ・
ントで処理17、カウントを終了すると、PI3を介し
てP17ヘジヤンプする。このカウント時間が1桁表示
時間になる。 Plg・・・所望表示時間が経過するもでは、PI4か
らPlgをスキップしてPlgへ進み、再びPI3にジ
ャンプE2、これをくり返す。 PI7・・・N、をリセットし、表示体への桁選択信号
の供給をストップする。次にPIOで再びN、がセント
されるまでは表示の隣接桁信号により重なり表示防止に
摘要される。 Plg・・・次桁の表示に備え、レジスタWをtビット
右シフトすると共に第1ビツトに0を入れ、実質的に1
ビツト下位桁にP7で入力した1をシフトする。 PIG・・・表示すべきメモリーの最終ディジットを終
えたかどうかのチェックで、P9の処理でB、−1がな
されているので最終ディジット−1の値rrEVCなっ
たかチェック子る。 P2O・・・最終ディジットが到来していない時はP7
に戻り、次桁の表示処理をする。 ζIυ 抑圧されたキースイッチの種類を判別するto
 P、□ P1〜pH+・・・(141で説1明した表示熱伸であ
る。 PI9・・・レジスタWの全ディジットの内容を表示後
、フラングF/F F Cをセットし、キー信号I、〜
1.を全て1にする。 P2O・・・キー人力KN+ に接続されているキ一群
のいずれかが押されていればPB。ヘジャンプする。 P22〜P27・・・キー人力KN2〜KF2の各々に
対して、接続されているキ一群のいずれがが押されたか
どうかをジャッジし、押されて論なければ次のステップ
をスキップ1.でゆく。押されていればP30ヘジャン
プする。 P28・・・いずれのキーも押されていない場合で、F
4−FCをリセットし2、キー抑圧チェ7りを終える。 P2O・・・P6ヘジヤンプして再び表示を続ける。 PB。・・・キーが押圧された時にくるステップで、第
1のキーストローブ信号I0発生のためにメモリーディ
ジットアドレスを第1状態nl にする。 PI3・・・キー人力KN、に第1キーストロ−ブイr
ii号■1 が入力されたかどうかジャッジ1.、入力
されていなければP33ヘスキップする。 P32・・・キー人力KN1ρ第1キーストローブ信号
■1が入力された時で、キーの種類が判別され、PAに
ジャンプして、この判別されたキーに対応した制御を以
F行わせる。 そしてそのキー制御を終R1た後1riP 、へ直接ジ
ャンプして表示を開始させる。(Pz’d、 P l 
ヘジャンプさせるためのステップ例)P33〜Pss・
・・第1キーストローブ信号1.に接続されているキー
を順次判別、所望キーが押圧されていればPB−PDヘ
ジャンプしてそのキーに対応【7た制御をする。 P3O・・・第1キーストローブ信号I、に接続されて
いるキーが押されなかった時で、第2のキーストローブ
信号発生のためにメモリーディジットアドレスをアップ
大せる。 P41〜・・・所望のキーストローブ信号を発生させる
と共に、KN、〜KF2を順次ジャッジし、押Ffされ
たキーの種類を判別【−1押圧されたキーに対する制#
全するために所望ステップにジャンプする。 PA〜・・・第1のキーに対する制御ヌデッデPx・・
・第1のキー制御完了後P1に戻り表示を再開する。 以上がCPU装置の主な処理中布の説明である。 次に本発明の表示方式を実行1−得る計算機の表示動作
の一例を第6図のフローチャート図に基づいて説明する
。 図に於て、nl けオペレータによってプログラムされ
た演算を実行するステップである。n2はハルト状態と
なったかどうかを判別するステップであり、ハルト状態
でなければnl  n2を繰返し演算を実行する。こ−
でへlレト状態とはプログラムの実行途中で外部からデ
ータを入れるステップでデータが入力されるまで演算を
一時停止している状態である。へルト状態となれば、n
2→n3と進み、ある−宗の数値N1 をカウンタCO
に入力する。カウンタCOはRAMの一部で構成される
。 そしてステップn4でその時の演算結果(途中結果)5
の内容MXを表示する。n5でカウンタc。 の内容が0であるかどうかを判宇し、CON0であれば
ステップn6へ進み、カウンタcoの内容から1を差引
く。即ち、n4→n5→n6→n4→n5→・・・をN
++1回繰返12、一定時間MXを表示する。(例えば
、5秒間)その後カウンタcoの内容が0になればn5
→n7と進み、カウンタRK:1を加算する。カウンタ
RはRAMの一部で構唆される。 なお、予めカウンタRはリセットされていて「Ofであ
るものとする。Rはハルト状態の回収を記憶する。次に
n8ではサプレスコードcSがキャラクタメモリーMC
に入力される。キャラクタメモリーM C1dRA M
の一領域のレジスタであり、一つの文字は8ビツトのコ
ードとして記憶される。又サグレスコードC5社表示部
に何も表示させない為のコードであり、例えば111.
1111ビとする。ステップn、でキャラクタメモリー
MCの電相目に「テ°jのコードを記憶する。nl(l
でROMのプログラムカウンタPLの内容に1を加えた
ものを10グラムスタツクレジスタSPに記憶される。 (インストラクションコード454参照)これは後述す
るリターン命令RIT(インストラクションコード&5
5参照)で帰り先を指定するためのものである。次にス
テップn1゜→n26と進み、一定の数値N2をROM
内のカウンタCOに入力する。n27でキャラクタメモ
リーMCの内容を表示する。12gでカウンタCOの内
容が0になったかどうかを判断し、CON2であればス
テップ129へ進み、カウンタCOの内容から1減算す
る。130でキー人力があったかどうかを判断し、キー
が操作されていなければn3o−+n27と進むO即ち
n27″n28″n211″n30″n27をN2+−
1回繰返し一定時間表示する。一定時間表示後、n21
1→n31と進み、キャラクタメモリーMCの内容が表
示の電相公人シフトされる。ステップn32でコンディ
ショナルF/FA(RAMの一部)カセット状態かりセ
ット状態かを判断する。F/FAは指示データが全てキ
ャラクタメモリーMCに記tl[された後に135 で
セントされるものであり、−データ(第2図(b)〜(
f))の表示が終了したか否かを判断する。 今の場合、F/FAがリセット状態であるためn32→
n33と進み、リターン命令(RIT)によりステップ
nilへ進む。nttのステップ°けnlQのTML&
令で記憶したROMのプログラムカウンタP、の内容に
対応するステップである。この僧に、 nQ″n+o″
nza−n2y″n2s″n2y−n3o″→n27→
n2g ”’→n3t→na2→n3aでヂ2図(b)
の如く「デ゛」の表示を終了し、nll→n12→n2
6→n27″′n28°1211″030″n27 ”
 n2s″n31− n32→n33で第2図(c)の
如く「デー」を表示する。 以後同様に% n 15″n 16″n 26″n’2
7 n 28゜n29°n3G°n27−128− n
3t −n32°n33で1データ」を表示する。 その後、n33からn+7”進み、RTT(リターン命
令)で戻るステップを記憶しn17’n311と進む、
カウンタRの内容を判別する。 R=1、即ち、最初のハルト状態でn7でR=1となっ
た場合、n38→n44と進み、キャラクタメモ!J−
’VCの第1の桁にFAIのコードを記憶する。そして
n44→n45→n18と進み、n18でリターン命令
で戻るステップn19を記憶した後、ステップn26へ
進む。従って、同様にn44→n45→n1g″n26
″nzy”n2g″n29″n30″n27″n 28
→n31→n3□→n33で「データA」の表示を実行
する。 以上の様に、キャラクタメモリーに記憶する表示内容を
シフトさせつつ、新たに表示する文字を1桁目に記憶さ
せ、そのキャラクタメモリーの内容を表示する事により
、第213](b)から(f)までの表示を行う。そし
て第2図(f)の如く、表示を終Tした後、n33のリ
ターン命令によりステップn35へ進む、n35ではコ
ンディショナルF/FAがセットされ、13gでキャラ
クタメモリーMCの1桁目にサプレスコードC8が記憶
される。このサプレスコードC8は表示内容と表示内容
とを区別するために用いられる。ステップn37でキャ
ラクタメモリーMCの全桁がサプレスコードC8を記憶
してい名かどうかを判別する。(MCFC8)これは表
示が循環し、ある表示がシフトされ、表示部の端から全
部消えた後、同じ表示内容の先頭が表示され始めるよう
にするためである。今の場合、全桁がサプレスコードで
々いtめ、n、7→n26へ進み、第2図(g)の如く
表示を行う。その後、n31でキャラクタメモリーの内
容がシフトされ、n36でサプレスコードが記憶される
ので、表示内容は表示部の左端から消えてゆき、第2図
(i)の如くキャラクタメモリーの全桁がサプレスコー
ドとな七、ばn36→^37−n9 と進み表示を繰り
返す、即ち、「デニ゛ターAフィレヨ」の指示が繰り返
される。 ここでオペレータはステップn、で行われる演算のプロ
グラムを行ったわけであるから、データAに対応する数
値をキーから入力する。従って、ステップ130でキー
人力があったことを判断し、n 30−+11へ戻り、
キー人力された数値に基づいてnl で演算が簀開され
る。□ その後、再びハルト状態となれば、n2→n3と進み、
第1回目のハルト状態の場合と、同様にn。 −−ns−jl 5−n4でその時演算結果(途中結果
)を一定時間表示し、n7でカウンタRに1を加算する
。この場合JR=2となる。以後0171で第1回目の
ハルト状態の場合と同様に進むがR=2であるため、n
17→n38” ’139→’143と進み、次に入力
すべきデータはBであることを指示するため、n43で
BのコードをキャラクタメモリーMCに記憶する。従っ
て、2回目のハルト状態では「データBフィレヨ」とい
った表示となる。これと同様に3回目めハルト状態とな
れば[データCフィレヨJ J d回目のハルト状態と
なれば「データDフィレヨJという表示が行われる。 第7図は第6図内のサブル−チンW喀I≧4川を実行六
せる場合のフローチャート図を示[7ている。ステップ
n でコンディショナルF/ B (RAMの一部)が
リセ↓トされ、nbでキャラクタメモリーMCの内容が
4ビツト左シフトされる。ncでフリップフロップBの
判定を行いndへ進む。 ndでF7FBはセットされ、nbで再びキャラクタメ
モリーMCが4ビツト左シフトされ、次のFlBの判定
でこのサブルーチンを終える。キャラクタメモリーVC
の1文字のコードId 8ピントで記憶点れているtめ
、4ビツトシフトを21司行うことによって一文字分の
シフトを行っている。 第6図及び第7図のフローチャート図の各処理は前述l
−たCPU装置の各処理リストの内容に基づいて実行さ
せることができる。 ここで第3表は第6図のフローチャート図を実行させる
ための各ステップに対するCPU装置の処理内容との関
係を示す表であり、処理す、ストNoは前述した処理リ
ストの内容「(1)〜09」のそれぞれに対応している
。 第   3   表 以りの様に第6図のフローチャート図の各ステップは第
3表に示したCPU装置の処理リストNOに対応した処
理内容を実行することにより達成せられる。なお、ス−
テ7プnl+  nlo+  n12+”+4+n16
A′n18+n20+n224n24+n33+n45
については前述したCPU装置の説明から容易に理解で
きるであろう。 次に第7図のメモリーキャラクタMCの左シフトを実行
させる場合の各ステップと前記CPU装置の処理リスし
Noとの関係を下表に示す。 第4表 上記の様に各ステップを処理することによってMC左シ
フトの@作を実行させることができる。 本発明は叙上の如く、電子式計算機等の表示制御をイン
ストラクション命令を解読し実行する装置、CPUを用
いて行わせることが可能である。 以上説明」−たよりに本発明によれば、プログラムの実
行途中でハルト状態になったとき、入力すべきデータを
ランニング表示[7、オペレータはその指示内容に基づ
いてスムーズに入力でき、またその指示内容を計算機の
内部処理状態によって可変にすることができる。また、
指示内容のみをランニング表示させることにより表示体
に表示しつる表示容量以上の表示内容を表示させうる。
[7] Exchange the contents of the original memory and execute Type 1. (TYpe 2)X +-N→X ■ P,...Exchange the contents of register X and ACC. P2... Specify the numerical value N to be added with the operand 1-1
The contents of the register X introduced into the ACC are added to the numerical value N'fr, and the result of n is obtained in the ACC. P3... By exchanging the sum found in ACC and the contents of register
Execute e2. (Type 3) M+ +N=Mz wa■ Pl...Specify the area to be processed in the first memory using the file address mB and digit address nc. P2... ACC the contents of the memory specified by Pl.
In order to return the addition result to the second memory, the file address m of the second memory is specified. P3... Specify the numerical value N to be added with the operand, and
The contents of the memory introduced into the CC are added to the numerical value N, and the result is obtained from the ACC. P,...The second value specified by P2 is the sum obtained for ACC.
Converts the contents of the memory of , and executes Type 8. (Type 4) Ml-N→M+ Pl...Memory file address to be processed mB
and digit address nC. P2...Subtraction is a method of adding the complement of the subtracted number to the minuend,
Since there is no F digit, there is no borrow and F/FC is set. P3...Introduce a subtractive number N to ACC. Pc: In the process of taking the 15's complement of the subtracted number, the complement is found in ACC. P5...If there is no borrow from the lower digits, subtraction is replaced by a process of adding the 16's complement of the subtracted number and the subtracted. Let the state with no borrow be C=t, and ACC4-C+M→AC
CK and pure binary subtraction is performed. P6: Swap ACC and memory in order to return the difference found in P5 to the same memory. (TYpe 5) M+ N'M2゛P6
...In order to introduce the difference found in P into the second memory, the file address m and digit address nc of the second memory are specified. P7...The difference data determined by ACC is transferred to the second memory specified in P6 by exchange. (Type 6) WaPl...Specify the address of the temporary save memory at P5 using file address mB and digit address n (.P2...Subtraction is a method of adding the complement of the subtracted number to the called number,
Since there is no lower digit, the pollo number is set (F, 11-C is set. P3... Introduce the subtrahend N to ACC. P,... In the process of taking the 15's complement of the subtrahend, the complement is found in ACC. P5... Introduce the contents of the memory VcAcc specified by Pl in preparation for calculation with the contents of register X. P6... Transfer the contents of register X in exchange with ACC. When the processing is finished, the memory contains the 15's complement of the subtraction number, and ACC contains the contents of X. Pl...ACC) Ml-C is the processing equivalent to X-H, and is the actual result of subtraction in binary. is found in ACC. P8...The contents of ACC and the contents of X are exchanged, the value of X-N is transferred to X, and Type 6 processing is completed. (Type 7) N-Ml -18 (1 ■ PI...: Memory file address m to be processed
B and the digit address net-specify. P2...1゛digit is subtracted, and the complement of the subtrahend is added to the minuend, so °F4 Cf is used. P3...Introduce the minuend to ACC. P4...Exchange memory contents (subtraction) and ACC,
Also, in preparation for the processing of P7, the memory file address is m.
Leave as B. P5...The complement of CC is determined by the process of taking the 15's complement of the subtracted number of ACC. P6...If there is no pollo from the r digit, subtraction is replaced by a process of adding the 16's complement of the subtrahend and the minuend. Assuming that C=1 in a state where there is no pollo, NM is substantially performed with ACC+-C)M, and the difference is obtained from ACC. Pl... Since the memory file address remains mH as it is in P4, the difference in ACC is stored in the original memory and Type 7 is completed. (Type 8) N-Ml → M2 Pl... File address of processing memory mB
and designate the decided address nc. Pl...The content corresponding to the subtrahend specified by Pl is AC
Introduce it to C. In preparation for processing P5, specify the file address m in the second memory. P3...The complement of ACC is determined by the process of taking the 15's complement of the subtracted number of ACC. Pl... The contents of the operand are set to the minuend plus 1. This subtraction is for one digit, and is replaced by the process of adding the complement of the subtracted number and the subtracted number. Typical complement addition in the absence of borrows is
As in e7, <ACC+C+M, and it is processed as C=1. Since there is no C in the ADI instruction, ACC
Process by performing +-1. By this, Ty of N-M
The subtraction result of pe8 is found in ACC. P5...Transfers the difference data obtained by Pl to the second memory with 1 degree specified by Pl. (Type 9) M total 1-M P, ... (when M+-1) ACC is binary number 0001 (
-1) will be introduced. p,...(When M-1) Binary number 1111 (=
15) will be introduced. Pl...Memory file address to be processed m8
and digit address nc. P3: Adds the content of the memory designated by Pl and the content introduced in ACC by Pl or P, and introduces the sum into ACC. In the case of Pl, the ACC becomes 11, and in the case of Pl, the ACC becomes substantially 1. Pl...The memory obtains the result requested by ACC and completes the transfer LType9. (Type) Since there is no carry processing for
At the same time, m of the second memory is added to the file address in preparation for addition with the contents of the second memory at Pl.
Specify it as B. Pl... Add 6 to the contents of the desired digit of the first memory introduced into ACC, and add lO to the next digit when adding in P5.
Used to determine whether or not to proceed. P5...Pl f 1st memory 6 correction is required for ACC, the contents of this ACC and the contents of the same digit in the second memory specified in P3 are added in pure binary, and the contents are added to ACC again. Introduce. The fourth of this pure binary addition
If a digit is found in the addition of the bit, skip P6 and proceed to P7. The fact that the addition of the 4th bit results in a carry is,
This means that there was a 1o decimal carry. P6...When the decimal digit does not appear in the addition of P5, P
, the 6 added in steps is subtracted in this step to return it to its original value. Adding 10 is the same as subtracting 6. Pl...Transfers the 10 digit sum found in ACC to the second memory by exchanging it, increases the digit address in preparation for addition of the next digit, and then transfers the first memory to the file address. Specified in mA1. I'll leave it there. By predetermining the final digit to be added as nl, when all seven digits in the first and second memories have been added, B L = nl.
Therefore, the next P8 is skipped and the Type 1 processing is completed. P8...Specify program address P3 and press BL-
The commands P3 to P7 are repeated until nl is reached, and the decimal addition is performed one digit at a time. (Type 2) X-W-+XPl-...The first digit of the first memory to be processed is specified by the file address mA and digit address nE. P2...Subtraction is a method of adding the complement of the subtracted number to the minuend,
In the subtraction of the first digit, there is no polling process from the lower digits, so F4C is set. P3... Introduces the contents of the desired digit subtraction in the first memory into the ACC, and specifies the second memory file address mB in preparation for processing with the second memory at P5 + P7. P4: Processing for taking the 15's complement of the subtracted number. The 15's complement is found in ACC. P5... If there is no pollo from the lower digits, subtraction is replaced by adding the 16's complement of the subtrahend and the minuend, and if there is a pollo from the F digit, it is replaced by adding the 15's complement of the subtrahend and the minuend. Replaced. Let C = 1 for the state without pollo, and A
A pure 2 quasi subtraction is executed in CC+-C+-M-+ACC. The fact that a carry occurs as a result of executing this ADC8K instruction means that no pollo occurred during subtraction, so
Skip P6 and proceed to P7. Note that since the addition here is performed with the second memory designated by P3, it is essentially the second memory and the first memory. P6...If a carry does not occur with the ADC5K instruction in P5, the result is determined in hexadecimal, so subtract 6 (equivalent to adding 10) to return it to decimal.P7...ACC Transfer the difference between the second memory and the first memory found by exchanging it with the contents of the second memory.In preparation for subtracting the next digit, increase the digit address, and then specify the first memory with the file address mA. The final digit to be subtracted is nl beforehand.
By determining BL=nl when the subtraction between the second memory and the first memory is completed for all digits, the next P8 is skipped and the Type 2 processing is completed. P8...Specify program address P3 and set BL=n
The commands P3 to P7 are repeated until , and the decimal subtraction is performed digit by digit. ft. (Type) Right shift P, ... s - t memory file address m
and digit address nA. When P2...Q is introduced into ACC and shifted to the right,
Prepare to put 0 in the upper digit. do. P3...Exchanges the contents of the memory with ACC, lowers the digit address, and specifies the first digit of l. The memory file address does not change in mA. Since it returns to P3 again via the next P4, it means repeating XD. The 0 you put in ACC in P2 is the first ACC
-M enters the most significant digit of the memory, and the contents originally in the most significant digit enter ACC. Digit address is down at P3, returns to P3 via P4 and executes XD 1. At this time, since one digit lower than the most significant digit is specified, the content of the original most significant digit contained in the ACC is transferred to the l digit y F position. At this time, the contents of 1 digit F from the most significant one are transferred to ACC. By predetermining the least significant digit as n2, if the above transfer is repeated up to the least significant digit, BL=n2 is satisfied and P. Skip and finish. That is, the contents of each digit are transferred to the F-th digit and TYpe 1 is executed. P4...Return to P3 to repeat XD of P with the switch where BL=V. (Type 2) Left shift Pl...File address m of processing swipe memory
and @r-place digit nE. Introduce P2...0 to ACC, shift to the left, and prepare to insert 0 into the least significant digit. P3・-'・A When CC and memory contents are exchanged, J
(Increments the digit address and specifies the upper l digit.The memory file address is not changed with m.It returns to P3 again via the next P4, which means repeating XI.The 0 that was entered in ACC in P2 is placed in the least significant digit of memory at the first ACC-M, and the contents that were in the original least significant digit are placed in ACC.P3
The digit address is uploaded in ``r'' via P4.
When returning to step 3- and executing XI, since the lowest digit -F is specified, the content of the original lowest digit contained in the ACC is transferred to the 1 digit H. At this time, the contents of one digit higher than the lowest order are transferred to ACC. By predetermining the most significant digit as nl, repeating the above transfer up to the most significant digit 7) satisfies BL=nl and ends the process by skipping P4. That is, the contents are transferred to the upper digit 7) for each digit, and Type 2 is executed. P4...Return to P3 to repeat XI of P3 until BL=V. (Type]) *P, . . . Specify the area of memory to be processed (digit y) with the file address mB and digit address nc. P2...Pl Introduce 1 to the desired digit N in the memory digits and execute Type I. ("Type2) P,... Specify the digit of the memory area to be processed using the file address mB and digit address nc. P2... Desired pix in the memory digit specified by Pl) For NK Introduce 0 [2, Execute Type 2. (Type 1) W ■ Pl...Specify the file address mB and digital store address n where the desired conditional F/1 pinto exists. P2...If the content of the bit specified by N (corresponding to the desired conditional F4) in the memory area specified by P is 1, skip Pl, proceed to P4, and execute operation OP. .If the content of the desired bit is 00, proceed to the next step P3. P, ... Conditional F/F based on the judgment at P2
is set to 0, and the program step is set to P to execute operation OP2. Specify K. ■ P,...The memory area that contains the content to be judged is set to the file address and digital address n.
Specify with. P2...Introduces the memory contents specified by Pl into ACC. P3...ACC contents and predetermined numerical value N
If they are equal, skip P4, proceed to P5, and execute operation OPr. If the contents of ACC and N are not equal, proceed to P. P, . . . Specifies program address (step) Pn and jumps to Pn. Opera recon OP at Pn,
Execute. Pl...Specify the memory area to be judged with the file address mB, and set the first digit address with nE.
Specify with. P2...Introduce the numerical value N to be compared into ACC. P3: Compare the comparison value N of ACC with the contents of desired digit (4) in the desired area of memory (11). If they match, skip P4 to compare the following digits and P
Proceed to step 5. If they do not match, proceed to P. If there is a mismatch in P, . . . P3, the program address (step) is designated as Pn and jump is made to immediately execute the operation. P5...Increments the digit address by adding 1 to it. This process is for sequentially judging multiple digits in memory. By predetermining the final digit address of the memory to be changed as (V), the above comparison is repeated for a desired number of digits. If there is a disagreement on the way! ! When the number reaches 13, the operation oP2 is executed via P4, but if there is a match until BL=V and there are 7 consecutive matches, P6 is skipped and the process proceeds to P7, where the operation op is executed. P7...When a match continues at P5, return to P3 and repeat the judgment. change. Pl...Specifies the file address m8 and digit address n of the memory to be judged. P2...Introduces the memory contents specified by Pl into ACC. P3...If the numerical value to be compared with the memory contents is N, specify the numerical value 16-N with an operand, add the contents and the memory contents of ACC, and obtain ACC. In this addition, the 4th bit carry comes out, which means 2
This means that the base addition result exceeds 16. In other words, M+(16-, N') > 16,
This means that M>N is not satisfied, so proceed to P4. P,...-When it is not a VAN, specify the program address to Pn in this sudenbu and jump ° (7, Execute operation OP2 with Pn. Change (step). ■ Pl... Memory file to be judged Specify address mB and digit address nc. P2... Introduce the memory contents specified by Pl into ACC. P3... Set the numerical value to be compared with the memory contents to N3.
Specify the numerical value 15-N as an operand, and write its contents and A
Add the memory contents of CC and obtain ACC. The fact that a carry appears in the fourth bit in this addition means that the binary addition result exceeds 16. That is, M+-(15
-N)>16, which means M>N'+-
1, that is, M>N. In this case, this instruction skips P, proceeds to P5, and executes operation OP. If there is no carry, it is not a MAN and the player moves to P. P,...M) If not N, specify the program address (step) to Pn at this step and jump to P.
Operation OP2 is executed at n. Q41 Display the contents of the desired area of memory. (Type 1) Pl...Inputs the focus number n1 of W to ACC to reset the entire contents of the buffer register W that generates a digit selection signal for time-divisionally displaying the display. P2... After shifting the entire contents of register W by 1 bit to the right,
Input 0 to the first bit. The entire contents of W are reset by repeating this through P4 until C4-1 is reached at P3. P3... By setting the operand IA to 1111, AC÷1111 is performed, and ACC-1 is essentially performed. Since ACCK n 1 is entered in Pl, by repeating this number of times, the next 111 with ACC = 0
The 4th bit is used only when adding with 1! J-C47310
Therefore, proceed to P only in this case, and proceed to P5 at other times. P4...4th bit carry C4 at AC+1111
- When 〇, all contents of W are set to 0 [7' (Thus, the preprocessing is completed, and the first address P6 of the display step of the memory is
jump. P5... 4th bit carry C at ACC 71111
At 4-1, the process of setting all the contents of W to 0 has not yet been completed, so return to P2 and repeat the process of setting W to 0. P6... Specify the first digit with file address mA and digit address nA. P7: After shifting the contents fr of the register W that generates the display digit selection signal to the right by 1 bit, 1 is put in the first bit. This prepares for supplying a digit selection signal to the first digit display. Pa... AC the contents of the desired area of the specified stolen memory.
Enter in C. Memory file address does not change mA
It is. Also, in preparation for processing the next digit, the decend address is down. P9...Transfers the contents of the memory stored in ACC to the output buffer and far register F. The contents of register F are input to segment decoder SD, which generates a segment display signal. PIQ...The contents of register W are output as an external display signal and 1.
In order to output it, put 1 in the conditional F/FNP and set it to the set state. With this, the memory contents processed by P are displayed on the first digit display. Pl+...Input count initial value n2 for determining display time for one digit to ACC. P1□...substantially pacifies ACC-1 in the same way as P3. When ACC becomes O, skip to PI3, and when the content of ACC is not O (when c4=1), skip to -Pl4 and repeat this process. PI3... The desired display time is processed by counting the content of ACC in P1□, and when the counting is finished, it jumps to P15 via ph3. This count time becomes the one-digit display time. Pl4: When the desired display time has elapsed, skip P1□ to Pl3, proceed to Pl4, jump to Pl2 again from 1, and repeat this process. Pl5...Resets NP and stops supplying the digit selection signal to the display. Next, until NP is set again in PIO, the overlap display prevention low by the adjacent digit signal of the display is applied. Pl6...In preparation for displaying the next digit, shift the V register W by 1 bit to the right and put 0 in the 1st bit, essentially shifting the 1 bit F digit entered in P7) L, Prepare for next digit selection. Plr: Checks whether the last digit of the memory to be displayed has been completed, and since BL-1 has been done in the processing of Pa, it is checked whether the value nE of the final digit-1 has been reached. Pl8...Pa when the final digit has not arrived
Return to , and display the next digit. Pl9...For example, if the flags F/F and FA are used as display termination conditions, FA=1, skipping P2O 17 and ending the series of display processing. P2O...If PIQ is FA-0, @1 digital again.
To repeat the process of displaying 7 bruises and 0, jump to Pa'
Click. (Type 2) Pl... In order to reset the entire contents of the buffer register W that generates the digit selection signal for time-divisionally displaying the display, the number of bits of W is n1. Input into ACC. P2... After shifting the entire contents of register W by 1 bit to the right,
Input all 0s to the first bit. By repeating this through P4 f: until c and -i are reached at P3, the entire contents of W are reset and l-. P3...By setting the operand IA to 1111, AC)+111 is performed, which is essentially ACC-J'? conduct. P, TEACCK n + is inserted, so this number of times (the 4th via is only when adding with the next 1111 which becomes ACC = 0), the carrier IJ-C4 becomes 0, so this Proceed to P4 only when, otherwise P5
Heskidde. P4...ACC++ When the fourth bit carry C,=Q in 111, all contents of W have been set to 0, so the preprocessing is completed and the display jumps to the first address P6 of the memory display depth. P5...4th bit carry C at ACC+1111
If it is 1-1, the process of setting all the contents of W to 0 has not yet been completed, so the process returns to P2 and repeats the process of setting W to 0. P6--Specify the upper 4 bits of the first digit of the memory area containing the content to be displayed using the file address mA and digit address nA. P7...AC the contents of the desired area of the specified memory
Enter in C. Memory file address does not change mA
It is. Also, lower the digit address and specify the lower 4 bits. P8: Transfers the contents of ACC, ie, the upper 4 bits, to temporary register X. P... AC the contents of the desired area of the specified memory.
Enter in C. Memory file address does not change mA
It is. Also, lower the digit address and specify the upper 4 bits of the next digit. PIG... ACC contents to stack register SA,
The contents of temporary register X are transferred to stack register sx
to be introduced. po: After shifting the contents of the register W that generates the display digit selection signal to the right by 1 bit, 1 is placed in the first bit. This prepares for supplying the first digit selection signal. PI2... The contents of the register W are displayed as an external display signal and 1.
conditioner for output) v Put 1 in F/FN P to set state. With this, the memory contents processed by PIG are displayed on the first digit display. PI3: Input the count initial value n2 to determine the display time for one digit into ACC. PI3: Performs ACC-1 substantially in the same way as P3. When ACC becomes 0, it goes to PI3, when ACC~0 (
When C4=1), skip to Plg and repeat this process. P... Desired display time is P, 4 ACC content color...
When the count is completed in step 17, the count jumps to P17 via PI3. This count time becomes the one-digit display time. Plg...If the desired display time has elapsed, skip Plg from PI4, proceed to Plg, jump to PI3 again E2, and repeat this process. PI7...N is reset to stop supplying the digit selection signal to the display. Next, until N is sent again at PIO, the adjacent digit signals on the display are used to prevent overlapping display. Plg...In preparation for displaying the next digit, shift register W to the right by t bits and put 0 in the first bit, effectively making it 1.
Shift the 1 input in P7 to the lower bit bit. PIG...Checks whether the last digit of the memory to be displayed has been completed, and since B and -1 have been done in the process of P9, it is checked whether the value of the last digit -1 has reached rrEVC. P2O...P7 when the final digit has not arrived
Return to , and display the next digit. ζIυ to determine the type of suppressed key switch
P, □ P1~pH+... (This is the display heat expansion explained in 141. PI9... After displaying the contents of all the digits of register W, set the flag F/F F C, and turn on the key signal I. ,~
1. Set all to 1. P2O...If any of the keys connected to the key KN+ is pressed, PB. Jump to. P22 to P27...For each of the keys KN2 to KF2, judge which of the connected keys has been pressed, and if it is pressed and there is no dispute, skip the next step 1. I'm leaving. If pressed, jump to P30. P28...When no key is pressed, F
4-Reset the FC 2 and finish the key suppression check. P2O...P6 jump and continue displaying again. P.B. . . . In the step that comes when the key is pressed, the memory digit address is set to the first state nl in order to generate the first key strobe signal I0. PI3...key human power KN, 1st key strobe r
Judge 1 whether No. ii ■1 was input. , if not input, skip to P33. P32...Key human power KN1ρ When the first key strobe signal ■1 is input, the type of key is determined, the control jumps to PA, and the control corresponding to the determined key is thereafter performed. After ending the key control R1, the program jumps directly to 1riP and starts displaying. (Pz'd, P l
Example of steps to jump to) P33~Pss・
...First key strobe signal 1. If the desired key is pressed, jump to PB-PD and perform control corresponding to that key. P3O: When the key connected to the first key strobe signal I is not pressed, the memory digit address can be increased to generate the second key strobe signal. P41~... Generates a desired key strobe signal, and sequentially judges KN, ~KF2, and determines the type of pressed Ff key [-1 Control # for the pressed key.
Jump to the desired step to complete. PA~... Control for the first key Px...
- After the first key control is completed, return to P1 and resume display. The above is an explanation of the main processing processes of the CPU device. Next, an example of the display operation of a computer that executes the display method of the present invention will be explained based on the flowchart of FIG. In the figure, this is the step of executing the operations programmed by the nl operators. n2 is a step for determining whether the state is in the Hart state, and if the state is not in the Hart state, nl n2 is repeatedly executed. This
The current state is a state in which calculations are temporarily stopped until data is input at a step in which data is input from the outside during program execution. If you are in a healed state, n
Proceed as 2 → n3, and set the value N1 of a certain − sect to the counter CO.
Enter. Counter CO is constituted by a part of RAM. Then, in step n4, the calculation result (intermediate result) 5
Displays the content MX. Counter c at n5. It is determined whether the contents of the counter co are 0 or not, and if CON0, the process proceeds to step n6 and 1 is subtracted from the contents of the counter co. That is, n4→n5→n6→n4→n5→... is N
++Repeat 1 time 12, display MX for a certain period of time. (For example, for 5 seconds) If the contents of counter co become 0 after that, n5
→N7, and increment the counter RK:1. Counter R is constructed as part of the RAM. It is assumed that the counter R has been reset in advance and is set to ``Off.'' R stores the collection of the Hart state.Next, in n8, the suppress code cS is set to the character memory MC.
is input. Character memory M C1dRA M
This is a register in one area, and one character is stored as an 8-bit code. Also, the sagress code C5 is a code for not displaying anything on the display section, for example, 111.
Let it be 1111 bits. In step n, the code for TE°j is stored in the electrical phase of the character memory MC.nl(l
Then, the contents of the program counter PL in the ROM plus 1 are stored in the 10-gram stack register SP. (Refer to instruction code 454) This is a return instruction RIT (instruction code &5
5) to specify the return destination. Next, proceed to step n1° → n26, and store a constant value N2 in the ROM.
input to the counter CO inside. The contents of the character memory MC are displayed at n27. At step 12g, it is determined whether the contents of the counter CO have become 0 or not, and if CON2, the process advances to step 129, where 1 is subtracted from the contents of the counter CO. At step 130, it is determined whether or not there is key power, and if the key is not operated, proceed to n3o-+n27.
Repeat once and display for a certain period of time. After displaying for a certain period of time, n21
1→n31, and the contents of the character memory MC are shifted to the displayed telephone public figure. In step n32, it is determined whether the conditional F/FA (part of RAM) is in a cassette state or a set state. In F/FA, after all the instruction data is recorded in character memory MC, it is cented at 135, and -data (Fig. 2(b) to (
f) Determine whether or not the display of item 2) has ended. In this case, since F/FA is in the reset state, n32 →
Step n33 is followed by a return instruction (RIT) to proceed to step nil. ntt's step °kennlQ's TML &
This step corresponds to the contents of the program counter P of the ROM stored by the command. To this monk, nQ″n+o″
nza-n2y″n2s″n2y-n3o″→n27→
n2g ”' → n3t → na2 → n3a, Figure 2 (b)
Finish displaying "D" as in
6→n27″'n28°1211″030″n27”
n2s''n31-n32→n33, "day" is displayed as shown in FIG. 2(c). From then on, % n 15″n 16″n 26″n'2
7 n 28°n29°n3G°n27-128- n
1 data is displayed at 3t -n32°n33. After that, proceed from n33 to n+7'', remember the step to return with RTT (return command), and proceed to n17'n311.
Determine the contents of counter R. If R=1, that is, in the initial Hart state, R=1 at n7, proceed from n38 to n44, and character memo! J-
'Store the FAI code in the first digit of the VC. Then, the process proceeds as n44→n45→n18, and after storing step n19, which is returned by a return command at n18, the process proceeds to step n26. Therefore, similarly n44→n45→n1g″n26
″nzy″n2g″n29″n30″n27″n 28
→n31→n3□→n33 displays "data A". As described above, by shifting the display contents stored in the character memory, storing the newly displayed character in the first digit, and displaying the contents of the character memory, the contents of the character memory can be displayed. ) is displayed. Then, as shown in FIG. 2(f), after the display is finished, the process proceeds to step n35 by the return command in n33. In n35, the conditional F/FA is set, and in 13g, the suppression code is placed in the first digit of the character memory MC. C8 is stored. This suppression code C8 is used to distinguish between display contents and display contents. In step n37, it is determined whether all the digits in the character memory MC store the suppress code C8 and are names. (MCFC8) This is so that the display circulates, a certain display is shifted, and after it has completely disappeared from the edge of the display section, the beginning of the same display content begins to be displayed. In this case, all digits are suppressed codes, and the sequence proceeds from n, 7 to n26, and is displayed as shown in FIG. 2(g). After that, the content of the character memory is shifted in n31, and the suppress code is stored in n36, so that the displayed content disappears from the left end of the display section, and as shown in Figure 2 (i), all digits of the character memory are filled with the suppress code. The display advances to 7, 36, 37-n9, and the display is repeated, that is, the instruction ``Denitor A filet-yo'' is repeated. Here, since the operator has programmed the calculation to be performed in step n, he inputs the numerical value corresponding to data A using the keys. Therefore, it is determined in step 130 that there is key manpower, and the process returns to n 30-+11.
Calculations are started in nl based on the numerical values entered manually. □ After that, when it becomes Hart state again, it progresses from n2 to n3,
n in the same way as in the first Hart state. --ns-jl At 5-n4, the result of the calculation (intermediate result) is displayed for a certain period of time, and at n7, 1 is added to the counter R. In this case, JR=2. From then on, at 0171, the process proceeds in the same way as the first Halt state, but since R=2, n
17→n38"'139→'143, and in order to indicate that the next data to be input is B, the code for B is stored in the character memory MC at n43. Therefore, in the second Halt state, " The display will be "Data B filet." Similarly, when the third Hart state is reached, [Data C File Yo J J J When the dth Hart state is entered, "Data D File Yo J" is displayed. Figure 7 shows the subroutine W in Figure 6. The flowchart for executing I≧4 is shown [7]. At step n, the conditional F/B (part of RAM) is reset, and at nb, the contents of the character memory MC are reset to 4 bits. It is shifted to the left. At nc, the flip-flop B is determined and the process proceeds to nd. At nd, F7FB is set, and at nb, the character memory MC is again shifted to the left by 4 bits, and this subroutine ends with the determination of the next FlB. Character memory VC
The code Id of one character is stored at the 8th point, and a shift of one character is performed by performing a 4-bit shift of 21. Each process in the flowcharts of FIGS. 6 and 7 is described above.
- The processing can be executed based on the contents of each processing list of the CPU device. Here, Table 3 is a table showing the relationship between the processing contents of the CPU device and each step for executing the flowchart shown in FIG. ~09'' respectively. As shown in Table 3, each step in the flowchart of FIG. 6 is achieved by executing the processing content corresponding to the processing list number of the CPU device shown in Table 3. In addition, Sue
Te7pu nl+ nlo+ n12+”+4+n16
A'n18+n20+n224n24+n33+n45
This can be easily understood from the explanation of the CPU device mentioned above. Next, the relationship between each step and the processing list number of the CPU device when performing the left shift of the memory character MC in FIG. 7 is shown in the table below. Table 4 By processing each step as described above, the @ operation of MC left shift can be executed. As described above, the present invention allows display control of an electronic calculator or the like to be performed using a CPU, a device that decodes and executes instruction commands. According to the present invention, when a program enters a halt state in the middle of executing a program, the data to be input is displayed in a running display [7] The operator can smoothly input data based on the instructions; The contents can be changed depending on the internal processing state of the computer. Also,
By displaying only the instruction contents in a running manner, it is possible to display more display contents than the display capacity of the display body.

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

第1図は本発明の表示方式を具えたプログラム計算機の
一例を図示する外観図、第2図は同計算機の表示状態を
説明するための図、第3図は同計算機の要部を示す一例
のブロック線図、第4図は同計算機のCPU装置の一例
の論理回路線図であり、第4A−4D図を含む。第5図
は第4図のCPU装置と等価な回路を図示する線図、第
6図は同計算機の表示方式を説明するためのフローチャ
ート図、第7図はMCの左シフト動作を説明す するた
めのフローチャート図である。 図中、1:表示部、2:表示部、3:キー人力装置、4
:中央処理装置(CPU)、5:ギヤラークタジェネレ
ータ(CRG’)、6:表示体、7:桁選択信号、8:
セグメシト信号、’Ri’u−:ランダム・アクセス・
メモリー、ROM:リード・オンリー・メモリー、AC
C:アキュムレータ。 代理人 弁理士 福 士 愛 彦(弛2名)ぁ、。  
 tθ ダ (h) 第2閃
Figure 1 is an external view showing an example of a program computer equipped with the display method of the present invention, Figure 2 is a diagram for explaining the display state of the computer, and Figure 3 is an example showing the main parts of the computer. FIG. 4 is a logic circuit diagram of an example of the CPU device of the computer, including FIGS. 4A to 4D. Fig. 5 is a diagram illustrating a circuit equivalent to the CPU device in Fig. 4, Fig. 6 is a flowchart for explaining the display method of the computer, and Fig. 7 is an illustration of the left shift operation of the MC. FIG. In the figure, 1: Display section, 2: Display section, 3: Key human power device, 4
: Central processing unit (CPU), 5: Gear arctor generator (CRG'), 6: Display body, 7: Digit selection signal, 8:
Segment signal, 'Ri'u-: Random access
Memory, ROM: Read-only memory, AC
C: Accumulator. Agent: Patent attorney Aihiko Fuku (2 people) Ah.
tθ da (h) second flash

Claims (1)

【特許請求の範囲】[Claims] 1、 複数のキャラクタを表示し得る表示体を備え、プ
ログラム計算機能を有する電子機器に於て、プログラム
実行途中でハルト状態になった際、次に入力すべきデー
タの指示するキャラクタ内容をランニング表示し、該ラ
ンニング表示されるキャラクタ内容を計算機の内部状態
によって可変できるようにしたことを特徴とする電子機
器の表示方式。
1. In an electronic device that is equipped with a display that can display multiple characters and has a program calculation function, when a halt state occurs during program execution, the content of the character specified by the next data to be input is displayed running. A display method for an electronic device, characterized in that the content of the running displayed character can be varied depending on the internal state of the computer.
JP6851882A 1982-04-22 1982-04-22 Display system of electronic device Pending JPS5844559A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6851882A JPS5844559A (en) 1982-04-22 1982-04-22 Display system of electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6851882A JPS5844559A (en) 1982-04-22 1982-04-22 Display system of electronic device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP9168678A Division JPS5518764A (en) 1978-07-26 1978-07-26 Display system of electronic computer or the like

Publications (1)

Publication Number Publication Date
JPS5844559A true JPS5844559A (en) 1983-03-15

Family

ID=13376016

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6851882A Pending JPS5844559A (en) 1982-04-22 1982-04-22 Display system of electronic device

Country Status (1)

Country Link
JP (1) JPS5844559A (en)

Similar Documents

Publication Publication Date Title
US5465374A (en) Processor for processing data string by byte-by-byte
US4504900A (en) Sequence instruction display system
US4005391A (en) Peripheral interrupt priority resolution in a micro program data processor having plural levels of subinstruction sets
US5701468A (en) System for performing data compression based on a Liu-Zempel algorithm
EP0032955B1 (en) Microprogram controlled data processor
US4652991A (en) Data transfer apparatus
JPS5844559A (en) Display system of electronic device
US4754424A (en) Information processing unit having data generating means for generating immediate data
US4410956A (en) Exponential operation device
US4240137A (en) Computer for directly executing a program including a plurality of structured blocks
GB1561364A (en) Digital accounting machine
US4429182A (en) Data-related apparatus with a speech-synthesizer output device
JPS5844491A (en) Display system for electronic equipment
US8316067B2 (en) Decimal computing apparatus, electronic device connectable decimal computing apparatus, arithmetic operation apparatus, arithmetic operation control apparatus, and program-recorded recording medium
US20070220074A1 (en) Sharing of a logic operator having a work register
JPS6235111Y2 (en)
KR920006970B1 (en) Programmable logic controller
JPH0895850A (en) Microprocessor
JPS6338716B2 (en)
JPS6227929Y2 (en)
JPS61180370A (en) Data processor
JPS6118787B2 (en)
Cropper et al. Microprocessors in CRT terminals
JPS6113353A (en) Processor with display of data accumulation
JPS58132849A (en) Electronic device