(r – 1) ’s compliment: (M – N) r This is similar to r’s compliment. There is a difference while dealing with the final carry we get If we have both M & N positives, then The Procedure for doing subtraction using (r – 1) ’s compliment is as follow: Take (r – 1) ’s compliment […]
Tag: octal
Subtraction using compliments
Subtraction method mentioned earlier looks good when we do it on paper and pencil but to implement a subtraction method on a digital platform then subtraction using compliments is better and efficient. r’s compliment: If we are given numbers M & N with base r, then we can to have to find M – N […]
SUBTRACTION (without using compliment method)
Decimal system: Let’s now analyze the subtraction of decimal systems. For subtraction we first subtract the least significant digit of subtrahend from that of minuend and if least significant digit of subtrahend is greater than that of minuend then we take borrow from the next digit of minuend and add 10 (base) to the previous digit […]
ADDITION
Decimal system: Although all of us are doing addition in decimal system since years and this may look a bit odd to study this again but I’ll still emphasize to study it further. Let us analyze the addition for decimal system. For addition we firstly add least significant digits and keep the least significant digit of […]
Octal system
Octal system: b=8 (407)8 = 4 * 82 + 0 *81 + 7 * 80 = (261)10 Similarly 24.68 = 2 x (81) + 4 x (80) + 6 x (8-1) = 20.7510 11.18 = 1 x (81) + 1 x (80) + 1 x (8-1) = 9.12510 The weights of the corresponding bits for octal system are as 84 […]