DE1296425B - Computing arrangement for performing the four basic arithmetic operations - Google Patents

Computing arrangement for performing the four basic arithmetic operations

Info

Publication number
DE1296425B
DE1296425B DE1965I0028589 DEI0028589A DE1296425B DE 1296425 B DE1296425 B DE 1296425B DE 1965I0028589 DE1965I0028589 DE 1965I0028589 DE I0028589 A DEI0028589 A DE I0028589A DE 1296425 B DE1296425 B DE 1296425B
Authority
DE
Germany
Prior art keywords
digit
loop
computing arrangement
operand
arrangement according
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
DE1965I0028589
Other languages
German (de)
Inventor
Owen Charles Edward Chand Ford
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.)
International Business Machines Corp
Original Assignee
International Business Machines 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 International Business Machines Corp filed Critical International Business Machines Corp
Publication of DE1296425B publication Critical patent/DE1296425B/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/38Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
    • G06F7/48Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices
    • G06F7/49Computations with a radix, other than binary, 8, 16 or decimal, e.g. ternary, negative or imaginary radices, mixed radix non-linear PCM
    • 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/08Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers from or to individual record carriers, e.g. punched card, memory card, integrated circuit [IC] card or smart card

Description

1 21 2

Die Erfindung bezieht sich auf eine Rechenanord- können. Die Anordnung hat jedoch den Nachteil, nung zur Durchführung der vier Grundrechenopera- daß zur Ausführung des betreffenden RechenschemasThe invention relates to a computing device. However, the arrangement has the disadvantage tion for carrying out the four basic arithmetic operations that for carrying out the relevant arithmetic scheme

tionen nach dem Schema Al*. + D durch wieder- einf Richer Aufwand an Steuermitteln und zahl-functions according to the scheme Al *. + D by a re f Richer effort to control means and numerous

C reiche zeitraubende Wertubertragungen zwischen den holte Operandenhalbierung, -Verdopplung, -addition 5 verschiedenen Registern notwendig sind, und -subtraktion, wobei die jeweilige Grundopera- Es ist auch bereits vorgeschlagen worden, eine tion durch Null- oder Eins-Setzen bestimmter alle vier Grundrechnungsarten ausführende Rechen-Operanden des Rechenschemas eingestellt wird, mit einheit dadurch zu verwirklichen, daß unter Wirkung ziffernweise serieller Verarbeitung der entweder rein eines Steuerwerkes das festvorgegebene Rechenbinär oder binär-dezimal verschlüsselten Operanden. i0 . /,^d4.. , j « ·■ . C rich time-consuming value transfers between the fetched operand halving, doubling, addition of 5 different registers are necessary, and subtraction, with the respective basic operation The arithmetic operands of the arithmetic scheme are set to be realized with unit by the fact that, under the effect of digit-by-digit serial processing of the operands that are either strictly a control unit, the fixed arithmetic binary or binary-decimally encrypted operands. i 0 . /, ^ d 4 .. , j «· ■.

Die deutsche Auslegeschrift 1 101 818 beschreibt schema <fl ± ® T unter AnwendunS des ρ»ηζΦ* derThe German Auslegeschrift 1 101 818 describes schema < fl ± ® T using the ρ » ηζ Φ * der

eine Rechenmaschine zur Berechnung eines Aus- fortgesetzten Addition und Subtraktion abläuft. Diea calculating machine for calculating an amount of continued addition and subtraction is running. the

druckes A7^ , wobei der Divisor C wenigstens gewünschte Grundrechenart wird dabei durch Null-C ° oder Ems-Setzen bestimmter Operanden eingestellt, A pressure ^ 7, wherein the divisor C at least desired elementary arithmetic is adjusted by zero-C ° or EMS setting certain operand,

halb so groß ist wie der Dividend B, die nach der 15 Mit dieser Recheneinheit ist es jedoch nicht möglich, Methode der Halbierung und Verdoppelung arbeitet Rechnungen in verschiedenen Währungssystemen, und bei der die Multiplikation und Division gleich- wie £ und DM, auszuführen (deutsche Auslegeschrift zeitig erfolgt. Bei dieser bekannten Rechenmaschine 1 190 705).is half the size of the dividend B, but it is after 15 This computing unit is not possible method of halving and doubling works bills in different monetary systems, and in which the multiplication and division at the same as £ and DM to perform (German In the case of this known calculating machine 1 190 705).

