1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
marysya [2.9K]
3 years ago
9

Write a program to do the following: Load $t0 with 12 and call it x. Load 21 in $t1 and denote it as y. Finally, load 32 in $t2

and refer to it as z. Now, compute 3x2 +10y+5z. Output the result using syscall 1 (remember the result has to be in $a0). Write down the output number on your answer sheet.
Computers and Technology
1 answer:
KIM [24]3 years ago
8 0

Answer:

Complete code is given below:

Explanation:

addi $t0, $zero, 12 # x = 12

addi $t1, $zero, 21    # y = 21

addi $t2, $zero, 32    # z = 32

addi $t3, $zero, 3

mul $t3, $t3, $t0

mul $t3, $t3, $t0  # $t3 = 3x^2

addi $t4, $zero, 10

mul $t4, $t4, $t1  # $t4 = 10y

addi $t5, $zero, 5

mul $t5, $t5, $t2  # $t5 = 5z

add $a0, $t3, $t4

add $a0, $a0, $t5  # $a0 = 3x^2 + 10y + 5z

addi $v0, $zero, 1

syscall

You might be interested in
How many features are there in the team​
sdas [7]

Answer:

<h3><u>Component Team</u></h3>
  • Leads to 'invented' work and a Forever-Growing Organization
  • Dependencies between teams leads to additional planning
<h3><u>Feature Team</u></h3>
  • Leads to customer focus,visibility and smaller organization
  • Minimizes dependencies between teams and increase flexibility

4 0
2 years ago
Converting terminology via computers is called
Vitek1552 [10]

Hi Bentley


Converting terminology via computers is called a Cryptography


I hope that's help !



5 0
3 years ago
Read 2 more answers
__________ is a special place on the hard drive where items from memory can be temporarily stored for fast retrieval
andrew-mc [135]
The answer is swap file 
6 0
3 years ago
Read 2 more answers
What is high level language​
Alika [10]

<em>your </em><em> </em><em>answer </em>A high level language is a computer programming language that resembles natural language or mathematical notation.

8 0
2 years ago
Read 2 more answers
Which of the following is a form of media?Check all that apply.
Nataly_w [17]

Answer:

A. a brochure distributed to many people.

D. a blog.

Explanation:

Communication can be defined as a process which typically involves the transfer of information from one person (sender) to another (recipient), through the use of semiotics, symbols and signs that are mutually understood by both parties.

Generally, the linear model of communication comprises of four (4) main components and these are;

1. Sender (S): this is typically the source of information (message) or the originator of a message that is being sent to a receiver. Thus, they are simply the producer of a message.

2. Channel (C): this is the medium used by the sender for the dissemination or transmission of the message to the recipient. For example, telephone, television, radio, newspapers, billboards etc.

3. Message (M): this is the information or data that is being sent to a recipient by a sender. It could be in the form of a video, audio, text message etc.

4. Receiver (R): this is typically the destination of information (message) or the recipient of a message that is being sent from a sender.

Hence, the following are forms of media (communication channel);

I. A brochure distributed to many people. It comprises of printed textual informations used mainly for promotional purposes.

II. A blog. It is an online website that contains both textual and multimedia messages, especially as a news platform.

8 0
3 years ago
Other questions:
  • What type of stud is placed below a windowsill to support its weight
    12·1 answer
  • Why isn't my rank move from ambitious to virsto i met all the requirements
    8·2 answers
  • If you have 5 bits, how high can you go in binary?
    15·1 answer
  • WILL UPVOTE NEED ANSWERS ASAP i have till 4:30
    12·1 answer
  • Alcoholism is a chronic disease caused by a dependency on alcohol. Which signs point to alcoholism?
    5·2 answers
  • Which approach does procedural programming follow? bottom up, top down, random, or object oriented​
    15·1 answer
  • Why is it so important to adhere to principles that have been put forth by reputable organizations to ensure that you are mainta
    10·1 answer
  • What are the five Ws?<br> (I don’t even know what this means)
    5·2 answers
  • What is up what everbody up to
    13·2 answers
  • What is the answer ????​
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!