In a 4-bit binary adder-subtractor circuit, if the control input is set to subtraction mode, what operation will be performed?एक 4-बिट बाइनरी एडर-सबट्रैक्टर सर्किट में, यदि नियंत्रण इनपुट घटाव मोड पर सेट है, तो क्या ऑपरेशन किया जाएगा?
एक 4-बिट बाइनरी एडर-सबट्रैक्टर सर्किट में, यदि नियंत्रण इनपुट घटाव मोड पर सेट है, तो क्या ऑपरेशन किया जाएगा?
Show answerHide answer
Correct answer: (D) Subtractionघटाव
Explanation
In subtraction mode the control input inverts B through XOR gates and sets carry-in to 1, so the adder computes A + B' + 1 = A - B using 2's complement.घटाव मोड में नियंत्रण इनपुट XOR गेटों से B को उलट देता है और carry-in को 1 कर देता है, इसलिए adder 2's complement से A + B' + 1 = A - B निकालता है।