ist eine Vorrichtung zum Bilden der Differenz zweier Es ist ferner bei Rechenmaschinen, die mit einem Werte mit Addition oder Subtraktion, eine Ver- 20 mechanisch umlaufenden Speicher zur Operandendoppelungseinrichtung, eine Halbierungsvorrichtung speicherung arbeiten, bekannt, die Operanden und und eine Vorrichtung zum Einführen des Ergebnisses das Resultat einer Rechenoperation auf einer gemeinder Halbierungsvorrichtung in einen Resultatspeicher, samen Umlaufspur ziffernweise ineinandergeschachwenn das Ergebnis der genannten Differenzvorrich- telt zu speichern (deutsches Patent 1 074 890). Es tung positiv ist, vorgesehen. Diese Vorrichtungen 25 soll damit die Notwendigkeit separater Operandensind so angeordnet, daß in jeder von mehreren auf- und Resultatregister sowie steuerbarer Ubertragungseinanderfolgenden Rechenoperationen die erstge- wege zwischen den Registern vermieden werden, nannte Vorrichtung die Differenz des Divisors C Diese Rechenanordnung sieht jedoch keine Maß- und des Dividenden B bzw. des verdoppelten Rest- nahmen zur wahlweisen Ausführung aller vier Grundwertes der vorhergehenden Differenz bildet, die Ver- 30 rechenoperationen vor.is a device for forming the difference between two It is also known in calculating machines that work with a value with addition or subtraction, a mechanically rotating memory for operand doubling, a halving device for storing the operands and and a device for introducing the result the result of an arithmetic operation on a communal halving device in a result memory, the revolving track digit-by-digit, if the result of the above-mentioned difference device is to be stored (German patent 1 074 890). It is intended to be positive. These devices 25 are supposed to avoid the need for separate operands so that in each of several up and result registers as well as controllable transfer successive arithmetic operations the first path between the registers is avoided of the dividend B or the doubled remainder for the optional execution of all four basic values of the preceding difference forms the arithmetic operations.

doppelungsvorrichtung den Restwert verdoppelt und Die Aufgabe vorliegender Erfindung besteht darin, die Halbierungsvorrichtung den Multiplikator A eine Rechenanordnung anzugeben, mit der es möglich halbiert. Dieser Ablauf wird dadurch realisiert, daß ist, den Steuer- und Zeitaufwand bei der Ausführung vier zueinander parallelgeschaltete Vielfachschiebe- von Rechenoperationen nach dem Prinzip der schrittregister vorgesehen sind, von denen drei zur Auf- 35 weisen Operandenhalbierung und -Verdopplung zu nähme der Operanden A, B, C und das vierte als reduzieren und nach diesem Prinzip nicht nur Multi-Zwischenregister dient. Nach Einspeicherung der plikationen und Divisionen, sondern auch Additionen Operanden beginnt eine Operation, indem geprüft und Subtraktionen auszuführen, wird, ob der Inhalt des Divisorregisters kleiner als Diese Aufgabe wird gemäß der Erfindung dadurch die halbe Maximalkapazität dieses Registers ist. 40 gelöst, daß die Ziffern der Operanden in der Folge C0, Wenn diese Bedingung erfüllt wird, erfolgt ein Ver- ^0, C1, A1, C2, A2 ... Cn, An, B0, D0, B1, D1 ... Bn, Dn gleich des Inhaltes des Divisorregisters mit dem in einem Serienspeicher gespeichert sind und wiederß-Register. Daraufhin beginnt der vorausgehend holt in einer durch den Serienspeicher und eine erläuterte Rechenprozeß, innerhalb dem die ange- Addier - Subtrahier - Einrichtung gebildeten Hauptführten Additionen und Subtraktionen durch über- 45 schleife umlaufen, daß eine vom Ausgang zum Eintragungen zwischen den Registern ausgeführt werden, gang der Addier-Subtrahier-Einrichtung führende Das ursprünglich den Operanden B enthaltende Hilfsschleife vorgesehen ist, die eine Laufzeitver-Register wird dabei als Resultatregister benutzt. zögerung in der Größe einer Ziffernzeit aufweist, daß Zur Verdoppelung des Divisorrestes dient eine Rück- bei gleichen Vorzeichen von A und C beide Eingänge führschleife, die dem Divisorregister zugeordnet ist 50 der Addier-Subtrahier-Einrichtung zu den Cx- und und in der sich eine Verdopplerschaltung befindet. ßs-Ziffernzeiten zum Zwecke der Verdopplung von Eine Halbierung des Operanden A erfolgt durch Cx und Bx in die Hauptschleife geschaltet werden und eine gleichartige Rückführschleife, in der sich eine nach jeder Verdopplung der darauffolgenden Ax-Halbiererschaltung befindet. Zwischen den einzelnen bzw. D^-Ziffernzeit jeweils der eine Eingang der Registern sind Ubertragungswege vorgesehen, die 55 Addier-Subtrahier-Einrichtung zum Zwecke der BiI-über Torschaltungen von einer Steuerschaltung selek- dung von Ax Cx bzw. Dx + Bx in die Hilfsschleife tiv zur Wirkung gebracht werden. geschaltet wird, daß bei ungleichen Vorzeichen vondoubling device doubles the residual value and the object of the present invention is to provide the halving device the multiplier A to provide a computing arrangement with which it can be halved. This process is implemented in that the control and time expenditure for the execution of four parallel-connected multiple shift arithmetic operations based on the step register principle are provided, of which three would have to be used for halving and doubling operands . B, C and the fourth serve as a reduce and, according to this principle, not only serve as multi-intermediate registers. After storing the plications and divisions, but also additions of operands, an operation begins by checking and performing subtractions to determine whether the content of the divisor register is less than half the maximum capacity of this register. 40 solved that the digits of the operands in the sequence C 0 , If this condition is met, a ^ 0 , C 1 , A 1 , C 2 , A 2 ... C n , A n , B 0 , D 0 , B 1 , D 1 ... B n , D n are equal to the content of the divisor register with which are stored in a serial memory and reß registers. Thereupon the previously fetched begins in a through the serial memory and an explained arithmetic process, within which the added adding - subtracting - device formed main additions and subtractions circulate through a loop that one from the output to the entries between the registers are carried out The auxiliary loop originally containing the operand B is provided; the run-time register is used as the result register. delay in the size of a digit time that doubles the divisor remainder is a return loop with the same sign of A and C both inputs, which is assigned to the divisor register 50 of the adding-subtracting device to the C x - and and in a doubler circuit is located. ß s digit times for the purpose of doubling the operand A is halved by switching C x and B x into the main loop and a similar feedback loop in which there is a halving circuit after each doubling of the subsequent A x. Transmission paths are provided between the individual or D ^ digit times of the one input of the registers, the adding / subtracting device for the purpose of BiI-over gate circuits from a control circuit selection of A x - C x or D x + B x can be brought into effect in the auxiliary loop. it is switched that if the signs of

