In a fixed-point binary operator, the subtraction operation is generally implemented by what

Source: Internet
Author: User

In a fixed-point binary operator, the subtraction operation is generally implemented by what

Which of the following options is it?
A binary subtraction device for the operation of a primitive code
The binary subtraction of the B-complement operation
Decimal adder for the operation of C original code
The binary adder of the D-complement operation

To illustrate:
Subtraction 5-3 equals addition 5+ (-3)
The binary code of the Addend 5 is 0000 0101

Addend-3 binary code is 1000 0011
-3 of binary anti-code is 1111 1100
-3 of the twos complement is 1111 1101

That is 5-3 equivalent to 5+ (-3) =0000 0101+1111 1101=0000 0010=2
Where the highest level is 0, the positive number is 1 for negative numbers, the complement of positive numbers is itself, and the complement of negative numbers is taken back plus 1

This shows the subtraction of the binary adder equivalent to the complement operation.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

In a fixed-point binary operator, the subtraction operation is generally implemented by what

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.