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
Instructions written in code that a computer follows are called:
seraphim [82]

\bold{Answer:}

Instructions written in code that a computer follows are called software programs.

4 0
3 years ago
To quickly modify fonts, colors, and effects on a slide, a user can modify the _____. (Microsoft PowerPoint)
velikii [3]

<u>Answer</u>:

To quickly modify fonts, colours, and effects on a slide, a user can modify the Theme.

<u>Explanation</u>:

In Microsoft power point a theme is a group or collection of fonts , colours and effects that are pre-formatted to improve or enhance the presentation. We can  start changing the font , colours or effects or any pre-existing  themes  by selecting them.  

To Change colour:

  • In Design tab,  under the  Variants group, click on  the downward  and choose one colour from the colour variant gallery.
  • Now click on the customise colours which opens the  "Create New Theme Colours" dialog box. In this dialog box , in the  theme colours  we can make the necessary changes and save them as a new theme.

To change fonts:

  • In the View tab, choose Slide Master.In this tab, select "Fonts" and then select Customise Fonts.
  • Now "Create New Theme Fonts" dialog box opens where use can choose the required font size under the Heading font and Body font boxes.  Again this can be saved as a new theme. Changing the font of theme changes all the bullet texts and title.
7 0
3 years ago
18) What is masking in Flash?
sammy [17]

Answer:

Ok thanks, I guess?

..............

6 0
2 years ago
Describa las etapas del arranque de viruta
blondinia [14]

Answer:

Las virutas son partículas que se eliminan mecánicamente de una pieza de trabajo mecanizada. En el contexto de la tecnología de fabricación, especialmente el mecanizado, el término se refiere principalmente a virutas de metal; En principio, sin embargo, las virutas se crean en todo tipo de mecanizado de cuerpos sólidos. Las astillas de madera son el resultado de la carpintería. Cuando se mecanizan plásticos, se crean virutas, así como cuando se mecanizan materiales minerales, cristalinos o amorfos como el vidrio, que a menudo se realiza mediante esmerilado.

7 0
2 years ago
Write a method maxMagnitude() with two integer input parameters that returns the largest magnitude value. Use the method in a pr
antoniya [11.8K]

Answer:

   public static int maxMagnitude(int a, int b){

       int max;

       if (a>b){

           max = a;

       }

       else{

           max = b;

       }

       return max;

   }

The complete program calling the method is given in the explanation section

Explanation:

import java.util.Scanner;

public class ANot {

   public static void main(String[] args) {

     Scanner in = new Scanner(System.in);

       System.out.println("Please Enter two numbers");

       int num1= in.nextInt();

       int num2 = in.nextInt();

       System.out.println("The largest magnitude number is: "+maxMagnitude(num1,num2));

   }

   public static int maxMagnitude(int a, int b){

       int max;

       if (a>b){

           max = a;

       }

       else{

           max = b;

       }

       return max;

   }

}

The maxMagnitude() method uses if/else statement to compare two ints and return the larger one

7 0
3 years ago
Other questions:
  • After several incidents in __________ the company’s computer systems were not ready to support new products, the CEO established
    12·1 answer
  • The term ________ refers to the use of a single unifying device that handles media, Internet, entertainment, and telephone needs
    7·1 answer
  • If I want to have an estimate of the number of people who visited my website, which metric should I use?
    5·2 answers
  • Complexities of communication are organized into successive layers of protocols: lower-level layers are more specific to medium,
    8·1 answer
  • Which one of the following will not be considered as a microcomputer?
    12·2 answers
  • When you set up a worksheet, you should use cell references in formulas whenever possible, rather than ____ values.
    11·1 answer
  • You don't have policies that force settings for the look of users' computer desktops. Each user's chosen desktop settings are ap
    15·2 answers
  • Many languages distinguish between uppercase and lowercase letters in user-defined names. What are the pros and cons of this des
    8·1 answer
  • Find the mistakes in the following code. Not all lines contain mistakes. Each line depends on the lines preceding it. Watch out
    14·1 answer
  • Write a Python program that uses three variables. The variables in your program
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!