3,898 views
2 votes
2 votes
decimal number are represented in sign magnitude form  +9286 and +801 convert them to signed 10s complement and perform following operations( 1 digit required for sign)

1)-9286+ (+801)

2)-9286+(-801)

4 Answers

1 votes
1 votes

1)-9286+ (+801)=

-9286=100000-9286= 90714

then, 90714+ (+801)=91515

100000-91515=-8485

2)-9286+(-801)

-9286=90714

-801=99199

90714+99199=89913

100000-89913=-10087

1 votes
1 votes

1) $-9286+ (+801)$

10's complement of $-9286$ is $10^{6}-9286$  $= 990714$

$990714 + 816 = 991515$,answer is negative and represented in ten's complement form 

or $-( 1000000 - 991515)$ $= -8485$

2) $-9286+(-801)$

10's complement of $-801$ is $10^{6}-801$  $= 999199$

$990714 + 999199= 989913$ (discarding overflow)

Converting back to sign magnitude form, $-(1000000 - 989913) = -10087$

edited by
0 votes
0 votes

I'm pretty sure signed 10s complement is just 10s complement except you devote a bit in memory to represent the minus sign. Eg - 9286 is represented as 1 1001 0010 1000 0110 if you are using binary coded decimal, and 9286 is represented as 0 1001 0010 1000 0110 . The minus bit simply tells the machine whether it should perform addition or subtraction. Eg:

(negative number1) + (negative number2) = negative (number1 + number2),

(negative number1) + (positive number2) = (number2 - number1)

 

Related questions

1 votes
1 votes
1 answer
1
saurabh rai asked Jan 17, 2018
1,140 views
What will be base-3 equivalent of decimal number 56.4
3 votes
3 votes
1 answer
2
Lakshman Bhaiya asked Jan 5, 2018
1,706 views
The r ’s complement of an n-digit decimal number N in base r is defined for all values of N except for N = 0. If the given number is (247)9, then its 9’s complement w...
2 votes
2 votes
1 answer
3
Sourajit25 asked Oct 23, 2017
1,079 views
Consider the number given in the base '12' system is (-1457)12 then the number of 1's in the 2's complement binary representation of that number is ______?The answer is 9...
0 votes
0 votes
1 answer
4
air1ankit asked Aug 21, 2017
1,987 views
Is there any shortcut for this question... Note- (All are in base 16)Que- which are following represent 'E3 base 16'a- (1CE)+(A2)b-(1BC) - (DE)C- (2BC) - (1DE)d- ( 200) ...