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 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<br>.data<br>х1:<br>.asciiz<br>

Extracted 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

Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here