ARITHMETIC-LOGICAL DEVICE FOR SUMMING NUMBERS TO MODULE
FIELD: physics.SUBSTANCE: device contains n-bit registers, electronic keys, an inverter, an n-bit adder, an OR disconnect circuit, a control unit module, an input and output bus. The method provides subtraction of the number B from A to module P. The operands are the numbers A and B, which are in th...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Patent |
Sprache: | eng ; rus |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | FIELD: physics.SUBSTANCE: device contains n-bit registers, electronic keys, an inverter, an n-bit adder, an OR disconnect circuit, a control unit module, an input and output bus. The method provides subtraction of the number B from A to module P. The operands are the numbers A and B, which are in the range of 0 to (P-1) inclusive. The minuend, subtrahend and the module from the input bus are written into the registers. The subtraction operation is performed by summing the minuend in the forward code with the subtrahend in the additional code. If the difference of the numbers S=(A-B) is nonnegative, then the cast operation to module is not executed, and the result of the subtraction (A-B) to module P is the difference (A-B). If (A-B) |
---|