Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS5916306B2 - calculator - Google Patents
[go: Go Back, main page]

JPS5916306B2 - calculator - Google Patents

calculator

Info

Publication number
JPS5916306B2
JPS5916306B2 JP51047511A JP4751176A JPS5916306B2 JP S5916306 B2 JPS5916306 B2 JP S5916306B2 JP 51047511 A JP51047511 A JP 51047511A JP 4751176 A JP4751176 A JP 4751176A JP S5916306 B2 JPS5916306 B2 JP S5916306B2
Authority
JP
Japan
Prior art keywords
accumulator
data
date
order
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP51047511A
Other languages
Japanese (ja)
Other versions
JPS52130545A (en
Inventor
章宏 山高
勲 針ケ谷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP51047511A priority Critical patent/JPS5916306B2/en
Priority to US05/777,828 priority patent/US4149261A/en
Priority to SE7703055A priority patent/SE435218B/en
Priority to IT48539/77A priority patent/IT1078154B/en
Publication of JPS52130545A publication Critical patent/JPS52130545A/en
Priority to US06/006,751 priority patent/US4276606A/en
Priority to US06/426,078 priority patent/US4486849A/en
Publication of JPS5916306B2 publication Critical patent/JPS5916306B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Calculators And Similar Devices (AREA)
  • Input From Keyboards Or The Like (AREA)
  • Digital Computer Display Output (AREA)

Description

【発明の詳細な説明】 本発明は計算機に関し、特に日付入力手段を備えた計算
機に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a calculator, and more particularly to a calculator equipped with date input means.

従来の日付入力の〔年月日〕の入力順序は、世界各国の
習慣によつて異なるが、一般に日本に於ては昭和(元号
)○0年○○月0○日、若しくは西暦0○○○年○1月
0○日が、米国やヨーロッパでは0○月○1日0○○○
年(西暦)が、又英国では0○旧01月○○○0年が一
般に用いられ、以上4通シの入力順序パターンが世界的
に使用されている。
The input order of [year, month, and day] in conventional date input differs depending on the customs of each country around the world, but in Japan, it is generally Showa (era name) ○○ year ○○ month 0○ day, or year 0○. ○○ January 0○ day is 0○ month ○ 1st 0○○○ in the United States and Europe.
The year (Western calendar) is commonly used in the UK, and the year 0○ old January ○○○0 is generally used, and the above four input order patterns are used worldwide.

ところで従来の日付計算、日数計算のできる電卓等の計
算機に於ては、〔年月日〕の入力順序は上記4通シのう
ちいずれかの入力順序に固定されているため、その様な
計算機を使つて日付、日数計算等を行なう場合には、あ
る国の人々にとつては使い易くても、他の国の人々にと
つては非常に使いづらいという弊害を生じ、又最近の日
本のオフィスにおける様に、日付の入力順序がオフィス
によつて米国、ヨーロッパ式、英国式、或いは日本式、
その中でも元号を使つているところもあれば、西暦を使
つているところもあるという風に色合あシ、使用者に少
なからず不便を与えていた。
By the way, in conventional calculators and other calculators that can calculate dates and number of days, the input order of [year, month, and day] is fixed to one of the four above-mentioned numbers. When using it to calculate dates, number of days, etc., it may be easy for people in one country to use it, but it may be very difficult for people in other countries to use it. As in an office, the date entry order may be American, European, British, or Japanese, depending on the office.
Among them, some used the era names, while others used the Western calendar, causing considerable inconvenience to users.

本発明はかかる不便を解消するべく、上述した種々の入
力順序のいずれによつても入力を可能ならしめた計算機
を提供するものである。以下実施例に即して本発明を説
明する。
In order to eliminate this inconvenience, the present invention provides a computer that allows input in any of the various input orders described above. The present invention will be explained below based on Examples.

図は本発明に係る計算機の動作を説明するための回路図
で、図中1は任意の日付入力を上述した順序で入力させ
るための入力順序設定用ポジションを選択する選択スイ
ッチを示し、該スイッチ1には、次に示す入力順序に対
応する4個のポジション1334が設けられ、該ポジシ
ョン1334を任意に選択できる様になつている。
The figure is a circuit diagram for explaining the operation of the calculator according to the present invention. In the figure, 1 indicates a selection switch for selecting an input order setting position for inputting arbitrary date inputs in the above-mentioned order. 1 is provided with four positions 1334 corresponding to the following input order, and the positions 1334 can be arbitrarily selected.

(ポジション) (入力順序) □ ○0年○○月○○日 (昭和) □ ○○○0年0○月01日 (西暦) 301月0○日0○0○年 (西暦) 3○○日○○月○○○○年 (西暦) 2はスイッチ1の選択ポジションの状態を示すべく、そ
れぞれのポジションに対応して設けられた4個のフリッ
プフロノブF1〜F4から成るフリップフロップ群、3
は任意の情報を入力するため、のキー入力装置、4はC
PU(CenterProcess一ingUnit)
、5はCPU4に所定の演算、制御を行なわせるシーケ
ンスを記憶させたリード・すツリー・メモリー(ROM
)、6はメモリーを含むアキユムレータ一(AR)とす
る)、7はデータを格納しるためのレジスター(BRと
する)、G1〜G6はゲート、aはアキユムレータ一6
にデータをストアするための命令信号線、bはアキユム
レータ一6にレジスター7の内容を転送するための命令
信号線、cはアキユムレータ一6にデータを発生させる
ための命令信号線、dはアキユムレータ一6にレジスタ
ー7の内容を加算させるための命令信号線、eはアキユ
ムレータ一6の内容をレジスター7にストアさせるため
の命令信号線、fはアキユムレータ一6の内容を右へシ
フトさせるための命令信号線、gはアキユムレータ一6
の内容を左へシフトさせるための命令信号線、hはアキ
ユムレータ一6の内容の下位四桁をレジスタにストアさ
せるための命令信号線である。
(Position) (Input order) □ ○0 year ○○ month ○○ day (Showa era) □ ○○○ 0 year 0○ month 01 (Western calendar) 301 month 0○ day 0○0○ year (Western calendar) 3○○ Day ○○ month ○○○○ year (AD) 2 is a flip-flop group consisting of four flip-flop knobs F1 to F4 provided corresponding to each position to indicate the state of the selected position of switch 1; 3
is a key input device for inputting arbitrary information, and 4 is a C key input device.
PU (Center Process Unit)
, 5 is a read tree memory (ROM) that stores sequences for causing the CPU 4 to perform predetermined calculations and controls.
), 6 is an accumulator (AR) including memory), 7 is a register for storing data (BR), G1 to G6 are gates, and a is an accumulator 6
b is a command signal line for transferring the contents of register 7 to accumulator 16, c is a command signal line for generating data in accumulator 16, and d is a command signal line for storing data in accumulator 16. 6 is a command signal line for adding the contents of register 7 to register 7, e is a command signal line for storing the contents of accumulator 16 in register 7, and f is a command signal line for shifting the contents of accumulator 6 to the right. line, g is the accumulator -6
h is a command signal line for shifting the contents of accumulator 16 to the left, and h is a command signal line for storing the lower four digits of the contents of accumulator 16 in the register.