Diese Rechenmaschine hat zwar den Vorteil, daß A und C zu den Cx- und ßx-Ziffemzeiten eine in der die relativ komplizierten Rechenoperationen »Multi- Hauptschleife befindliche Binärstellenverschiebeeinplikation« und »Division« auf die einfacheren Rechen- 60 richtung zum Zwecke der Halbierung von Cx und Bx Operationen »Addition« und »Subtraktion« sowie wirksam gemacht wird und nach jeder Halbierung auf die im binären System sehr einfachen Opera- zur darauffolgenden Ax- bzw. £>X-Ziffernzeit jeweils tionen der Verdopplung und Halbierung zurück- der eine Eingang der Addier-Subtrahier-Einrichtung geführt werden können. Ein weiterer Vorteil dieser zum Zwecke der Bildung von Ax + Cx bzw. Dx Bx bekannten Rechenmaschine besteht darin, daß die 65 in die Hilfsschleife geschaltet wird und daß die Folge Rechenoperationen in Zahlensystemen mit verschie- so oft in der Hauptschleife umläuft, bis A und/oder B dener Radix, beispielsweise dem Pfund-Sterling- Null geworden sind, so daß das Ergebnis als der zu System und dem Dezimalsystem, ausgeführt werden dieser Zeit vorhandene D-Wert verfügbar ist.This calculating machine has the advantage that A and C, at the C x and β x digit times, have a binary position shift implication and "division" in the relatively complicated arithmetic operations "multi-main loop" in the simpler arithmetic direction for the purpose of halving of C x and B x operations "addition" and "subtraction" and is made effective and after each halving back to the operations of doubling and halving, which are very simple in the binary system, to the following A x or £> X digit times - The one input of the adding-subtracting device can be performed. Another advantage of this calculating machine, known for the purpose of forming A x + C x or D x - B x , is that 65 is switched to the auxiliary loop and that the sequence of arithmetic operations in number systems runs different times in the main loop until A and / or B have become the radix, for example the pound sterling zero, so that the result is available as the D- value available at that time.

3 43 4

Durch den kontinuierlichen Umlauf der Operanden Addier-Subtrahier-Schaltung 58 die Hälfte der Basis und Zwischenresultate in der Hauptschleife und durch R/2 zu der Ziffer addiert wird,
die Reduzierung der Ubertragungsoperationen zwi- Soll die gerade durch das Schieberegister 52 laufende sehen verschiedenen Teilen des Serienspeichers auf Ziffer nicht halbiert werden, so wird diese von der ein Minimum kommt das Rechenwerk gemäß der 5 letzten Stufe des Schieberegisters 52 über eine Und-Erfindung trotz des komplizierten Rechenschemas, Schaltung 53 dem einen Eingang der Addier-Subnach dem es arbeitet, mit einem verhältnismäßig trahier-Schaltung 58 zugeführt. Die Und-Schaltung geringen Aufwand an Steuermitteln und Zeitbedarf 53 wird durch das Signal H geöffnet,
aus. Die Additionen und Subtraktionen werden in der
As a result of the continuous circulation of the operand adding-subtracting circuit 58, half of the base and intermediate results in the main loop and through R / 2 are added to the digit,
the reduction of the transfer operations between the different parts of the serial memory currently running through the shift register 52 should not be halved to the digit, this is from which a minimum comes the arithmetic unit according to the last 5 stage of the shift register 52 via an AND invention despite the Complicated calculation scheme, circuit 53 is fed to one input of the adding sub after which it operates, with a relatively tracing circuit 58. The AND circuit, which requires little control means and time 53, is opened by the signal H ,
the end. The additions and subtractions are in the

