go to previous page   go to home page   go to next page hear noise highlighting

Answer:


A Run of the Program

A Run of the Program

The mult instruction assumes two's complement operands. Run the program by pushing F10 (single step) five times.

The result is as expected.

Register $9 contains

5 × 12 - 74 = -14 = 0xFFFFFFF2

The product 5 × 12 = 60ten = 0x3C remains in lo.


QUESTION 8:

Use integer division (in base ten) to calculate the quotient and remainder of:

99 /  2   =   Remainder  

99 / 50   =   Remainder   

go to previous page   go to home page   go to next page