以上本発明に係る計算機の回路図の概略を説明したが、
本発明の特徴はスイツチ1に訃ける入力順序選択ポジシ
ヨンが1〜4のいずれにセツトされていても、計算機内
で日付、日数演算を行なう直前のデータの形としては全
て、○○月○○日0000年(西暦)のデータ構成にな
る様にしたことに存する。
Although the outline of the circuit diagram of the computer according to the present invention has been explained above,
The feature of the present invention is that regardless of whether the input order selection position for switch 1 is set to 1 to 4, the data format immediately before date and day calculations are performed in the computer is ○○ month ○○. The data structure is based on the date 0000 (Western calendar).

今一例として、スイツチ1の選択ポジシヨンを1にセツ
トし、〔昭和50年11月28日〕というデータをキー
入力装置3を通して入力させた場合、これを前述の如く
11月28日1975年に変換する論理回路の動作を表
1に従つて順次説明する。
As an example, if the selection position of switch 1 is set to 1 and the data [November 28, 1975] is entered through key input device 3, this will be converted to November 28, 1975 as described above. The operation of the logic circuit will be sequentially explained according to Table 1.

先ず、キー入力装置3の置数キーに65011287を
その順序に従つて押すとCPU4よりの命令線aによう
キー入力装置3ようの置数データがアキユムレータ一6
にストアされる(表1(1))。
First, when you press 65011287 on the numeric key of the key input device 3 in the order shown, the numeric data of the key input device 3 is transferred to the accumulator 16 according to the command line a from the CPU 4.
(Table 1 (1)).

