Synthesis of composite schem addition and subtraction of integers in codes with positive zero
DOI: 10.31673/2412-4338.2020.011896
DOI:
https://doi.org/10.31673/2412-4338.2020.011896Abstract
Code on the outputs of adder binary numbers described as the remainder of the sum the initial data on the adder module is equal to output carry weight. An original technique for synthesizing a way of operands representation in the addition and subtraction schemes of integers in a code with a positive zero was devel-oped, which is based on the representation the source data in the form a remainder on the adder module. A method of computer representation for integer numbers is proposed, in which the codes of positive and negative numbers are formed by the same procedure. The property of duality the addition and subtraction opera-tions on the initial data in the code with a positive zero have justified analytically, which is based on the fact that certain adder outputs union give the result just as in the two’s complement so too in the positive zero codes. Areas of allowable results values for the correct input data addition and subtraction operations are determined. It is identified combination of the adder output signals, which determine the presence and polarity the adder bit grid overflow. It is shown that designed fixing scheme bit grid overflow of adder outputs invariant with respect to operations of addition and subtraction of source data with a positive zero code. For the analytical description of arithmetic operations on integer numbers represented with the proposed encoding method, a technique of calculating the sum and difference of numbers using the biased supplementary code has been proposed. Analytically substantiated, that the technique makes the scheme of the operational adder homogeneous. The rules for establishing the correctness of the addition and subtraction operations of the integers given in the proposed encoding form are given. For true values of the initial arguments, the sums and the differences codes ranges are obtained, and the rules for positive and negative overflows identification are proposed. The original usage of a common numerical bias during the operands encoding, that evinces itself in the advantages of basic computer operations technical implementation, predetermines positive properties in practical implementations of more complex arithmetical actions.
Keywords: adder binary numbers, code with positive zero, the remainder modulo, signs of overflow, two's complement code.
References
1.Patterson, David A. (2014) Computer organization and design: the hardware/software inter-face / David A. Patterson, John L. Hennessy. - 5th ed. (The Morgan Kaufmann series in computer architecture and design).
2.Babych, M. P., Zhukov, I. A. (2004) Computer circuit design, MK-Pres, Kyiv..
3. Zhmakyn, A. P. Computer architekture. 2th ed. (2010), SPB, BHV-Peterburg, 352p.
4.Intel® 64 and IA-32 Architectures Software Developer’s Manual. Order Number: 325462-067US, May 2018.
5.Svyatnyy, V. A., Lapko, V. V., Samoshchenko, O. V. (2016) Mathematical description of computer operations of summation and subtraction of integers with offset operand codes. Naukovi pratsi DonNTU: Informatyka, Kybernetyka ta obchysliuvalna tekhnika, # 1 (22), Donetsk National Technical University, Krasnoarmiysk.
6. Lapko, V. V., Samoshchenko, O. V., Marhiev, H. E. (2017) Synthesis and mathematical modeling of addition and subtraction schemes of integers in the codes with positive zero. Naukovi pratsi DonNTU: Informatyka, Kybernetyka ta obchysliuvalna tekhnika, # 1 (24), Donetsk National Technical University, Pokrovsk.
7. Samoshchenko, O. V., Мірошкін О.М., Marhiev, H. E. (2018) Synthesis and research of addition and subtraction schemes for negative zero coded integers. Naukovi pratsi DonNTU: In-formatyka, Kybernetyka ta obchysliuvalna tekhnika, # 1 (26), Donetsk National Technical Universi-ty, Pokrovsk.
8.Yadav, Priyanka, et al. “Design and Implementation of 4-Bit Arithmetic and Logic Unit Chip with the Constraint of Power Consumption.” IOSR Journal of Electronics and Communication Engineering, vol. 9, no. 3, 2014, pp. 36–43, 10.9790/ 2834-09353643. Accessed 31 Mar. 2020.
9.Yellampalli, Siva. “Basic Operation Performed on Arithmetic Logic Unit (ALU) For 32-Bit Floating Point Numbers: (Initial Results).” International Journal of Applied Engineering Research, vol. 12, 2017, pp. 3248–3252, ISSN 0973-4562. Accessed 31 Mar. 2020.
10.Brodal, Gerth Stolting, et al. “Integer Representations towards Efficient Counting in the Bit Probe Model.” Journal of Discrete Algorithms, vol. 26, May 2014, pp. 34–44, 10.1016/j.jda.2013. 11.001. Accessed 31 Mar. 2020.
11.Calderon, Humberto, et al. “Reconfigurable Universal Adder.” 2007 IEEE International Conf. on Application-Specific Systems, Architectures and Processors (ASAP), July 2007, 10.1109/asap.2007. 4429978. Accessed 31 Mar. 2020.
12.Cragon, H. G. (2000)C omputer Architecture and Implementation. University of Texas at Austin, Cambridge University Press.
13.Tanenbaum, A. S., Austin, T. (2012) Structured Computer Organization. University of Michigan, Ann Arbor, Michigan, United States.