***************** Assignment #2 for CS341 ********************* ***** Part I due Thursday 9/17/98 ***** ***** Part II due Thursday 9/24/98 ***** ****************************************************************** PART 1 ------ Chapter 3, Problem 17 Chapter 4, Problem 14 PART 2 ------ The goal of this program is to gain confidence in the use of: (i) branch instructions (ii) multiply/divide instructions. The program should accept two integers d (diviDend) and s (diviSor), s != 0. Any or both of d and s could be negative. Your program should compute the quotient d/s, rounded to four decimal places and print out the individual digits of the quotient. For simplicity, we will assume that the absolute value of the quotient is 999.9999 or less. No floating point instructions should be used in this assignment. For example, upon execution, the data area of your program should look like .data d .word -302 s .word 7 sgn .byte - q1 .byte 0 q2 .byte 4 q3 .byte 3 q4 .byte . q5 .byte 1 q6 .byte 4 q7 .byte 2 q8 .byte 8