つづいてキー入力装置3の日付入力キー“Date゛(
又は6Days″)が押されると先ずCPU4がスイツ
チ1の状態が1であることをフリツプフロツブ群2のフ
リツプフロツブF1がセツトされていることから判断し
、データを〔00年00月00日〕の形から〔00JB
J.00E10(00年〕の形へ変換させる命令のシー
ケンスが記憶されているROM5の先頭番地を指定し、
以下そのROM5に記憶されているシーケンスに従つて
、CPU4から各命令線に信号を出す。以下順を追つて
説明すると先ず、CPU4よりの命令線B,eによりゲ
ートG6,G3が動作しアキユムレータ一6とレジスタ
ー7の内容が変換される(表1(2))。つづいてCP
U4ようの命令線cによシ西暦と昭和元号の差をもとに
したデータ619250000″がアキユムレータ一6
にストアされる(表1(3))。更にCPU4よりの命
令線dによつてゲートG2が動作してレジスター7の内
容がアキムレータ一6の内容に加算される(表1(4)
)。つづいてCPU4ようの命令線eによつてゲートG
3が動作してアキユムレータ一6の内容がレジスター7
にストアされる(表1(5))。つづいてCPU4より
の命令線fによつてゲートG4が動作してアキユムレー
タ一6の内容が4桁右へシフトされる(表1(6))。
つづいてCPU4ようの命令線B,eによつてゲートG
6,G3が動作してアキユムレータ一6とレジスター7
の内容が交換される(表1(7))。つづいてCPU4
よジの命令線gによつてゲートG5が動作してアキユム
レータ一6の内容が4桁左へシフトされる(表1(8)
)。つづいてCPU4よりの命令線dによつてゲートG
2が動作してレジスター7の内容がアキユムレータ一6
の内容に加算される(表1(9))。以上のような手順
により昭和50年11月28日という入力データは11
月28日1975年というデータに変換されてアキユム
レータ一6内にストアされるわけである。
Next, press the date input key “Date” on the key input device 3.
or 6 Days'') is pressed, the CPU 4 first determines that the state of switch 1 is 1 from the fact that flip-flop F1 of flip-flop group 2 is set, and converts the data from the format of [00/00/00]. [00JB
J. Specify the starting address of ROM5 where the sequence of instructions to convert to the form 00E10 (00 years) is stored,
Thereafter, according to the sequence stored in the ROM 5, signals are sent from the CPU 4 to each command line. To explain the sequence below, first, the gates G6 and G3 are operated by command lines B and e from the CPU 4, and the contents of the accumulator 16 and the register 7 are converted (Table 1 (2)). Followed by CP
According to command line c like U4, data 619250000'' based on the difference between the Western calendar and the Showa era is stored in the storage unit 16.
(Table 1 (3)). Furthermore, the gate G2 is operated by the command line d from the CPU 4, and the contents of the register 7 are added to the contents of the accumulator 16 (Table 1 (4)
). Next, by command line e of CPU4, gate G is
3 operates and the contents of accumulator 16 are transferred to register 7.
(Table 1 (5)). Subsequently, the gate G4 is operated by the command line f from the CPU 4, and the contents of the accumulator 16 are shifted to the right by four digits (Table 1 (6)).
Next, the gate G is controlled by the command lines B and e of the CPU4.
6, G3 operates and accumulator 6 and register 7
The contents of are exchanged (Table 1 (7)). Next, CPU4
The gate G5 is operated by the next command line g, and the contents of the accumulator 16 are shifted to the left by 4 digits (Table 1 (8)
). Next, the gate G is controlled by the command line d from the CPU4.
2 operates and the contents of register 7 become accumulator 16.
(Table 1 (9)). With the above procedure, the input data for November 28, 1975 will be 11
The data is converted into data of month 28, 1975, and stored in the storage unit 16.

以上の説明はスイツチ1に於て、1のポジシヨンにセツ
トされている場合についてであるが、2のポジシヨンに
セツトされている場合はデータがアキユムレータ一6に
ストアされた後、表1の(5)から表1に示された手順
に従えばよく、又3のポジシヨンにセツトされている場
合には最初から所定の入力順序でデータが入力されるた
め表1に示された変換は必要ない。
The above explanation is based on the case where switch 1 is set to position 1, but when it is set to position 2, after data is stored in accumulator 6, ), the procedure shown in Table 1 can be followed, and if position 3 is set, data is input in a predetermined input order from the beginning, so the conversion shown in Table 1 is not necessary.

4にセツトされている場合は、表2に示した手順に従え
ばよい。
If it is set to 4, the procedure shown in Table 2 can be followed.