Verschiedene vorteilhafte Weiterbildungen der Er- io Addier - Subtrahier - Schaltung 54 durchgeführt, die findung sind in den Unteransprüchen beschrieben. wahlweise auf Addition und Subtraktion einzustellen Nachstehend soll ein Ausführungsbeispiel der Erfin- ist. Während die Ziffer des einen Operanden (z. B. A) dung an Hand der Zeichnung näher erläutert der Addier-Subtrahier-Schaltung 54 über das Schiebewerden, register 50 zugeführt wird, gelangt die entsprechende In der in der Zeichnung dargestellten Rechen- 15 Ziffer des zweiten Operanden (z.B. C) über eine anordnung laufen die vier Operanden, A, B, C und D, Unterschleife vom Ausgang der Addier-Subtrahierständig in einer Schleife um. Diese Schleife wird Schaltung 58 und eine bei Addition und Subtraktion durch eine Verzögerungsleitung 56, insbesondere eine zu öffnende Und-Schaltung 72 zum zweiten Eingang magnetostriktive Verzögerungsleitung,ein erstes Schie- (54el) der Addier-Subtrahier-Schaltung 54. Die Verberegister 50, eine erste Addier-Subtrahier-Schaltung 20 zögerung der Unterschleife entspricht gerade einer 54, ein zweites Schieberegister 52 und eine zweite Ziffernzeit. Durch eine Und-Schaltung 59 und ein Addier-Subtrahier-Schaltung 58 gebildet. Wie in der Verzögerungsglied 64 wird eine Übertragungsschleife Verzögerungsleitung 56 angedeutet, sind die Ziffern gebildet, die den übertrag von einer Bitstelle in die der Operanden C und A und B und D jeweils ziffern- nächste überträgt.Various advantageous developments of the Erio adding-subtracting circuit 54 carried out, the invention are described in the subclaims. optionally to be set to addition and subtraction. The following is an exemplary embodiment of the invention. While the digit of one operand (e.g. A) is supplied to the adder-subtracter circuit 54 via the shift register 50, explained in more detail with reference to the drawing, the corresponding In is passed to the arithmetic 15 digit of the shown in the drawing second operands (eg C) via an arrangement, the four operands, A, B, C and D, sub-loop from the output of the add-subtract constantly circulate in a loop. This loop is circuit 58 and a first slide (54el) of the adding-subtracting circuit 54. The verb register 50, a first adding-subtracting circuit 20 delay of the sub-loop corresponds to a 54, a second shift register 52 and a second digit time. Formed by an AND circuit 59 and an add-subtract circuit 58. As in the delay element 64, a transmission loop of the delay line 56 is indicated, the digits are formed which transmit the transfer from one bit position to the next digit of the operands C and A and B and D.

weise ineinandergeschachtelt. Voraus laufen C und A, 25 Die Summe ist richtig, wenn kein Übertrag vordahinter folgen B und D. Die niedrigste Stelle der handen ist, andernfalls muß eine Korrekturziffer F Operanden läuft jeweils voraus. In dem Ausführungs- (bei Dezimalzahlen 6) addiert werden. Die Summe beispiel ist angenommen, daß die Operanden als und die Korrekturziffer F werden zu einer Uberbinärverschlüsselte Dezimalzahlen dargestellt sind. tragsschaltung 60 gebracht, die ein Übertragssignal Daher stellt das in der Verzögerungsleitung 56, von 30 erzeugt, wenn aus dem 8-Bit der Tetrade bei der links nach rechts gesehen, erste C die Einerstelle, das Addition mit der Korrekturziffer F oder aus dem zweite C die Zehnerstelle usw. des Operanden C, 8-Bit der Tetrade in der Addier-Subtrahier-Schaltung das erste A die Einerstelle, das zweite A die Zehner- 54 ein übertrag erzeugt wird. Die Überträge aus der stelle usw. des Operanden A dar. Die die Dezimal- Ubertragsschaltung 60 werden in der aus dem Verstelle darstellenden Bits mit den Wertigkeiten 1, 2, 4 35 zögerungsglied 55 und der Und-Schaltung 57 ge- und 8 sind ebenfalls so geordnet, daß jeweils das bildeten Verzögerungsschleife, die um eine Bitzeit 1-Bit vorausläuft. verzögert, wieder zum Eingang der übertragsschal-wisely nested. C and A run ahead, 25 The sum is correct if there is no carry before B and D. The lowest digit of the hand is, otherwise a correction digit F must precede each operand. In the execution (with decimal numbers 6) are added. The sum example is assumed that the operands are represented as and the correction digit F are represented as a Uber-binary-coded decimal number. Carrying circuit 60, which represents a carry signal Therefore, the delay line 56, generated by 30, when viewed from the 8-bit of the tetrad in the left to right, the first C is the ones digit, the addition with the correction digit F or from the second C. the tens etc. of the operand C, 8-bit of the tetrad in the adding-subtracting circuit the first A is the ones digit, the second A is the tens - a carry is generated. The carries from the digit etc. of the operand A represent. The decimal carry circuit 60 are in the bits representing the adjustment with the values 1, 2, 4 35 delay element 55 and the AND circuit 57 and 8 are also like this ordered that in each case the formed delay loop, which leads by one bit time 1-bit. delayed, back to the receipt of the transfer

Der erfindungsgemäß verwendete Grundalgorith- tung 60 geführt.The basic algorithm 60 used according to the invention is carried out.

