Question

A 2-address computer has 65 instructions, 32 Registers, 4MB memory, and three flags negative, zero,  and positive...

A 2-address computer has 65 instructions, 32 Registers, 4MB memory, and three flags negative, zero,  and positive (N, Z, P). Assume length of each instruction is 32 bits. Find a format for BR instruction

Homework Answers

Answer #1

Answer :- The BR instruction is used for brancing to a particular program location. So with BR instruction what we need is the address of the memory where we want to go.
The computer has 65 instructions i.e. for opcode we need atleast 7 bits. Since 27 = 128 if we choose 6 bits then computer can have only 64 instruction max.
For 4MB of memory we need 22 bits since 222 = 4 x 1 MB = 4 MB.

Thus the instruction format can be-
ZZZZZZZ RRR AA_AAAA_AAAA_AAAA_AAAA

where Z implies the 7-bit opcode, R imples bits are reserved and not being used, and A implies 22-bit address for 4MB of memory. So overall 32-bit instruction. The reserved 3 bits can be used for instruction like BEQ, BNE, BGE etc.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
5. Suppose we have a 32-bit computer with an instruction set that supports immediate instructions as...
5. Suppose we have a 32-bit computer with an instruction set that supports immediate instructions as shown below: Opcode Source Register Destination Register immediate 6 bits 5 bits 5 bits 16 bits (a) How many registers at most does this computer have? (5%) (b) How many operations at most can this computer have? (5%) (c) What is the range of the number in the “immediate” field in 2'scomplement format? (5%)
A computer system has 16 processing registers R0,···,R15, where each register has 32-bit storage capacity. The...
A computer system has 16 processing registers R0,···,R15, where each register has 32-bit storage capacity. The computer system uses a common bus system for data transfer between registers, memory and ALU. Answer the following questions if common bus is designed using multiplexers Size of each MUX needed for the design Number of MUXs needed Size of the bus (in bits)
1. The memory units that follow are specified by the number of words times the number...
1. The memory units that follow are specified by the number of words times the number of bits per word. How many address lines and input/output data lines are needed in each case? (a) 8K X 16 (b) 2G X 8 (c) 16M X 32 (d) 256K X 64 2. Give the number of bytes stored in each memory unit in question 1. 3. Word number 563 decimal in the memory shown in Fig. 7.3 (see Mano-Ch7.pdf) contains the binary...
Instructions: Write probabilities to four decimal places (percentages to two decimal places). Draw bell curves to...
Instructions: Write probabilities to four decimal places (percentages to two decimal places). Draw bell curves to illustrate each desired areas. Use the correct probability notation (e.g. P(X >12.5) = P(z > 1.2) …. Use the Standard Normal Distribution Table to answer Questions 1 & 8). 1. The total blood cholesterol levels in a certain Mediterranean population are found to be normally distributed with a mean of 160 milligrams/deciliter (mg/dL) and a standard deviation of 50 mg/dL. Researchers at the National...
Instructions: In 1974, Loftus and Palmer conducted a classic study demonstrating how the language used to...
Instructions: In 1974, Loftus and Palmer conducted a classic study demonstrating how the language used to ask a question can influence eyewitness memory. In the study, college students watched a film of an automobile accident and then were asked questions about what they saw. One group was asked, “About how fast were the cars going when they smashed into each other?” Another group was asked the same question except the verb was changed to “hit” instead of “smashed into.” The...
Instructions: Perform all computations in Excel. Submit the completed Excel file for grading. For the normal...
Instructions: Perform all computations in Excel. Submit the completed Excel file for grading. For the normal probability questions, you can use the Z table, or you can use the NORM.DIST() function. . Scenario 1 You are staffing a security detail for a large manufacturing plant. Absenteeism is an ongoing problem. (Don’t blame the staff. You don’t pay very well, and since you started your master’s degree while still working full time, you have been somewhat irritable. ) The schedule has...
2. Which of the following is a negation for ¡°All dogs are loyal¡±? More than one...
2. Which of the following is a negation for ¡°All dogs are loyal¡±? More than one answer may be correct. a. All dogs are disloyal. b. No dogs are loyal. c. Some dogs are disloyal. d. Some dogs are loyal. e. There is a disloyal animal that is not a dog. f. There is a dog that is disloyal. g. No animals that are not dogs are loyal. h. Some animals that are not dogs are loyal. 3. Write a...
In narrative essay format, I want you to address a business/organization case study using multiple concepts...
In narrative essay format, I want you to address a business/organization case study using multiple concepts from class. The case question and case text begin on page 5 of this document. You need to demonstrate their best understanding of management and organizational behavior theory, and the application of those ideas to improve the understanding of various issues. You need to clearly identify at least 3 distinct, substantive issues. For each issue you need to 1), identify evidence from the case...
1.A fair die is rolled once, and the number score is noted. Let the random variable...
1.A fair die is rolled once, and the number score is noted. Let the random variable X be twice this score. Define the variable Y to be zero if an odd number appears and X otherwise. By finding the probability mass function in each case, find the expectation of the following random variables: Please answer to 3 decimal places. Part a)X Part b)Y Part c)X+Y Part d)XY ——- 2.To examine the effectiveness of its four annual advertising promotions, a mail...
MATHEMATICS 1. The measure of location which is the most likely to be influenced by extreme...
MATHEMATICS 1. The measure of location which is the most likely to be influenced by extreme values in the data set is the a. range b. median c. mode d. mean 2. If two events are independent, then a. they must be mutually exclusive b. the sum of their probabilities must be equal to one c. their intersection must be zero d. None of these alternatives is correct. any value between 0 to 1 3. Two events, A and B,...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT