Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I'm trying to find the hypotenuse here but I keep getting an error at jal srt hypotenuse - Notepad .text -globl main main: li $a0,5

image text in transcribed

I'm trying to find the hypotenuse here but I keep getting an error at "jal srt"

hypotenuse - Notepad .text -globl main main: li $a0,5 li \$a1, 6 calculations: mult $a0,$a0# Square $a0 mflo$t0#t0= Lower 32-bits of product mult $a1,$a1 \# square $a1 mflo$t1#t1= Lower 32-bits of product add $a0,$t0,$t1#a0=t0+t1 jal srt \# Call the square root function move $s0, $v0 \# By convention, the result of sqr # is returned in $v0 end: li $v0,10 syscall

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advances In Databases 28th British National Conference On Databases Bncod 28 Manchester Uk July 2011 Revised Selected Papers Lncs 7051

Authors: Alvaro A.A. Fernandes ,Alasdair J.G. Gray ,Khalid Belhajjame

2011th Edition

3642245765, 978-3642245763

More Books

Students also viewed these Databases questions

Question

Savings plan How does the savings plan impact the economy?

Answered: 1 week ago

Question

I am paid fairly for the work I do.

Answered: 1 week ago

Question

I receive the training I need to do my job well.

Answered: 1 week ago