mus ist: Verdopple B und C, wenn A und C das gleiche Das einen Übertrag aus einer Dezimalstelle anVorzeichen haben, führe dann die Operation A-C 40 zeigende Ausgangssignal der Ubertragsschaltung60 = > A und D + B = > D aus. Wenn sie dagegen wird in einem Verzögerungsglied 62 um eine Zeichenverschiedene Vorzeichen haben, halbiere B und C zeit verzögert und über eine Und-Schaltung 61 und an Stelle der Verdopplung und bilde A + C = > A das Verzögerungsglied 64 gleichzeitig mit dem niedrig- und D-B= > D und wiederhole so lange, bis A sten Bit der nächsthöheren Dezimalziffer dem Ein- oder B Null werden. Das exakte Ergebnis ist gleich D 45 gang der Addier-Subtrahier-Schaltung 54 zugeführt, und wird erhalten, wenn A Null wird und ein un- Das Ausgangssignal der Ubertragsschaltung 60 gegefähres Ergebnis, wenn B Null ist, aber nicht A. langt ferner nach Durchlaufen des VerzögerungS;mus is: double B and C, if A and C have the same that carry one decimal place of signs, then carry out the output signal of the carry circuit 60 => A and D + B = > D showing operation AC 40 . If, on the other hand, it is in a delay element 62 to have a sign different sign, halve B and C with a time delay and via an AND circuit 61 and instead of doubling and form A + C => A the delay element 64 simultaneously with the low and DB => D and repeat until the A first bit of the next higher decimal digit becomes the one or B zero. The exact result is equal to the D 45 output of the adding-subtracting circuit 54, and is obtained when A becomes zero and an un- The output signal of the carry circuit 60 when B is zero, but not A. also reaches after passing through of delayS;

Zur Verdopplung wird die Zahl (B oder C) dem gliedes 62 zu einer Und-Schaltung 63, der das Signal H einem Eingang (54 e 2) der Addier-Subtrahier-Schal- und die Bits der Korrekturziffer F (bei Dezimaltung 54 direkt und dem zweiten Eingang (54el) über 50 zahlen sechs) zugeführt werden. Die Korrektur erfolgt eine Und-Schaltung 51, die durch ein Signal D ge- in der Addier-Subtrahier-Schaltung 58 dadurch, daß öffnet wird, von dem Ausgang des Schieberegisters 50 zu dem in der Addier-Subtrahier-Schaltung 54 gezugeführt, bildeten Ergebnis die Korrekturziffer addiert wird. Zur Halbierung werden die Daten in dem Schiebe- In der durch die Und-Schaltung 65 und das Verregister 52 dadurch um 1 Bit nach rechts verschoben, 55 zögerungsglied 67 gebildeten Ubertragsschleife werdaß sie von der vorletzten Stufe über die Und-Schal- den die Überträge von einer Bitstelle zur nächsten tung 66 abgenommen werden. Gesteuert wird dies übertragen.To double the number (B or C) the member 62 becomes an AND circuit 63, which sends the signal H to an input (54 e 2) of the add-subtract switch and the bits of the correction number F (in the case of decimation 54 direct and the second input (54el) via 50 numbers six) are fed. The correction is carried out by an AND circuit 51, which is generated by a signal D ge in the adding-subtracting circuit 58 in that it opens, from the output of the shift register 50 to the result fed to the adding-subtracting circuit 54 the correction number is added. In order to halve the data in the shift loop formed by the AND circuit 65 and the ver register 52, they are shifted to the right by 1 bit, 55 delay element 67 so that they are carried from the penultimate stage via the AND circuits from one bit position to the next device 66. This is transferred in a controlled manner.

dadurch, daß eine Und-Schaltung 66 durch ein Si- Die Ausgangssignale der Addier-Subtrahier-Schalgnal H geöffnet wird. Um die richtige halbierte Zahl tung (58) werden in die Verzögerungsleitung 56 einzu erhalten, muß eine Addition der Hälfte der Basis 60 gegeben.in that an AND circuit 66 is opened by a Si The output signals of the add-subtract signal H. To get the correct halved number (58) into delay line 56, an addition of half of base 60 must be given.

zu der Ziffer (bei Dezimalzahlen fünf) vorgenommen Im Betrieb wird also in einem bestimmten Zeitwerden, wenn die nächsthöhere Dezimalziffer ungerade punkt eine Ziffer der Zahl C oder B im Register 52 ist. Das niedrigste von Null verschiedene Bit dieser und die entsprechende Ziffer von der Zahl A oder D nächsthöheren Ziffer des gleichen Operanden gelangt im Register 50 sein. Die Ziffer der Zahl C oder A in das Register 50 zur gleichen Zeit, zu der die erste 65 wird verdoppelt oder halbiert vom Addierer-SubZiffer das Register 52 verläßt. Dieses Bit läuft über trahierer 58 abgegeben, von wo sie sowohl über die die Und-Schaltung 68 und öffnet die Und-Schaltung Verzögerungsleitung 56 als auch Über eine Torschal-70 zusammen mit dem Steuersignal H, so daß in der tung 72 läuft, um mit der Ziffer der Zahl A oder D, to the digit (five in the case of decimal numbers) In operation, this means that in a certain time, if the next higher decimal digit is an odd point, a digit of the number C or B in register 52. The lowest non-zero bit of this and the corresponding digit from the number A or D, the next higher digit of the same operand, will be in register 50. The digit of the number C or A in register 50 at the same time that the first 6 5 is doubled or halved by the adder sub-digit leaves register 52. This bit runs via tracer 58, from where it is sent via the AND circuit 68 and opens the AND circuit delay line 56 as well as via a gate circuit 70 together with the control signal H, so that the device 72 runs to with the digit of the number A or D,

die aus dem Schieberegister 50 abgegeben wird, kombiniert zu werden. Eine Ziffernzeit später wird die neue Ziffer der Zahl A oder D im Register 52 für die Korrekturoperation bereit sein, und eine weitere Ziffer der Zahl C oder B wird im Schieberegister 50 sein.output from the shift register 50 to be combined. One digit time later, the new digit of number A or D in register 52 will be ready for the correction operation, and another digit of number C or B will be in shift register 50.

Die Vorzeichen der Zahlen A und C werden durch eine Neun oder eine Null in der höchstwertigen Stelle angezeigt und müssen bei jedem Zyklus geprüft werden. Eine bistabile Kippschaltung (nicht dargestellt) speichert das vorhergehende Vorzeichen, und eine andere bistabile Kippschaltung speichert die Änderungen des Vorzeichens der Zahl A, wobei beide den Wechsel zwischen der Halbierung und der Verdopplung, wie oben erwähnt, steuern.The signs of the numbers A and C are indicated by a nine or a zero in the most significant place and must be checked with each cycle. One flip-flop (not shown) stores the previous sign and another flip-flop stores the changes in the sign of the number A, both controlling the change between halving and doubling as mentioned above.

Die erfindungsgemäße Schaltung kann auch zur Verarbeitung von Operanden in anderer Zahlendarstellung, z. B. in rein binärer Darstellung, verwendet werden. In diesem Fall können direkt die Bits in der Verzögerungsleitung ineinandergeschachtelt werden. Die Korrektur durch Addition einer Zahl F entfällt, und es müssen nur die Überträge von Bit zu Bit berücksichtigt werden.The circuit according to the invention can also be used to process operands in a different number representation, e.g. B. in purely binary representation, can be used. In this case, the bits in the delay line can be nested directly into one another. There is no correction by adding a number F , and only the transfers from bit to bit have to be taken into account.

Soll in einem Zahlensystem anderer Radix gerechnet werden, so sind für die Korrekturziffer F und den Korrekturwert R/2 bei der Halbierung entsprechend andere Werte zu verwenden.If a different radix is to be used in a number system, different values must be used for the correction number F and the correction value R / 2 when halving.

Claims (9)

