- Computers Typically Perform Subtraction By Using The 2 S Complement Technique Illustrate How 5 Base 10 3 Base 10 1 (45.16 KiB) Viewed 13 times
Computers typically perform subtraction by using the 2's complement technique. Illustrate how ((5 base 10) - (3 base 10)
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Computers typically perform subtraction by using the 2's complement technique. Illustrate how ((5 base 10) - (3 base 10)
Computers typically perform subtraction by using the 2's complement technique. Illustrate how ((5 base 10) - (3 base 10)) is evaluated using the 2's complement technique assuming that 16 bits are used for each operand. What is the result of step 1? Step 1: Convert 5 base 10 into a 16-bit binary number Step 2: Convert 3 base 10 into a 16-bit binary number Step 3: Derive the 1's complement based on the result of step 2 Step 4: Derive the 2's complement based on the result of step 3 Step 5: Perform a bit by bit addition on the result of step 1 and step 4