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
A digital computer has a memory unit with 32 bits per word. The instruction set consists...
A digital computer has a memory unit with 32 bits per word. The instruction set consists of 147 different operations. All instructions have an operation code part (opcode) and two address fields: one for a memory address and one for a register address. This particular system includes eight general-purpose, user-addressable registers. Registers may be loaded directly from memory, and memory may be updated directly from the registers. Direct memory-to-memory data movement operations are not supported. Each instruction stored in one...
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)
Computer archieture 1. Let us assume we have such a machine. The physical RAM has 32...
Computer archieture 1. Let us assume we have such a machine. The physical RAM has 32 bytes, and is evenly divided into 4 pages. The virtual memory has 16 pages. The content in the page table and physical RAM is shown below Physical RAM Page Num Page data 3 11 ~QWERTYU 2 10 IOPASDFG 1 01 HJKLZXCV 0 00 BNM<>[]? Page table 15 0 14 0 13 0 12 1 01 11 0 10 0 9 1 11 8 0...
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...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT