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]
3 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]3 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
Which part of a formal email is optional
EleoNora [17]
Contact information will be optional.
6 0
3 years ago
Read 2 more answers
There are about what licensed drivers here in Florida
arsen [322]
 There are about 15,000,006
6 0
3 years ago
Some Tiny College staff employees are information technology (IT) personnel.
const2013 [10]
xndnxbxnndndndnndnxndnnxndndnndndndnndndndndndnndnxnx
5 0
2 years ago
List five kinds of view in the computer and briefly define each​
mr Goodwill [35]

Answer:

It responds to a specific set of instructions in a well-defined manner. It can execute a prerecorded list of instructions (a program).

5 0
2 years ago
Who<br> invented the term “debugging”?
Black_prince [1.1K]

Grace Murray Hopper invented it

8 0
3 years ago
Read 2 more answers
Other questions:
  • Information management examines the organizational resource of information and regulates its definitions, uses, value, and distr
    11·1 answer
  • Enter the value of 5⋅(13.5−4.5). <br> ​
    5·1 answer
  • We can include following item(s) during configuration itemidentification:
    10·1 answer
  • Information management should supply information in the form of meaningful images rather than raw data, which requires that we h
    13·1 answer
  • Sequential codes may be used to represent complex items or events involving two or more pieces of related data.
    7·1 answer
  • Write a summary of five things that you learned about CSS. Do not copy and paste the information. Summarize each point in your o
    5·1 answer
  • 1.
    13·1 answer
  • Write the two features of a mouse.​
    9·1 answer
  • What is pseudocode? O A way of describing a set of instructions in text form using plain english O A diagrammatic representation
    13·1 answer
  • Could you tell me the family link app code to unlock a phone please?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!