CHARLES OKEAHIALAM U PG/10/0309 COSC 831- MICROPROCESSOR SYSTEM (ASSIGNMENT TWO) QUESTION 1 (A) superfluous -3 CODE The excess-3 enroll is another important BCD inscribe. It is particularly world-shattering for arithmetic trading operations as it overcomes the shortcomings encountered while victimisation the 8421 code to add twain tenfold fleshs whose sum exceeds 9. The excess-3 code has no such limitation, and it intimately simplifies arithmetic operations. The table under represents Excess-3 code equivalent of ten-fold scraps 0 -9 Decimal flake| Excess- Code| 0| 0011| 1| 0100| 2| 0101| 3| 0110| 4| 0111| 5| kilobyte| 6| 1001| 7| 1010| 8| 1011| 9| 1100| Here, the excess-3 code for a given denary number is pertinacious by adding 3 to from each one decimal fig in the given number and consequently replacing each figure of the newly found decimal number by its four-bit binary program equivalent. It may be mentioned present that, if the adjunct of 3 to a figure produces a carry, as is the oddball with the digits 7, 8, and 9, that carry should not be taken forward. The result of rundown should be taken as a single entity and by and by replaced with its excess-3 code equivalent.

For instance, to welcome the excess-3 code for the decimal number 597: * Here, the addition of 3 to each digit yields the three new digits/numbers i.e 8, 12, and 10. * The correspond four-bit binary equivalents argon 1000, 1100 and 1010 respectively. * The excess-3 code for 597 is therefore given by: 1000 1100 1010= 100011001010. Also, it is a normal practice to represent a given decimal digit or number using the maximum number of digits that th e digital system is capable of handling. For! instance, in four digit decimal arithmetic, 5 and 37 would be written as 0005 and 0037 respectively. The corresponding 8421 BCD equivalents would be 0000000000000101 and 0000000000110111 and the excess-3 code equivalents would be 0011001100111000 and 0011001101101010. Corresponding to a given excess-code, the...If you want to get a full essay, put up it on our website:
OrderEssay.netIf you want to get a full information about our service, visit our page:
write my essay
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.