JPS58129639A - Character processing device - Google Patents

Character processing device

Info

Publication number
JPS58129639A
JPS58129639A JP57013085A JP1308582A JPS58129639A JP S58129639 A JPS58129639 A JP S58129639A JP 57013085 A JP57013085 A JP 57013085A JP 1308582 A JP1308582 A JP 1308582A JP S58129639 A JPS58129639 A JP S58129639A
Authority
JP
Japan
Prior art keywords
cursor
output
register
key
calculation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP57013085A
Other languages
Japanese (ja)
Other versions
JPH0517587B2 (en
Inventor
Tadashi Kimura
正 木村
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP57013085A priority Critical patent/JPS58129639A/en
Publication of JPS58129639A publication Critical patent/JPS58129639A/en
Publication of JPH0517587B2 publication Critical patent/JPH0517587B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0489Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using dedicated keyboard keys or combinations thereof
    • G06F3/04892Arrangements for controlling cursor position based on codes indicative of cursor displacements from one discrete location to another, e.g. using cursor control keys associated to different directions or using the tab key

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Digital Computer Display Output (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To output a shifting character to an optional digit in accordance with the property of a value referred to calculation at the output of a calculated result, by storing the property of the reference value. CONSTITUTION:A CPU controls devices through an address bus AB, a control bus CB and a data bus DB. An RAM accomodates cursor saving memories CSR1 CSR2, CSR3 and a cursor position at a point of time is stored in the memories CSR1, CSR2 by depressing a range key. The memory CSR3 stores the cursor position at the time when a starting key is inputted. A cursor register CR stores the position of a cursor CA on a display device CRT and is changed under control by the CPU in accompanied with the movement of the cursor CA. The contents of a buffer register BUF is displayed on the display device CRT through a character generator CG.

Description

【発明の詳細な説明】 本発明は文書の作成5編集、その他処理金石なう文字処
暑装置Kllするものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention provides a text processing device for document creation, editing, and other processing.

従来1文字処理装置に2いては文章の作成。Traditionally, one character processing device is used to create sentences.

−集の他1文章中の数値を使って計算し、その結果を文
章中に出力できる様になっている。その様な計算結果の
出力に$Pいて、カンマ等を付加するIII、それ會指
示するスイッチ等によってが、必ll!に応じてスイッ
チを切り換える必要があり不便であった。
- In addition to the collection, it is possible to calculate using numerical values in one sentence and output the results in the sentence. It is absolutely necessary to add $P to the output of such a calculation result, add a comma, etc., depending on the switch that instructs it! It was inconvenient to have to change the switch depending on the situation.

本発明は、上記の点に!IIみ成されえもので計算結果
にカンi等の桁区切り文字を出力する丸めのスイッチを
不要とした文字処ll!1lIIlvt提供することt
a的とする。
The present invention addresses the above points! Character processing that eliminates the need for a rounding switch that outputs decimal separators such as Kan i in calculation results with II! 1lIIlvt to provide
A target.

本amの他の目的Fi、計算に引用し友数値の属性を記
憶することによJ?、計算結果出力時に引用数値の属性
に従い、任意の桁に桁送シ文字を出力できる文字処暑装
置を提供することであるO 本弛−の他の目的は以下のaam”を参層して行われる
実施例の説@によって明らかになるであろう。
Another purpose of this book is Fi, by quoting it in calculations and memorizing the attributes of friend values. Another purpose of this work is to provide a character processing device that can output shift characters to arbitrary digits according to the attributes of quoted numerical values when outputting calculation results. This will be made clear by the explanation of the examples given below.

以F1本発嘴の一夷總例teamに従って1嘴する。From then on, F1 beak is produced according to the team.

嬉lam&!本発明の実施例としての文字処暑装置を示
すプ困ツク−である。同図に2いて、CPUはマイクロ
・プロセッサであり、演算、鍮珊判コントロール・バス
(CB)  * データ・バス(DB)を介して、この
バスムB%CB、DB  に接続されている機atコン
トロールする0ムB#iアドレス・バスで制御対象を指
示する信号を転送する。
Happy lam&! 1 is a schematic diagram showing a character processing device as an embodiment of the present invention. 2 in the same figure, the CPU is a microprocessor that performs calculations, and is connected to this bus via a control bus (CB) and a data bus (DB). A signal indicating the control target is transferred via the controlling 0MB#i address bus.

CBはコン)o−ル・バスで、各種制御対象に制御信号
を印加するものであるっDBijデータ・バスで、各種
データ會転送するOR0Mは制御メモリで、プロセッサ
CPUの制御手順が格納されているO KBはキーボードであり1文章の人力及び編集等に使用
され、第2図に示す様に1文字キー、タブ−キー、カー
ソルキーCK、範囲キーHK。
CB is a control bus, which applies control signals to various control objects; DBij is a data bus, which transfers various data; OR0M is a control memory, which stores control procedures for the processor CPU. The OKB is a keyboard and is used for manually editing and editing a single sentence, and as shown in Fig. 2, it has a single character key, a tab key, a cursor key CK, and a range key HK.

計算開始キーKK等を有する。It has a calculation start key KK, etc.

RAMはランダム・アクセス・メモリーで、各種データ
の一時記憶に用いられるが、その中のC3fLl 、 
C8R2、C3R3社カーソルセーブメモリーで、後述
する範11午−〇KKより、その時のカーソル位置がメ
モリC8R1またはC882に格納される。メモリーc
saaは、後述する計算開始キーKKが人力され歳時の
カーソル位置を格納する。MODI Fi範囲キーHK
Kよって格納されるカーソル位置の格納先を示すフラッ
グであり% It友はOの値を持ち範囲キーが入力され
る九びに反転する。なおフラッグMODHが0の時はメ
モリC881へ、10時はメモリCllR2へ格納する
制御を行なう。CN〒は各行の計算時に使用されるワー
ク・メモリーで各行の計算時にその行の計算に引用し良
数値のカンマの桁数を記憶する。
RAM is a random access memory that is used for temporary storage of various data, including C3fLl,
In the C8R2 and C3R3 cursor save memory, the cursor position at that time is stored in the memory C8R1 or C882 from the range 11-0KK described later. memory c
saa stores the cursor position when the calculation start key KK, which will be described later, is manually operated. MODI Fi range key HK
This is a flag indicating the storage location of the cursor position stored by K, and has a value of O and is inverted every time the range key is input. Note that when the flag MODH is 0, control is performed to store it in the memory C881, and when it is 10 o'clock, it is stored in the memory CllR2. CN〒 is a work memory used when calculating each row, and stores the number of comma digits of a good value that is referred to in the calculation of that row.

C&はカーソル・レジスタであり、カーソルCムのC&
!上の位置を記憶するものであり、仁ζにはCRT上の
位置を示す0〜95までのシリアル・ナンバーが記憶さ
れ、カーソルCムの移動とと−にプロセッサCPU K
制御されて変化する。
C& is the cursor register;
! The serial number from 0 to 95 indicating the position on the CRT is stored in the serial number ζ, and when the cursor is moved, the processor CPU
change in a controlled manner.

ま九カーソルCムはカーソル・レジスタCB内のシリア
ル・ナンバーを基に表示制御部CBTCによりC8!上
の対応する位置に表示される。
The cursor C is set to C8! by the display control unit CBTC based on the serial number in the cursor register CB. displayed in the corresponding position above.

BUFはバッファ・レジスタで、96ワードの容量を持
ち数値が格納されている。バッファ・レジスタfiUF
の内容はjl13mK示す如く、タテ8行、ヨコ12桁
でB(ロ)でそのアドレスを表わす0その内容はこの位
置関係でそのまま8行12桁の表示装置CfLT上にキ
ャラクタ・ジェネレータCGt−介して表示される。
BUF is a buffer register that has a capacity of 96 words and stores numerical values. buffer register fiUF
As shown in jl13mK, the address is represented by B (b) in 8 lines vertically and 12 digits horizontally.0 The contents are displayed as they are on the display device CfLT of 8 lines and 12 digits via the character generator CGt- in this positional relationship. Is displayed.

Cqはキャラクタ・ジェネレータでTo9、表示装置C
RTへの文字パターンを発生させる九めに使用される。
Cq is a character generator, To9, display device C
Used in the ninth to generate the character pattern to RT.

キャラクタ・ジェネレータCGはバッファ・レジスタB
UFのデータを受けて文字パターンを発生する。
Character generator CG is buffer register B
Generates a character pattern by receiving UF data.

ca’rcは表示制御部で1表示されるべきデータを走
査してCR?で表示する0 CRTFi表示装置で、例えば陰極線管で構成する。
ca'rc scans the data to be displayed once in the display control unit and displays CR? A CRTFi display device, for example, made up of a cathode ray tube.

次に以上の構成によ妙なる実施例の動作を説明する0崗
1本装置の動作説明のための初期状計算処理フローを示
す0要約すれば計算は以下の手ll[Kよってなされる
Next, we will explain the operation of a modified embodiment with the above configuration.An initial state calculation processing flow will be shown to explain the operation of this device.In summary, calculations are performed in the following manner.

ム、カーソル・キーCKによって、計算を行い丸い数値
配列の端にカーソルCAを合せ1範囲キーHKを入力す
る。
Then, use the cursor key CK to perform calculations, move the cursor CA to the end of the round numerical array, and input the 1 range key HK.

85次にムで示し九位置に対して、対角点くカーソルC
ムを移動させ、ムと同様に範II中−HKを入力する。
85 Next, point the diagonal cursor C to the 9th position indicated by M.
Move the ``mu'' and enter -HK in the range II in the same way as the ``mu''.

C,カーソルCAI移動さ・t、結果を出し良い位置に
脅せる。
C. Move the cursor CAI・t. Get the result and get in a good position.

/ // 二し 上[A−Dの手順によって、A及びBで指示され友範囲
内の数値配列の各行の加算を行ない、その結果は0で示
され九桁位置で各行に出力される。バッファ・メモリB
UF内からの数値の堆)出しはスペース・コードを区切
りとして、別な数値として礒扱うが、ζこではその説明
を省略する0 計算結果の出力は、各行の計算に引用し九カンマの桁数
の最大値を記憶するメモ170 N Tを参照して、出
力する数字列にカンマが挿入されるO 次に更に具体的に説明する。第4図(A) K於いて処
理ステップlでは、初期設定を行なう〇ζζではフラッ
グMODIをOKする。次に処理ステップ2で操作され
たキーの城り込みを行ない、どのキーが操作され丸かを
判別する。カーソルOKが操作され良場合、ステップ2
・1でカーソルOKと判別され、処理ステップ3でカー
ソルの移動と、カーソル0ムの位置をカーソルレジスタ
0凡に記憶させる。かかる処理が終了すると、キー待ち
の状態となる。第5図に示す如く位置/にカーソルOA
が位置しているとき、カーソルレジスタo’s、=24
となっている0かかる状態のとき、範囲キーHKが操作
されると、ステップ2・2で判別され、処理ステップ4
に移る0第4図(B)K詳細に示す如く、フラッグMO
DB=0となっているので、カーソルレジスタORの内
容はレジスタ08RIK転送される。さらにフラッグM
ODFi=IKセットする。同様にして、再びカーソル
中−OKテカーソルOAを移動させ、カーソル0AIn
の位置に移動させる。即ち、カーソルレジスタORを4
2にする。そこで範囲キーHKが操作されると、フラッ
グMODIii=1を判別し、カーソルレジスタOR6
内容をレジスタ08几2に格納させる。しかるのちフラ
ッグMODliをOK上セツトる。次にカーソルキーO
Kによって第5図の様にカーソル0ムをjl!に右方向
に移動させると、カーソルレジスタ0R=47とする0 次に計算開始中−KKが入力されると、処理ステップ5
によって、レジスタORの内容がレジスタ08几3に格
納され08R3=47となる。レジスタ0883の値は
後述する計算結果出力時の桁位置の決定に使用される。
/ // Second step [By the procedure A-D, each row of the numerical array within the range indicated by A and B is added, and the result is indicated by 0 and output in each row at the 9-digit position. Buffer memory B
The output of numerical values from within the UF is treated as a separate numerical value using a space code as a delimiter, but the explanation is omitted here.The output of the calculation result is quoted in the calculation of each line and is separated by nine commas. A comma is inserted into the output numeric string with reference to the memo 170 NT that stores the maximum value of the number.Next, a more specific explanation will be given. In FIG. 4(A) K, in processing step 1, initial settings are performed. In ζζζ, the flag MODI is set to OK. Next, in processing step 2, the keys that have been operated are searched to determine which key has been operated and is circled. If the cursor OK is operated, step 2
- If the value is 1, it is determined that the cursor is OK, and in processing step 3, the cursor movement and the cursor 0 position are stored in the cursor register 0. When this processing is completed, the device enters a key wait state. Cursor OA at position / as shown in Figure 5
is located, the cursor register o's, = 24
When the range key HK is operated in such a state as 0, it is determined in step 2.2 and processing step 4 is performed.
As shown in detail in Figure 4 (B), the flag MO
Since DB=0, the contents of cursor register OR are transferred to register 08RIK. Furthermore flag M
Set ODFi=IK. In the same way, move the cursor center - OK text cursor OA again, and cursor 0AIn
move it to the position. In other words, set the cursor register OR to 4.
Make it 2. Then, when the range key HK is operated, it is determined that the flag MODIii=1, and the cursor register OR6 is
The contents are stored in register 08⇠2. After that, set the flag MODli to OK. Next, cursor key O
Use K to move the cursor to 0m as shown in Figure 5. When the cursor register is moved to the right, the cursor register 0R is set to 47.0 Next, when -KK is inputted, processing step 5 is input.
As a result, the contents of register OR are stored in register 08R3, and 08R3=47. The value of register 0883 is used to determine the digit position when outputting the calculation result, which will be described later.

更に処理ステップ5によって、各行の加算、及びその結
果の出力が行なわれる。各行の加算結果は、第6図(D
 Ill K B(35)、B(47)の位置を最下位
桁として左側に出力される。第6図において最初の行に
はカンマがあるので、出力する数値にもカンマが含まれ
るが、第2行には数値のみが出力される。
Furthermore, in processing step 5, each row is added and the result is output. The addition results for each row are shown in Figure 6 (D
Ill K B (35) and B (47) are output to the left with the least significant digits. In FIG. 6, since there is a comma in the first line, the output numerical value also includes a comma, but only the numerical value is output in the second line.

以上の一連の操作によって、各行の計算結果が第6図の
ように出力され、計算が完了する0処理ステツプ6では
その他のキーが入力され走時、入力1編集等が行なわれ
Jy。
Through the above series of operations, the calculation results for each line are output as shown in FIG. 6, and in 0 processing step 6, when the calculation is completed, other keys are input to perform run time, input 1 editing, etc. Jy.

上記の実施例において1桁区切如文字としてカンマを用
いているが、他の文字を使用してもよい0 上記01lI′jll1例において、各行のカンマの桁
数がそのままその行の計算結果に反映され九が、全ての
行のカンiの最大の桁数を全ての行の出力に反映させる
ようにして4よい。
In the example above, a comma is used as a digit separator, but other characters may be used. Then, the maximum number of digits of can i in all rows may be reflected in the output of all rows.

上記の実施例において、小数点以下の出力術数を引用し
丸数値の小数点以下の最大桁数を結果に反映させるよう
にして4よい。
In the above embodiment, the output number below the decimal point may be quoted and the maximum number of digits below the decimal point of the rounded value may be reflected in the result.

忌“上0IIK本発@によれば、計算結果にカンマをつ
けたい時、不要な時などにおいて引用する数値の形式の
11結果が出力されるので、計算の度に桁区切boスイ
ッチ畔を操作する必豐がなくな〉、操作が東になつ丸。
According to the above 0IIK original @, 11 results are output in the form of numerical values that can be quoted when you want to add a comma to the calculation result or when it is not necessary, so operate the digit separator bo switch every time you calculate. There is no longer any need to do so, and the operation is the East Natsumaru.

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

第1m!社、本弛明による1実施例を示すブロック図、 ホ゛ jlI2aiIは、キー嘱−ドの配置図、@311ti
、BUF、!=ORTO位置11係図、jI411I(
ム)は、計算熟思フローチャート図、嬉411 (B)
は、処理ステップ4の詳細図、415図は、動作例を示
す初期CRT表示図、第6図は、動作例の結果によるO
RT表示閣の説明図で、OKはカーソルキー、HKは範
−キーである0 代理人   丸  島  儀  −!  −t−119
21,11,:;;、、テパ=′1弔d’Q<e、)
1st m! A block diagram illustrating one embodiment of the company, Honsukei, is a key layout diagram, @311ti
,BUF,! = ORTO position 11 diagram, jI411I (
) is a calculation contemplation flowchart diagram, 411 (B)
415 is a detailed diagram of processing step 4, FIG. 415 is an initial CRT display diagram showing an example of operation, and FIG.
In the explanatory diagram of the RT display cabinet, OK is the cursor key and HK is the range key.0 Agent: Gi Marushima -! -t-119
21,11,:;;,, tepa='1 condolence d'Q<e,)

Claims (1)

【特許請求の範囲】 文章中の複数行に存在する数値を使用して演算を行ない
、その演算結果を前記文章中に出力する文字処暑装置に
おいて、 前記複数行に存在する数値の縞性會記憶する記憶手!j
jL1に設け、前記演算結果をその演算に用いられた前
記数値の属性に従って出力するようにし九ことを特徴と
する文字処理装置。
[Scope of Claims] A character processing device that performs calculations using numerical values existing in a plurality of lines in a text and outputs the calculation results in the text, comprising: a striped memory of the numerical values existing in the plurality of lines; Memories to do! j
jL1, and the character processing device is configured to output the calculation result according to the attribute of the numerical value used in the calculation.
JP57013085A 1982-01-29 1982-01-29 Character processing device Granted JPS58129639A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57013085A JPS58129639A (en) 1982-01-29 1982-01-29 Character processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57013085A JPS58129639A (en) 1982-01-29 1982-01-29 Character processing device

Publications (2)

Publication Number Publication Date
JPS58129639A true JPS58129639A (en) 1983-08-02
JPH0517587B2 JPH0517587B2 (en) 1993-03-09

Family

ID=11823324

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57013085A Granted JPS58129639A (en) 1982-01-29 1982-01-29 Character processing device

Country Status (1)

Country Link
JP (1) JPS58129639A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS495577A (en) * 1972-05-02 1974-01-18
JPS56155441A (en) * 1980-04-30 1981-12-01 Fujitsu Ltd Numerical operating device for display image plane
JPS5862762A (en) * 1981-10-08 1983-04-14 Toshiba Corp Sentence data unifying device
JPS5866150A (en) * 1981-10-16 1983-04-20 Casio Comput Co Ltd Word processor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS495577A (en) * 1972-05-02 1974-01-18
JPS56155441A (en) * 1980-04-30 1981-12-01 Fujitsu Ltd Numerical operating device for display image plane
JPS5862762A (en) * 1981-10-08 1983-04-14 Toshiba Corp Sentence data unifying device
JPS5866150A (en) * 1981-10-16 1983-04-20 Casio Comput Co Ltd Word processor

Also Published As

Publication number Publication date
JPH0517587B2 (en) 1993-03-09

Similar Documents

Publication Publication Date Title
JPS58129639A (en) Character processing device
JP2738851B2 (en) Input data processing display method using multiple cursors
JPS63233465A (en) Input display system for numerical format code
JPS61202272A (en) Character processor
JPS5868141A (en) Character processor
JPS60138627A (en) Multi-item input device
JPH025175A (en) Character processor
JP2560344Y2 (en) Small electronic calculator
JPS6120119A (en) Information input tablet
JPS5851330A (en) Character processor
JPH0488527A (en) Input character display method
JPS5854416A (en) Operating method of computer
JPS6051903A (en) Generating method of process control program
JP2743838B2 (en) Input device
JPH01140267A (en) Character processor
JPS5887641A (en) Character processor
JPS58127240A (en) Character processor
JPS6048077A (en) Document information memory control system
JPS6151264A (en) Document processing device
JPH0922343A (en) Arithmetic unit
JPH0750470B2 (en) Data processing device
JPS61240364A (en) Word processor
JPS5936788B2 (en) Electronic computer
JPS5875262A (en) Electronic computer
JPH0465405B2 (en)