(説明は表1の場合と同様なので省略)以上説明した様
に、本発明に係る計算機にはデータ人力順序を選択する
選択スイツチが設けられて}b1この選択スイツチの示
すポジシヨンに対応する各フリツプフロツプのセツト状
態から、該計算機内に内蔵されているCPUがそれぞれ
のデータ変換シーケンスの記憶されているROMの先頭
番地を指定し、そのROMのシーケンスに従つて、各命
令線に信号を出し入力データを所定の人力順序に変換す
るもので実用上極めて便なるものである。
(The explanation is omitted because it is the same as that in Table 1.) As explained above, the computer according to the present invention is provided with a selection switch for selecting the manual order of data} b1 Each flip-flop corresponding to the position indicated by this selection switch From the set state, the CPU built into the computer specifies the starting address of the ROM where each data conversion sequence is stored, and outputs a signal to each command line according to the sequence in the ROM to convert the input data. This is extremely convenient in practice as it converts the data into a predetermined manual order.

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

図は本発明に係る計算機の動作を説明するための回路図
である。 1・・・・・・入力順序選択スイツチ、2・・・・・・
フリツプフロツプ群、3・・・・・・キー入力装置、4
・・・・・・CPU、5・・・・・・ROMl6・・・
・・・アキユムレータ一 7・・・・・・レジスター、
G,〜G6・・・・・・ゲート。
The figure is a circuit diagram for explaining the operation of the computer according to the present invention. 1... Input order selection switch, 2...
Flip-flop group, 3...Key input device, 4
...CPU, 5...ROM16...
...Accumulator 7...Register,
G, ~G6...Gate.

Claims (1)

【特許請求の範囲】[Claims] 1 日数計算又は日付計算を行なうに際し、日付入力デ
ータの入力順序を選択する為の選択手段と、前記選択手
段により選択された前記日付データの入力順序を予め定
められた順序に並び換える並び換え手段とを設け、いづ
れの日付入力データの順序でも日数計算又は日付計算を
可能にならしめることを特徴とする計算機。
1. Selection means for selecting the input order of date input data when calculating the number of days or date; and rearrangement means for rearranging the input order of the date data selected by the selection means into a predetermined order. What is claimed is: 1. A calculator characterized in that it is provided with the following functions, and is capable of calculating the number of days or the date in any order of date input data.
JP51047511A 1976-03-19 1976-04-26 calculator Expired JPS5916306B2 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP51047511A JPS5916306B2 (en) 1976-04-26 1976-04-26 calculator
US05/777,828 US4149261A (en) 1976-03-19 1977-03-15 Computer having circuitry for rounding-off insignificant digits
SE7703055A SE435218B (en) 1976-03-19 1977-03-17 COMPUTER WITH CIRCUITS FOR ROUNDING A NUMBER
IT48539/77A IT1078154B (en) 1976-03-19 1977-03-18 ELECTRONIC NUMERICAL CALCULATOR
US06/006,751 US4276606A (en) 1976-03-19 1979-01-26 Date data computer
US06/426,078 US4486849A (en) 1976-03-19 1982-09-28 Computer for calculating compound interest

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP51047511A JPS5916306B2 (en) 1976-04-26 1976-04-26 calculator

Publications (2)

Publication Number Publication Date
JPS52130545A JPS52130545A (en) 1977-11-01
JPS5916306B2 true JPS5916306B2 (en) 1984-04-14

Family

ID=12777124

Family Applications (1)

Application Number Title Priority Date Filing Date
JP51047511A Expired JPS5916306B2 (en) 1976-03-19 1976-04-26 calculator

Country Status (1)

Country Link
JP (1) JPS5916306B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0679312B2 (en) * 1985-02-25 1994-10-05 富士通株式会社 Calendar control method
JPS6199254U (en) * 1985-12-05 1986-06-25
JPS642230Y2 (en) * 1986-04-03 1989-01-19

Also Published As

Publication number Publication date
JPS52130545A (en) 1977-11-01

Similar Documents

Publication Publication Date Title
JPS5916306B2 (en) calculator
GB2075734A (en) Voice data output apparatus
JPS60527A (en) Word processor
JPS60241156A (en) Word processor
JPS6148676B2 (en)
JPS6112115A (en) Digital synthesizer tuner
JPH0421151Y2 (en)
JPH0465424B2 (en)
JPS6145550Y2 (en)
JPS6131888B2 (en)
JP3101310B2 (en) Character processing apparatus and method
JPH0133794B2 (en)
JPH0426919Y2 (en)
JPH0615313Y2 (en) Data storage device
JPS60162677A (en) electronic typewriter device
JPS59174934A (en) Japanese input device
JPS6040065B2 (en) small electronic calculator
JPS5943460A (en) Electronic telephone directory
JPS5922255B2 (en) Kanji input method
JPH03142520A (en) Time setting device
JPS6233810B2 (en)
JPS58106629A (en) Function selecting method
JPS6127772B2 (en)
JPH02127760A (en) document processing device
JPH0786799B2 (en) Data entry method