• Home
  • Blog
  • Computer Assembly Programming and Addressing Modes

Computer Assembly Programming and Addressing Modes

0 comments

1) Use SPIM to write a MIPS-32 assembly program that performs the followings:
a) Print your first and last name on the first line. PUT Mohammed Alwadee. b) Prompt the user to enter an integer (positive or negative) using the prompt message: “Enter an
integer (0 to exit): “
c) If the user does not enter a 0 the program continues to prompt for more integers until a zero is
entered by the user.
d) After the user entered the number 0 it prints:
i) Their sum is: (the sum is displayed)
ii) The smallest is: (the smallest number is displayed)
iii) The biggest is: (the biggest number displayed)
e) The program ends.
Perform two test runs using the exact same data set shown in the samples below (except for the
name which should be your name) see the attachment

About the Author

Follow me


{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}