JPS6438831A - Decimal subtractor - Google Patents

Decimal subtractor

Info

Publication number
JPS6438831A
JPS6438831A JP62195879A JP19587987A JPS6438831A JP S6438831 A JPS6438831 A JP S6438831A JP 62195879 A JP62195879 A JP 62195879A JP 19587987 A JP19587987 A JP 19587987A JP S6438831 A JPS6438831 A JP S6438831A
Authority
JP
Japan
Prior art keywords
circuit
carry
decimal
complement
binary
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
JP62195879A
Other languages
Japanese (ja)
Inventor
Kazumasa Tanaka
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP62195879A priority Critical patent/JPS6438831A/en
Publication of JPS6438831A publication Critical patent/JPS6438831A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the increase of hardware by providing a post complement converting circuit, which converts the subtraction result of binary-coded decimals to a decimal expressed with the absolute value, and two carry look ahead circuits where decimal correction is easily performed and generating and selecting carry information for post correction and that for omission of this correction. CONSTITUTION:A first binary-coded-decimal operand 10 is inputted to one input of a binary adding circuit 2, and a second binary-coded decimal 11 is converted to a complement 12 by a complement converting circuit 1 and is inputted to the other input of circuit 2. The operand 10 and the complement 12 are used as inputs of first and second carry look ahead circuits 3 and 4 to perform carry look ahead, and the carry input of the least significant digit of the circuit 3 is fixed to '1' and that of the circuit 4 is fixed to '0'. A selecting circuit 5 selects carry information generated by the circuit 3 if a carry-out signal 13 as carry information of the most significant digit of the circuit 3 is '1', and the circuit 5 selects carry information 15 generated by the circuit 4 if this signal 13 is '0', and selected information is supplied to the circuit 2 and is inputted to a decimal correction circuit 7 through an post complement converting circuit 6.
JP62195879A 1987-08-05 1987-08-05 Decimal subtractor Pending JPS6438831A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62195879A JPS6438831A (en) 1987-08-05 1987-08-05 Decimal subtractor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62195879A JPS6438831A (en) 1987-08-05 1987-08-05 Decimal subtractor

Publications (1)

Publication Number Publication Date
JPS6438831A true JPS6438831A (en) 1989-02-09

Family

ID=16348506

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62195879A Pending JPS6438831A (en) 1987-08-05 1987-08-05 Decimal subtractor

Country Status (1)

Country Link
JP (1) JPS6438831A (en)

Similar Documents

Publication Publication Date Title
US4722066A (en) Digital signal overflow correction apparatus
JPH0479013B2 (en)
EP0209308A3 (en) Circuitry for complementing binary numbers
GB1531919A (en) Arithmetic units
JPS6410323A (en) Arithmetically computing apparatus
JPS54159831A (en) Adder and subtractor for numbers different in data length using counter circuit
JPH0331930A (en) Method and instrument of multiplication of complement code of real time 2'c in digital signal processing system
EP0044450B1 (en) Digital adder circuit
GB963429A (en) Electronic binary parallel adder
JPS6438831A (en) Decimal subtractor
US6546411B1 (en) High-speed radix 100 parallel adder
GB925392A (en) Parallel coded digit adder
US3462589A (en) Parallel digital arithmetic unit utilizing a signed-digit format
JPS56105540A (en) Adder
JPS56147237A (en) Operation processing device
US3975624A (en) Two's complement subtracting system
JPS5769450A (en) Decimal-quadruple generating circuit
SU1363192A1 (en) Adding-subtracting device
JPS57121749A (en) Fraction computer
JPH02137022A (en) Data type converting circuit
JPS6491229A (en) Adder
JPH0213133A (en) Code conversion circuit
GB1457430A (en) Arithmetic device
JPS55119739A (en) Binary-decimal conversion system
GB2019621A (en) Improvements in or relating to binary adder circuits