Using HADES Editor 0.98f Using the 8 bit binary ripple-carry adder located in th
ID: 3884548 • Letter: U
Question
Using HADES Editor 0.98f
Using the 8 bit binary ripple-carry adder located in the Hades menu ("Help = > demos = 8 bit ripple carry adder") to perform a subtraction of the decimal arithmetic expression 5-9 (5 minus 9). Enter the sum output of the adder in binary value below in the response window, eg a string of 1s and 0s like (00110010)_2 (MSB of S7 on the left down to LSB S0 on the right) Be sure to use no spaces between the 1s and 0s of your response as the auto grader is using a pattern match and spaces will cause it to score you input as incorrect.Explanation / Answer
5-9 is equal to -4. So the answer is -4 but we need to get this answer in binary format. 4 in binary is 100. So to convert this number to negative value, we will first take 1's complement that is 011 and then add 1 to it, making -4 in binary as 100. To convert it into 8 bit value, we get the answer as 00000011
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.