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
Svetach [21]
3 years ago
14

There are 55 registers, and total 60 instructions available in a general-purpose computer. The computer allows only 2-address in

structions, where one operand can be a register, and another can be a memory location. The memory is byte addressable with 64KB (Kilo bytes) in size. The minimum number of bits to encode the instruction will be…………?
Computers and Technology
1 answer:
Andrei [34K]3 years ago
7 0

Answer:

31 bits.

Explanation:

Given, total number of registers = 55

Total instructions = 60

Size of memory = 16 KB

Now, no of registers are 55. We find the next greater or equal power of 2 which is 64 = 26. Hence, 6 bits are required to represent a register operand.

Number of instructions = 60. We find the next greater or equal power of 2 which is 64 = 26. Hence, 6 bits are required to represent a instruction.

Size of memory = 64 KB = 26 * 210 * 23 bits = 219 bits. Hence, 19 bits are required to represent a memory location.

Now, an instruction has 2 parts, opcode and operand. As given there are only two address instructions which are memory operand and register operand.

Hence, total bits would be: 6 bits (opcode) + 6 bits (register operand) + 19 (memory operand) = 31 bits.

You might be interested in
Assume that sentence is a variable of type String that has been assigned a value. Assume furthermore that this value is a String
disa [49]

Answer:

//get the sentence from the user

          Console.WriteLine("Enter your sentence");

           //read the user information

           string ans = Console.ReadLine();

           //check if sentence ends with period

          if(!ans.EndsWith("."))

           {

               Console.WriteLine("Sentence should end with period");

               Environment.Exit(0);

           }

           //declear empty string firstword

           string firstWord = "";

           //split the requested sentence using single space character

          string[] splitans =  ans.Split(' ');

           //assign firstword

           firstWord = splitans[0];

           //print out firstword

          Console.WriteLine(firstWord);

Explanation:

The program uses c#.

5 0
3 years ago
I need a quick way to see all hardware connected to my computer.
timofeeve [1]
Look it up..............
7 0
3 years ago
Select the three business advantages of globalization.
Anna007 [38]

Answer:

There is increased collaboration in problem solving.

There are increased business opportunities.

It facilitates ease in communication

4 0
4 years ago
Which skill type refers to the ability to interact and communicate effectively with people? skills refer to the ability to inter
koban [17]
Interpersonal skills.
6 0
3 years ago
Read 2 more answers
Ms. Troy would like you to make a copy of an outfit that she owns and really likes—a sleeveless dress with a short-sleeve jacket
Contact [7]
3.d
5.c
8.a
9.b
10.b

 just took the exam ... hope it helps

3 0
3 years ago
Read 2 more answers
Other questions:
  • A software program that allows a programmer to type in code. modern versions usually make it easy to format the code on the scre
    13·1 answer
  • Which is true about POP3 and IMAP for incoming email?
    6·1 answer
  • A spreadsheet program of a computerized version of _______
    14·1 answer
  • Suppose that TCP's current estimated values for the round trip time (estimatedRTT) and deviation in the RTT (DevRTT) are 400 mse
    9·1 answer
  • Select the correct answer from each drop-down menu.
    8·1 answer
  • If a user wants to add an expansion card to increase the memory of a computer, where should the user insert the card?
    12·2 answers
  • Which virus-infecting components are email messages prone to carry?
    8·2 answers
  • After an attacker has successfully gained remote access to a server with minimal privileges, which of the following is their nex
    15·1 answer
  • What type of media is a hard disk​
    9·1 answer
  • Distinguish between secondary storage device and primary storage device
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!