JPH04225462A - Information processor - Google Patents
Information processorInfo
- Publication number
- JPH04225462A JPH04225462A JP2407683A JP40768390A JPH04225462A JP H04225462 A JPH04225462 A JP H04225462A JP 2407683 A JP2407683 A JP 2407683A JP 40768390 A JP40768390 A JP 40768390A JP H04225462 A JPH04225462 A JP H04225462A
- Authority
- JP
- Japan
- Prior art keywords
- data
- key
- calculation
- numeric
- register
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 230000010365 information processing Effects 0.000 claims description 8
- 238000000034 method Methods 0.000 description 17
- 238000010586 diagram Methods 0.000 description 4
- 235000016496 Panda oleosa Nutrition 0.000 description 2
- 240000000220 Panda oleosa Species 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
Landscapes
- Calculators And Similar Devices (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【0001】0001
【産業上の利用分野】この発明は、メモとして記憶され
た数字データを用いて演算処理を可能にした情報処理装
置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus that enables arithmetic processing using numerical data stored as memos.
【0002】0002
【従来の技術】従来より知られている電子手帳と呼ばれ
る装置は、文字類(かな,カナ,漢字,アルファベット
等)と数字などを所定の形式で入力し、JIS等の統一
コードで記憶するものである。このように記憶したデー
タには文字類と数字が混在するケースが通常であり、ま
た、その中に含まれている数字データには他の目的に使
用できる数字が存在することも多い。しかし従来の電子
手帳は、この数字を他の目的、例えば演算用の数値とし
て取り出すことができなかった。さらに具体的に説明す
ると、例えば、市場価格の調査のデータとして商品名と
その価格を電子手帳に記憶してあっても、特定商品の平
均値を求めたいような場合に記憶された価格データを取
り出し利用することができず、この平均値の計算のため
に価格データを改めて入力する必要があった。[Prior Art] A conventionally known device called an electronic notebook is one in which characters (kana, kana, kanji, alphabets, etc.) and numbers are entered in a predetermined format and stored in a unified code such as JIS. It is. Data stored in this way usually includes a mixture of letters and numbers, and the number data contained therein often includes numbers that can be used for other purposes. However, conventional electronic notebooks have not been able to extract these numbers for other purposes, such as calculations. To explain more specifically, for example, even if product names and their prices are stored in an electronic notebook as data from a market price survey, the stored price data may be retrieved if the average price of a specific product is to be determined. was not available, and it was necessary to re-enter price data in order to calculate this average value.
【0003】0003
【発明が解決しようとする課題】この発明は、上記した
ような問題を解決するためになされたもので、単なるメ
モ用のデータとして記憶された数字データを演算等の他
の目的に利用する数値データとして取り出し使用するこ
とのできる情報処理装置を提供することを目的としてい
る。[Problems to be Solved by the Invention] This invention has been made to solve the above-mentioned problems, and it is possible to convert numeric data stored simply as memo data to numeric data that can be used for other purposes such as calculations. The purpose is to provide an information processing device that can be extracted and used as data.
【0004】0004
【課題を解決するための手段】この発明の情報処理装置
は、キー入力された文字および数字データを記憶し、記
憶した前記データの表示を必要に応じて可能にした情報
処理装置において、記憶した数字データを選択して取出
す手段と、この手段により取出された数字データを演算
可能なコードに変換する手段と、この手段によりコード
変換された数字データを用いて所定の演算を実行する手
段とを具備することを特徴としている。[Means for Solving the Problems] An information processing device of the present invention stores key-input character and numeric data and enables display of the stored data as needed. A means for selecting and extracting numerical data, a means for converting the numerical data extracted by this means into a code that can be operated, and a means for performing a predetermined operation using the numerical data code-converted by this means. It is characterized by the following:
【0005】[0005]
【作用】このように情報処理装置を構成することにより
、メモとして記憶した数字データを用いて所定の演算処
理が可能になる。[Operation] By configuring the information processing device in this way, it becomes possible to perform predetermined arithmetic processing using numerical data stored as a memo.
【0006】[0006]
【実施例】以下、図面を参照しながらこの発明の一実施
例を説明する。図1はこの実施例のハードの概略構成を
示すブロック構成図であり、図2,図3はそれぞれこの
実施例の動作フローを説明するフローチヤートである。
また、図4(a) 〜(d) は表示の上でこの実施例
の動作を説明するための説明図である。DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a schematic hardware configuration of this embodiment, and FIGS. 2 and 3 are flowcharts each illustrating the operational flow of this embodiment. Further, FIGS. 4(a) to 4(d) are explanatory diagrams for explaining the operation of this embodiment on a display.
【0007】図1において、キー入力部1には文字を入
力する文字キー1a,数字を入力する数字キー1bのほ
かメモモードを設定するメモキー1c,計算モード設定
用の計算キー1d,演算操作用の各種演算キー1eおよ
びデータを検索するためのリターンキー1fが設けられ
ており、このキー入力部1で入力された情報が各部を制
御する制御部2に送られる。In FIG. 1, a key input unit 1 includes a character key 1a for inputting characters, a numeric key 1b for inputting numbers, a memo key 1c for setting a memo mode, a calculation key 1d for setting a calculation mode, and a calculation key 1d for arithmetic operations. Various calculation keys 1e and a return key 1f for searching data are provided, and information input through the key input section 1 is sent to a control section 2 that controls each section.
【0008】制御部2はキー入力部1から指示される処
理モードのフラグをモードフラグM2aに立て、このフ
ラグによりプログラムメモリ2bに格納された実行プロ
グラムを引き出し、指示されたモードの処理を行うもの
である。この制御部2は次の各部に接続されている。入
力された情報や処理結果等を表示する表示部3,入力さ
れたメモデータや処理データを記憶するデータメモリ4
に対してポインタ5aから読書き位置を指定して読書き
を行うR/W制御部5,このR/W制御部5により読出
されたデータが文字データか数字データであるかを判別
する数字判別部6、この数字判別部6で数字と判別した
数字コードをBCDコードに変換するBCDコード変換
部7,さらにBCDコード変換部7でBCDコードに変
換された数字データを演算準備のため一旦格納するX・
Yレジスタ8a,8bおよび演算子用の演算子レジスタ
8cからなるレジスタ部8、および、所定の演算機能を
有し、レジスタ部8に格納された数字データをもとに指
示された演算を行う演算部9に接続されている。The control section 2 sets a flag for the processing mode instructed by the key input section 1 in the mode flag M2a, uses this flag to retrieve the execution program stored in the program memory 2b, and executes the processing in the instructed mode. It is. This control section 2 is connected to the following sections. A display unit 3 that displays input information, processing results, etc., and a data memory 4 that stores input memo data and processing data.
A R/W control unit 5 specifies a read/write position from a pointer 5a and performs reading/writing, and a numeric discrimination unit determines whether data read by the R/W control unit 5 is character data or numeric data. part 6, a BCD code converter 7 which converts the numeric code determined as a number by the numeric discriminator 6 into a BCD code; and a BCD code converter 7 which further stores the numeric data converted into a BCD code by the BCD code converter 7 in preparation for calculation. X・
A register unit 8 consisting of Y registers 8a, 8b and an operator register 8c for operators, and an arithmetic unit that has a predetermined arithmetic function and performs a specified operation based on the numerical data stored in the register unit 8. 9.
【0009】ハード的には上記のように構成されたこの
実施例の情報処理装置の演算動作の一例を、データメモ
リ4に記憶されたある忘年会における一人当たりの費用
金額データと出席人員データをもとに、総費用合計金額
を算出する例にとり、図2,図3及び図4において説明
する。図2はこの演算処理における計算モードのフロー
チャートであり、図3は図2のフローの中の数字サーチ
処理のフローチャートである。An example of the calculation operation of the information processing apparatus of this embodiment configured as described above in terms of hardware will be explained using data on the amount of expenses per person and data on the number of attendees at a certain year-end party stored in the data memory 4. An example of calculating the total cost will be explained with reference to FIGS. 2, 3, and 4. FIG. 2 is a flowchart of the calculation mode in this calculation process, and FIG. 3 is a flowchart of the numeric search process in the flow of FIG.
【0010】先ず、データメモリ4から忘年会のデータ
を読出して、表示部3の表示内容が図4(a) である
とき、演算処理するためキー入力部1の計算キー1dを
押して、制御部2のモードフラグM2aに1を立てるこ
とにより計算モードに設定する。計算モードになると、
図2のステップA1で、図4(b)に示すように、表示
部3の最下行を演算処理のための表示領域として確保す
るとともにレジスタ部8をクリアして演算処理を可能に
し、次のステップA2でキー入力待ちになる。このステ
ップA2でリターンキー1fが操作されると、次のステ
ップA3でリターンキー1fが連続して操作されたか否
かを判断する。最初の操作では当然連続ではないので、
このステップA3ではNoと判断してステップA4に進
み、レジスタ部8のXレジスタ8aの内容をYレジスタ
8bに移す。この最初の操作では先のステップA1でレ
ジスタ部8の全てのレジスタはクリアされているので0
のデータが移されるだけであり処理上の意味はない。こ
のステップA4の処理が終るとステップA5の数字サー
チの処理に進む。First, when the year-end party data is read from the data memory 4 and the display content on the display section 3 is as shown in FIG. The calculation mode is set by setting the mode flag M2a to 1. When in calculation mode,
In step A1 of FIG. 2, as shown in FIG. 4(b), the bottom row of the display section 3 is secured as a display area for arithmetic processing, and the register section 8 is cleared to enable arithmetic processing, and the next At step A2, the system waits for key input. When the return key 1f is operated in this step A2, it is determined in the next step A3 whether or not the return key 1f has been operated continuously. Naturally, the first operation is not continuous, so
In this step A3, the determination is No, and the process proceeds to step A4, where the contents of the X register 8a of the register section 8 are transferred to the Y register 8b. In this first operation, all registers in the register section 8 have been cleared in the previous step A1, so they are 0.
It has no meaning in terms of processing as it only transfers the data. When the process in step A4 is completed, the process proceeds to step A5, which is a numeric search process.
【0011】ステップA5の数字サーチの処理の詳細フ
ローは図3に示している。このフローにおいて、数字サ
ーチ処理に入るとデータメモリ4の読出しのため、R/
W制御部5のポインタ5aにステップB1で読出し位置
のポインタがセットされる。ポインタがセットされると
ステップB2でデータメモリ4から指定されたポインタ
のデータが1文字単位で読出される。この実施例の場合
、データの先頭である忘年会の日付の12月の「1」か
ら読出す。次のステップB3においてデータの終わりで
あるか否かを判断し、終わりでなかったらステップB4
で数字か数字以外のコードかを判別し、数字である場合
は、ステップB5において読出した数字をBCDコード
変換部7に送りBCDコードに変換した後レジスタ部8
のXレジスタ8aにこの数字を格納する。格納し終った
らステップB6でポインタに1を加えてステップB2に
戻り次のデータを読出す。A detailed flowchart of the numeric search process in step A5 is shown in FIG. In this flow, when entering the numeric search process, R/
A read position pointer is set in the pointer 5a of the W control section 5 in step B1. Once the pointer is set, the data specified by the pointer is read character by character from the data memory 4 in step B2. In the case of this embodiment, data is read starting from "1" in December, which is the date of the year-end party, which is the beginning of the data. In the next step B3, it is determined whether or not it is the end of the data, and if it is not the end, step B4
It is determined whether it is a numeric code or a non-numeric code, and if it is a numeric code, the number read in step B5 is sent to the BCD code conversion section 7 and converted into a BCD code, and then the register section 8
This number is stored in the X register 8a. When the storage is completed, 1 is added to the pointer in step B6, and the process returns to step B2 to read the next data.
【0012】ステップB4で数字でないと判断すれば、
ステップB7で少数点か、他のコードかを判断し、少数
点であればステップB8で少数点処理を行いステップB
6に進む。またステップB7で少数点でないと判断した
場合、つまり文字や記号の場合はステップB9で数字取
込み後か否かを判断し、数字取込み後でなかった場合は
ステップB6に進み次のデータを読出す。このステップ
B9で数字取込み後であると判断した場合およびステッ
プB3で読出しデータは終了と判断すれば、この数字サ
ーチ処理は終わり、もとの計算モード処理のフローにリ
ターンする。[0012] If it is determined in step B4 that it is not a number,
In step B7, it is determined whether it is a decimal point or another code, and if it is a decimal point, decimal point processing is performed in step B8, and step B
Proceed to step 6. Also, if it is determined in step B7 that it is not a decimal point, that is, in the case of a character or symbol, it is determined in step B9 whether or not the number has been imported, and if it has not been, the process proceeds to step B6 to read the next data. . If it is determined in this step B9 that the number has been taken in, and if it is determined in step B3 that the read data is finished, this number search process ends and the process returns to the original calculation mode process flow.
【0013】数字サーチ処理が終ると、計算モード処理
のステップA6でXレジスタ8aに取り込んだ数字デー
タを図4(b) に示すように表示部3の最下行の表示
する。この表示が終るとステップA2に戻り、キー入力
待ちになる。When the numeric search process is completed, the numeric data taken into the X register 8a in step A6 of the calculation mode process is displayed on the bottom line of the display section 3 as shown in FIG. 4(b). When this display ends, the process returns to step A2 and waits for key input.
【0014】操作者は表示された数字が演算に必要な数
字か否かを判断し、不要の数字であると判断すれば、リ
ターンキー1fを押して次の数字データを表示させるフ
ローを実行する。このような操作により図4(c) に
示すように会費金額である9000を計算表示領域に表
示させる。この状態にあるキー入力待ちのステップA2
でリターンキー1f以外のキーが入力されると、ステッ
プA7で押されたキーが数字キー1bからの置数か他の
キーの操作かを判断し、他のキーであればステップA8
で演算キー1eか、さらに他のキーかを判断する。[0014] The operator determines whether or not the displayed digits are necessary for the calculation. If the operator determines that the digits are unnecessary, the operator presses the return key 1f to execute a flow for displaying the next numeric data. This operation causes the membership fee amount of 9000 to be displayed in the calculation display area as shown in FIG. 4(c). Step A2 waiting for key input in this state
If a key other than the return key 1f is input in step A7, it is determined whether the pressed key is an input from the numeric key 1b or another key operation, and if it is another key, step A8 is performed.
It is determined whether it is the calculation key 1e or another key.
【0015】このステップA8で演算キー1eと判断す
れば、次のステップA9で既に演算子が取込まれていて
演算の実行が可能であるかどうかを判断する。演算可能
でなければステップA10で、ステップA8において入
力された演算子、例えば×を取り込み、ステップA2に
戻り、さらに次のキー操作待つ。この実施例の場合、図
4(d) に示すようにリターンキー1fによって次の
数字がサーチされて、人員データである25が表示され
る。If it is determined in step A8 that it is the calculation key 1e, then in the next step A9 it is determined whether the operator has already been loaded and the calculation can be executed. If the calculation is not possible, in step A10, the operator inputted in step A8, for example, x, is fetched, and the process returns to step A2 to wait for the next key operation. In this embodiment, as shown in FIG. 4(d), the next number is searched by pressing the return key 1f, and 25, which is the personnel data, is displayed.
【0016】この状態にあるキー入力待ちのステップA
2で、演算キー1eの=キーが押されるとステップA7
,A8,A9を経て、先に×演算子が入力されているの
で、ステップA11で演算が実行され演算結果はXレジ
スタ8aに格納される。格納された演算結果はステップ
A6を経て表示部3の計算表示領域に表示される。Step A waiting for key input in this state
2, when the = key of calculation key 1e is pressed, step A7
, A8, and A9, the x operator is input first, so the calculation is executed in step A11 and the calculation result is stored in the X register 8a. The stored calculation results are displayed in the calculation display area of the display section 3 through step A6.
【0017】なお、会費金額である9000を表示した
段階で、例えば会費を1000円追加するような場合は
、ステップA8で演算子+を入力した後ステップA7で
数字キー1bから1000を置数する。次のステップ1
2で既に演算子が取込まれているかを見て、演算子(こ
の場合+演算子)が取込まれていれば、さらに次のステ
ップA13でXレジスタ8aの内容、つまり9000を
Yレジスタ8bに移し、ステップA14で置数された数
字、つまり1000をXレジスタ8aに格納してステッ
プA6を経て表示部3に、この数字1000を表示する
。この後演算子=を入力すればステップA8,A9,A
10により加算演算が実行される。[0017] When the membership fee amount of 9000 is displayed, for example, if you want to add 1000 yen to the membership fee, enter the operator + in step A8, and then enter 1000 from the number key 1b in step A7. . Next step 1
2, it is checked whether an operator has already been imported, and if an operator (in this case, the + operator) has been imported, the contents of the X register 8a, that is, 9000, are transferred to the Y register 8b in the next step A13. The number set in step A14, that is, 1000, is stored in the X register 8a, and the number 1000 is displayed on the display section 3 through step A6. After this, if you input the operator =, steps A8, A9, A
10 performs an addition operation.
【0018】このよう操作により、メモ用として記憶さ
れた数字データを演算用の数字として活用するものであ
る。[0018] Through this operation, the numerical data stored for memo purposes is utilized as numerical data for calculations.
【0019】なお、この発明は上記実施例に限定される
ものではなく、要旨を変更しない範囲で変形して実施で
きる。It should be noted that the present invention is not limited to the above-mentioned embodiments, but can be modified and implemented without changing the gist.
【0020】[0020]
【発明の効果】この発明によれば、メモとして入力され
た数字データを計算用に活用できるので電子手帳などの
情報処理装置の利用範囲を広げることができる。According to the present invention, the range of use of information processing devices such as electronic notebooks can be expanded because numerical data input as memos can be utilized for calculations.
【図1】この発明の一実施例のハード構成を説明するブ
ロック回路図。FIG. 1 is a block circuit diagram illustrating the hardware configuration of an embodiment of the present invention.
【図2】この実施例の計算モード処理のフローチャート
。FIG. 2 is a flowchart of calculation mode processing in this embodiment.
【図3】この実施例の数字サーチ処理のフローチャート
。FIG. 3 is a flowchart of numerical search processing in this embodiment.
【図4】同図(a)(b)(c)(d)は、表示の上で
この実施例の動作を説明するための説明図。FIGS. 4(a), 4(b), 4(d) are explanatory diagrams for explaining the operation of this embodiment on a display; FIG.
1……キー入力部 1a…文字キー
1b…数字キー
1c…メモキー 1d…計算キ
ー 1e…演算キー
1f…リターンキー
2……制御部 2a…モー
ドフラグM 2b…プログラムメモリ
3……表示部 4……デー
タメモリ 5……R/W制御部
5a…ポインタ 6……数字判
別部 7……BCDコード変換部
8……レジスタ部 8a…Xレジス
タ 8b…Yレジスタ1...Key input section 1a...Character key 1b...Numeric key 1c...Memo key 1d...Calculation key 1e...Calculation key 1f...Return key 2...Control section 2a...Mode flag M 2b...Program memory 3...Display section 4... ...Data memory 5...R/W control section 5a...Pointer 6...Number discrimination section 7...BCD code conversion section 8...Register section 8a...X register 8b...Y register
Claims (1)
憶し、記憶した前記データの表示を必要に応じて可能に
した情報処理装置において、記憶した数字データを選択
して取出す手段と、この手段により取出された数字デー
タを演算可能なコードに変換する手段と、この手段によ
りコード変換された数字データを用いて所定の演算を実
行する手段とを具備することを特徴とした情報処理装置
。1. An information processing device that stores key-input character and numeric data and allows the stored data to be displayed as needed, comprising means for selecting and retrieving stored numeric data; 1. An information processing device comprising: means for converting the numerical data extracted by the means into a computable code; and means for executing a predetermined computation using the numerical data code-converted by the means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2407683A JP2998209B2 (en) | 1990-12-27 | 1990-12-27 | Information processing apparatus and information processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2407683A JP2998209B2 (en) | 1990-12-27 | 1990-12-27 | Information processing apparatus and information processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH04225462A true JPH04225462A (en) | 1992-08-14 |
JP2998209B2 JP2998209B2 (en) | 2000-01-11 |
Family
ID=18517239
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2407683A Expired - Fee Related JP2998209B2 (en) | 1990-12-27 | 1990-12-27 | Information processing apparatus and information processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2998209B2 (en) |
-
1990
- 1990-12-27 JP JP2407683A patent/JP2998209B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2998209B2 (en) | 2000-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0571983B2 (en) | ||
JPH1040247A (en) | Data processor | |
JPH04225462A (en) | Information processor | |
JPH0236019B2 (en) | ||
JPH02196369A (en) | Input device for slip data | |
JP2585048Y2 (en) | Numeric character input device | |
JP2894890B2 (en) | Information terminal equipment | |
JPH0535688A (en) | Portable data processor | |
JP2638689B2 (en) | Personal information management device | |
JPH04130571A (en) | Numerical calculation method | |
JPH09146892A (en) | Electronic equipment | |
JPS62156762A (en) | Character data input device | |
JPH0916620A (en) | Index search system | |
JPH04195580A (en) | Index term file creation device | |
JPH02297658A (en) | Document processor | |
JPH01265352A (en) | small electronic calculator | |
JPH03194656A (en) | Cad device | |
JPH02297279A (en) | Document processor with next registration code display function | |
JP2001154789A (en) | Information terminal and recording medium | |
JPH0786799B2 (en) | Data entry method | |
JPS61100834A (en) | Word processor | |
JPS62156760A (en) | Document data processing device | |
JPH09259019A (en) | Data management device | |
JPH0731659B2 (en) | Data storage | |
JPH04184563A (en) | Table data processor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20071105 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081105 Year of fee payment: 9 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091105 Year of fee payment: 10 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101105 Year of fee payment: 11 |
|
LAPS | Cancellation because of no payment of annual fees |