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
ikadub [295]
4 years ago
7

Provide the instruction type, assembly language instruction, and binary representation of instruction described by the following

RISC-V fields: opcode=0x33, funct3=0x0, funct7=0x20, rs2=5, rs1=7, rd=6
Computers and Technology
1 answer:
Rudik [331]4 years ago
5 0

Answer:

Explanation:

Its a R-type instruction:

 31        25 24     20 19     15 14  12 11      7 6           0

+------------+---------+---------+------+---------+-------------+

| funct7     | rs2     | rs1     |funct3| rd      | opcode      |

+------------+---------+---------+------+---------+-------------+

Assembly Language Instruction:

sub rd, rs1, rs2    || 0x0 0x20   || R[rd] ← R[rs1] - R[rs2]

Binary Conversion:

R-TYPE  funct7        rs2           rs1        funct3      rd        opcode  

Bits           7              5              5             3           5             7

Binary   100000    00101      00111       000     00110     0110011

So Binary representation for this is: 0100 0000 0101 0011 1000 0011 0011 0011

You might be interested in
What help the ict in your life?and write own idea three or four sentence
My name is Ann [436]

Answer:

I am a software engineering student

computers have createed an impact in my life because through computers i work, I do research and many more

7 0
3 years ago
An academic or professional blog would be especially useful in which of the following fields?
Vesna [10]
Blogs, even academic and professional, are not usually considered reliable sources. Most importantly, that's because they don't undergo the peer review process, which ensures the quality of the published papers (that they don't publish lies, in simple words).

So usually, you would prefer a published paper.

When then would you use a blog?
One such instance is when you want to find out about a quickly changing field , for example the newest standards in software development. So software engineering is one such field.

Another field is internet protection and security, as the viruses and the ways to defend against them also develop faster than can be published in a paper
7 0
3 years ago
Read 2 more answers
What would be the value of discountRate after the following statements are executed?
Kazeer [188]
I think the answer is .04 or D
6 0
3 years ago
Lab Goal : This lab was designed to demonstrate the similarities and differences in a for loop and a while loop.Lab Description
Mandarinka [93]

Answer:

See Explanation

Explanation:

Required:

Use for and while loop for the same program

<u>(1) String Cleaner</u>

#For Loop

name = "I am Sam"

result = ""  

<em>for i in range(0, len(name)):  </em>

<em>    if name[i]!= 'a':  </em>

<em>        result = result + name[i] </em>

print(result)

#While Loop

name = "I am Sam"

result = ""  

<em>i = 0 </em>

<em>while i < len(name): </em>

<em>    if name[i]!= 'a':  </em>

<em>        result = result + name[i] </em>

<em>    i+=1 </em>

print(result)

<u>(2): Common Divisor</u>

#For Loop

num1 = 528

num2 = 60

div = num2

if num1 > num2:

   div = num1

<em>for i in range(2,div):</em>

<em>    if num1%i == 0 and num2%i==0:</em>

<em>        print(i,end = " ")</em>

print()

#While Loop

num1 = 528

num2 = 60

div = num2

if num1 > num2:

   div = num1

i = 2

<em>while i <div:</em>

<em>    if num1%i == 0 and num2%i==0:</em>

<em>        print(i,end = " ")</em>

   i+=1

The iterates statements show the difference in the usage of both loops.

For the for loop, the syntax is:

<em>for [iterating-variable] in range(begin,end-1)</em>

<em>-------</em>

<em>---</em>

<em>--</em>

<em />

For the while loop, the syntax is:

<em>while(condition)</em>

<em>-------</em>

<em>---</em>

<em>--</em>

8 0
3 years ago
The largest type of computer system with the most extensive storage capacity and the fastest processing speeds is a ________.
azamat
Super Computer. Hope I helped.
5 0
3 years ago
Other questions:
  • When can you access the BIOS setup utility?
    14·2 answers
  • Here it is crews my profile pic
    5·2 answers
  • Which of the following should you NOT do when using CSS3 properties to create text columns for an article element? a. make the c
    12·2 answers
  • Type the correct answer in the box. Spell all words correctly. What allows users to make long-distance calls over the Internet?
    14·2 answers
  • Manuel has set up his network so that some employees can open and view files but are unable to edit them. Others can open, view,
    10·1 answer
  • Identify at least five different Arts, A/V Technology, and Communications careers that you could pursue in your home state, and
    11·1 answer
  • Which line defines a valid CSS rule?
    6·2 answers
  • Although plants and ainamals are both living things___
    13·1 answer
  • How to get the lightning round in dares of eternity
    5·1 answer
  • What is the value of six sigma ? How dose it relate to agile management
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!