ta asciiz asciiz : .asciiz Ext Lobl main "Enter the first number: " "Enter the second number: "The result is: " n: tuser input li Sve, 4 syscall li Sve, 5 syscall move $te, Sve li Sve, 4 Saв, х2 la syscall li Sve, 5 syscall #multiplication operation mult Ste, Sti $se, Sse, $s1 or #display result li Sve, 4 Saв, ans la syscall Sae, Sse move syscall d program Sve, 10 call # all done! .end main ========== of the options. Drag and drop the right statement in the assembly code li Sv0,1 mul $s1, Ss0, Ss0 li Sv0, 5 mfhi $s1 mfni $s0 mul $s2, $s1, $s3 move $s1, Ss0 la Sa0, x1 move $t1. Sv0 move $s0, Sa2
ta asciiz asciiz : .asciiz Ext Lobl main "Enter the first number: " "Enter the second number: "The result is: " n: tuser input li Sve, 4 syscall li Sve, 5 syscall move $te, Sve li Sve, 4 Saв, х2 la syscall li Sve, 5 syscall #multiplication operation mult Ste, Sti $se, Sse, $s1 or #display result li Sve, 4 Saв, ans la syscall Sae, Sse move syscall d program Sve, 10 call # all done! .end main ========== of the options. Drag and drop the right statement in the assembly code li Sv0,1 mul $s1, Ss0, Ss0 li Sv0, 5 mfhi $s1 mfni $s0 mul $s2, $s1, $s3 move $s1, Ss0 la Sa0, x1 move $t1. Sv0 move $s0, Sa2
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question

Transcribed Image Text:The following instructions will ask user to enter a number and produce the result where result = user_input * 100. Fill in the blank with appropriate instruction. Choose only from the options given at the bottom of this question
.data
х1:
.asciiz
"Enter the first number:
х2:
.asciiz
"Enter the second number: "
ans: .asciiz
"The result is: "
.text
-globl main
main:
tuser input
li
$ve, 4
syscall
li
Sve, 5
syscall
move
Ste, $ve
Sve, 4
Sae, x2
li
la
syscall
li
$ve, 5
syscall
#multiplication operation
mult
$te, $ti
or
$s8, $se, $s1
#display result
$ve, 4
Sae, ans
li
la
syscall
move
Sae, $se
syscall
tend program
li $ve, 10
syscall # all done! .end main
=========- ======
List of the options. Drag and drop the right statement in the assembly code
li Sv0,1
mul $s1, Ss0, $s0
li $v0, 5
mfhi $s1
mfhi $s0
mul $s2, $s1, $s3
move $s1, $s0
la Sa0, x1
move $t1, Švo
move $s0. Sa2
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education