Patentansprüche:Patent claims: 1. Rechenanordnung zur Durchführung der vier Grundrechenoperationen nach dem Schema1. Computing arrangement for performing the four basic arithmetic operations according to the scheme —ρ 1- D durch wiederholte Operandenhalbierung, -Verdopplung, -addition und -subtraktion, wobei die jeweilige Grundoperation durch Nulloder Eins - Setzen bestimmter Operanden des Rechenschemas eingestellt wird, mit ziffernweise serieller Verarbeitung der entweder rein binär oder binär-dezimal verschlüsselten Operanden, dadurch gekennzeichnet, daß die Ziffern der Operanden in der Folge C0, A0, C1, A1, C2, A2... Cn, An, B0, D0, B1, D1 ... Bn, Dn in einem Serienspeicher (56) gespeichert sind und wiederholt in einer durch den Serienspeicher und eine Addier-Subtrahier-Einrichtung (54, 58) gebildeten Hauptschleife umlaufen, daß eine vom Ausgang (SSa) zum Eingang (54el) der Addier-Subtrahier-Einrichtung führende Hilfsschleife vorgesehen ist, die eine Laufzeitverzögerung in der Größe einer Ziffernzeit aufweist, daß bei gleichen Vorzeichen von A und C beide Eingänge (54el, 54el) der Addier-Subtrahier-Einrichtung zu den Cx- und Z?x-Ziffernzeiten zum Zwecke der Verdopplung von Cx und Bx in die Hauptschleife geschaltet werden und nach jeder Verdopplung zur darauffolgenden Ax- bzw. Dx-Ziffernzeit jeweils der eine Eingang(54el) der Addier-Subtrahier-Einrichtung zum Zwecke der Bildung von Ax-Cx bzw. Dx + Bx in die Hilfsschleife geschaltet wird, daß bei ungleichen Vorzeichen von A und C zu den Cx- und Bx-Ziffernzeiten eine in der Hauptschleife befindliche Binärstellenverschiebeeinrichtung (52, 66) zum Zwecke der Halbierung von Cx und Bx wirksam gemacht wird und nach jeder Halbierung zur darauffolgenden Ax- bzw. Dx-Ziffernzeit jeweils der eine Eingang (54el) der Addier-Subtrahier-Einrichtung zum Zwecke der Bildung von Ax + Cx bzw. Dx — Bx in die Hilfsschleife geschaltet wird und daß die Folge so oft in der Hauptschleife umläuft, bis A und/oder B Null geworden sind, so daß das Ergebnis als der zu dieser Zeit vorhandene D-Wert verfügbar ist.-Ρ 1- D by repeated halving, doubling, adding and subtracting operands, whereby the respective basic operation is set by setting certain operands of the calculation scheme to zero or one, with digit-by-digit serial processing of either purely binary or binary-decimally encrypted operands, thereby characterized that the digits of the operands in the sequence C 0 , A 0 , C 1 , A 1 , C 2 , A 2 ... C n , A n , B 0 , D 0 , B 1 , D 1 ... B n , D n are stored in a series memory (56) and repeatedly circulate in a main loop formed by the series memory and an adder-subtracter (54, 58) that one from the output (SSa) to the input (54el) of the adder -Subtracting device leading auxiliary loop is provided, which has a delay in the size of a digit time that with the same sign of A and C, both inputs (54 el, 54 el) of the adding-subtracting device to the C x - and Z? x digit times for the purpose of doubling C x and B x are switched into the main loop and after each doubling for the subsequent A x or D x digit time each input (54el) of the adding-subtracting device for the purpose of formation from A x -C x or D x + B x is switched into the auxiliary loop, so that if A and C to the C x and B x digit times are not the same, a binary position shifter (52, 66) located in the main loop is used for the purpose the halving of C x and B x is made effective and after each halving for the subsequent A x or D x digit time, the one input (54el) of the adding-subtracting device for the purpose of forming A x + C x or D x - B x is switched into the auxiliary loop and that the sequence runs so often in the main loop until A and / or B have become zero, so that the result is available as the D value present at that time. 2. Rechenanordnung nach Anspruch 1, dadurch gekennzeichnet, daß der Serienspeicher (56) ats Laufzeitspeicher ausgebildet ist.2. Computing arrangement according to claim 1, characterized in that the series memory (56) ats Run time memory is formed. 3. Rechenanordnung nach Anspruch 1 und 2, dadurch gekennzeichnet, daß die Stellenverschiebeeinrichtung aus einem zusätzlichen Abgriff (66) der vorletzten Stufe eines in die Schleife geschalteten Schieberegisters (52) besteht.3. Computing arrangement according to claim 1 and 2, characterized in that the position shifting device from an additional tap (66) of the penultimate stage one connected in the loop Shift register (52) consists. 4. Rechenanordnung nach den Ansprüchen 1 bis 3, dadurch gekennzeichnet, daß die Addier-Subtrahier-Einrichtung aus zwei hintereinander in der Schleife angeordneten Addier-Subtrahier-Werken (54, 58) besteht, von denen das in bezug auf die Durchlaufrichtung erste zur Operandenverdopplung, -addition und -subtraktion dient und das zweite zur Korrektur der Resultate bei Halbierung ungerader Operandenziffern durch Addition der halben Basis zur nächstniedrigeren Operandenziffer und zur Korrektur der Resultatziffern bei Verwendung einer nicht ausgeschöpften Binärgruppen verschlüsselung (Pseudotetraden) durch Addition eines Korrekturwertes (bei binär dezimalverschlüsselten Werten 6) dient.4. Computing arrangement according to claims 1 to 3, characterized in that the adding-subtracting device consists of two adding-subtracting works (54, 58) arranged one behind the other in the loop, of which the in relation on the first used for operand doubling, addition and subtraction and the second to correct the results when the odd operand digits are halved Addition of half the base to the next lower operand digit and to correct the result digits when using an unused binary group encryption (pseudotetrads) by adding a correction value (6 for binary decimal encrypted values). 5. Rechenanordnung nach den Ansprüchen 1 bis 4, dadurch gekennzeichnet, daß eine Torschaltung (70) vorgesehen ist, der der halbe Basiswert des verwendeten Zahlensystems zugeführt wird und die durch das niedrigste Bit eines zu halbierenden Operanden zur Übertragung des halben Basis wertes zum zweiten Addier-Subtrahier-Werk (58) steuerbar ist.5. Computing arrangement according to claims 1 to 4, characterized in that a gate circuit (70) is provided, which is supplied with half the base value of the number system used and the lowest bit of an operand to be halved for the transmission of the half the base value for the second adding-subtracting work (58) is controllable. 6. Rechenanordnung nach Anspruch 5, dadurch gekennzeichnet, daß der Abgriff des niedrigsten Bits eines zu halbierenden Operanden am Eingang eines Schieberegisters (50) erfolgt, das zur Aufnahme einer Operandenziffer (Ax, Bx, Cx oder Dx) dient und dem ersten Addier-Subtrahier-Werk (54) in der Schleife vorgeschaltet ist.6. Computing arrangement according to claim 5, characterized in that the tapping of the lowest bit of an operand to be halved takes place at the input of a shift register (50) which is used to receive an operand digit (A x , B x , C x or D x ) and the first adder-subtracter (54) is connected upstream in the loop. 7. Rechenanordnung nach den Ansprüchen 1 bis 6, dadurch gekennzeichnet, daß eine Ubertragsprüfsch'altung (60) vorgesehen ist, die den Pseudotetraden-Korrekturwert probeweise zu den Resultatziffern des ersten Addier-Subtrahier-Werkes addiert und bei einer Eins im höchststelligen Bit der Resultattetrade ein Steuersignal mit entsprechender Verzögerung an eine Und-Schaltung (63) liefert, die dadurch für eine übertragung des Pseudotetraden - Korrekturwertes zum zweiten Addierwerk geöffnet wird.7. Computing arrangement according to Claims 1 to 6, characterized in that a transfer checking circuit (60) is provided, which is the pseudotetrad correction value on a trial basis to the result digits of the first add-subtract work added and with a one in the most significant bit of the result tetrade a control signal with the corresponding Delay to an AND circuit (63) supplies, which thereby for a transmission of the Pseudotetrad correction value is opened to the second adder. 8. Rechenanordnung nach Anspruch 7, dadurch gekennzeichnet, daß die Übertragsprüfschaltung (60) mit einem Schieberegister (52) parallel an den Ausgang des ersten Addier-Subtrahier-Werkes (54) angeschlossen ist und daß dieses Schieberegister zur Aufnahme einer Operandenziffer (Ax, Bx, Cx oder Dx) dient und dem zweiten Addier-Subtrahier-Werk (58) in der Schleife vorgeschaltet ist.8. Computing arrangement according to claim 7, characterized in that the carry check circuit (60) with a shift register (52) is connected in parallel to the output of the first adder-subtracter (54) and that this shift register for receiving an operand number (A x , B x , C x or D x ) is used and the second adder-subtracter (58) is connected upstream in the loop. 9. Rechenanordnung nach den Ansprüchen 1 bis 8, dadurch gekennzeichnet, daß der Laufzeitspeicher (56) eine magnetostriktive Verzögerungsleitung ist.9. Computing arrangement according to claims 1 to 8, characterized in that the transit time memory (56) is a magnetostrictive delay line. Hierzu 1 Blatt Zeichnungen1 sheet of drawings
DE1965I0028589 1964-08-11 1965-07-17 Computing arrangement for performing the four basic arithmetic operations Pending DE1296425B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
GB3264364A GB1085528A (en) 1964-08-11 1964-08-11 Improved calculator

