Question: 8. Translate the following C statement into an assembly program, assuming 16-bit signed integers x, y and z (ie. signed short) are stored in 32-bit
8. Translate the following C statement into an assembly program, assuming 16-bit signed integers x, y and z (ie. signed short) are stored in 32-bit registers rO, rl, and r2, respectively 9. Translate the following C statement into an assembly program, assuming 16-bit unsigned integers x and y (i.e. unsigned short) are stored in registers rO, and rl, respectively. x=x%y; 10. Write an assembly program that calculates the value of the following polynomial, assuming signed integers x and y are stored in registers rO and rl, respectively y= 3x3-7x2 + 10x-11 11. Write an assembly program that calculates the remainder of the division between two unsigned integers
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
