Question

# III. MIPS CODE DEVELOPMENT: SELECTION A subset of the ASCII code is given on p. 122....

III. MIPS CODE DEVELOPMENT: SELECTION

A subset of the ASCII code is given on p. 122. Consider the following declarations:

.data

SCORE1:            .word     79

SCORE2:            .word     64

PASS:                 .asciiz    “?”

Write a MIPS program that reads the two integer values in variables SCORE1 and SCORE2. If the sum of the two scores is less than 140, your program should set character variable PASS to ‘N’; otherwise, it should set PASS to ‘Y’. NOTE: Your program should work for any integer values SCORE1 and SCORE2. Feel free to use pseudo-instructions as needed to solve this problem.

MIPS CODE DEVELOPMENT: SELECTION

A subset of the ASCII code is given on p. 122. Consider the following declarations:

.data

SCORE1:            .word     79

SCORE2:            .word     64

PASS:                 .asciiz    “?”

Write a MIPS program that reads the two integer values in variables SCORE1 and SCORE2. If the sum of the two scores is less than 140, your program should set character variable PASS to ‘N’; otherwise, it should set PASS to ‘Y’. NOTE: Your program should work for any integer values SCORE1 and SCORE2. Feel free to use pseudo-instructions as needed to solve this problem.

#### Earn Coins

Coins can be redeemed for fabulous gifts.

##### Need Online Homework Help?

Most questions answered within 1 hours.

##### Active Questions
• What are the benefits an organization can enjoy as a result of establishing a strong environment....
• According to a​ magazine, as of January​ 2018, 9​% of chief executive officers were women. Complete...
• Solve the initial value problem: 4y′′+3y=0, y(π/2)=2 , y'(π/2)=−1. Give your answer as y=... Use x...
• Calculate the approximate main-sequence lifetime of a (K0 type) star with a mass of 0.8 mass...
• Suppose studies indicate that the earth's vegetative mass, or biomass for tropical woodlands, thought to be...
• Assume the cost of an extended​ 100,000 mile warranty for a particular SUV follows the normal...