Publications (1)

Publication Number Publication Date
DE1296425B true DE1296425B (en) 1969-05-29

Family

ID=10341830

Family Applications (1)

Application Number Title Priority Date Filing Date
DE1965I0028589 Pending DE1296425B (en) 1964-08-11 1965-07-17 Computing arrangement for performing the four basic arithmetic operations

Country Status (2)

Country Link
DE (1) DE1296425B (en)
GB (1) GB1085528A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE1074890B (en) * 1954-02-03 1960-02-04 Ing C Olivetti &. C S p A Ivrea (Italien) Computing device with dynamic registers
DE1101818B (en) * 1955-11-16 1961-03-09 Int Computers & Tabulators Ltd Calculating machine for executing divisions and multiplications

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE1074890B (en) * 1954-02-03 1960-02-04 Ing C Olivetti &. C S p A Ivrea (Italien) Computing device with dynamic registers
DE1101818B (en) * 1955-11-16 1961-03-09 Int Computers & Tabulators Ltd Calculating machine for executing divisions and multiplications

Also Published As

Publication number Publication date
GB1085528A (en) 1967-10-04

Similar Documents

Publication Publication Date Title
DE1549476C3 (en) Order to execute divisions
DE1549508C3 (en) Arrangement for the carry calculation with short signal propagation time
DE2758130C2 (en) High speed binary and decimal adder
DE4101004A1 (en) PARALLEL MULTIPLIER WITH SPRUNGFIELD AND MODIFIED WALLAC TREE
DE2729912A1 (en) DIGITAL SIGNAL PROCESSING ARRANGEMENT
DE2612750A1 (en) MULTIPLE DEVICE
EP0265555B1 (en) Method and circuitry for addition of floating point numbers
DE19635114A1 (en) Multiplier for calculating product of two operands
DE1190705B (en) Four species electronic computing unit
DE2712582C2 (en) DDA computer (digital differential analyzer)
DE3302885C2 (en)
DE2727051B2 (en) Device for the binary multiplication of a first number as a multiplicand with a sum of a second and third number in the binary code which results in the multiplier
DE19635113A1 (en) Multiplier for calculating product of two operands
DE1499227C3 (en) Circuit arrangement for basic arithmetic and logical operations
DE1296425B (en) Computing arrangement for performing the four basic arithmetic operations
EP0629943B1 (en) Multiplier for real and complex numbers
DE1125685B (en) Adding machine
DE1549461C3 (en)
DE1094020B (en) Periodic numerical calculator
DE1234055B (en) Arrangement for addition or subtraction
DE1524146C (en) Division facility
DE19635111A1 (en) Multiplier for calculating product of two operands
DE2207566C3 (en) Series-parallel multiplier
DE1774483A1 (en) Binary multiplier
DE1549477C (en) Device for the rapid accumulation of a number of multi-digit binary operands