Question

Suppose some 32-bit microprocessor and some 16-bit microprocessor have the same bus cycle. If a program...

Suppose some 32-bit microprocessor and some 16-bit microprocessor have the same bus cycle.
If a program consists of 100 operands and instructions, of which 50% are 32 bits and 50% are 16 bits long, it is better to use a 32-bit microprocessor when running this program on two microprocessors. -How fast is it compared to using a bit microprocessor?

Homework Answers

Answer #1

Ans:

Given:

100 operands and instructions
50% of the operands and instructions are 32-bits long, so it is 50 32-bit.
50% of the operands and instructions are 16-bits long, so it is 50 16-bit.

since 16-bit processor requires 2 bus cycles for 1 32-bit instruction and operand ,

The number of bus cycles needed for the 16-bit microprocessor will equal to:
(50 * 2) + 50 = 150 bus cycles.

The number of bus cycles needed for the 32-bit microprocessor will equal to:
50+ 50 = 100 bus cycles.

By calculating the improvement achieved with the 32-bit microprocessor to the 16-bit microprocessor will equal to 50/150 = 33.33%.

so 32 bit processor is 33.33% more fast than 16-bit

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
Consider the following two hypothetical microprocessors A and B. Microprocessor A has an 8-bit external data...
Consider the following two hypothetical microprocessors A and B. Microprocessor A has an 8-bit external data bus whereas microprocessor B has a 16-bit external data bus. Other than that difference, these processors are identical including bus cycle speed. Answer the following two questions. Consider that all instructions and operands are two Bytes. Assume 100 transfers of operands and instructions, each of which are two Bytes long. By what factor do the maximum data transfer rates vary between A and B?...
Suppose a 32-bit microprocessor has a 16-bit data bus running on a 12 MHz clock. A....
Suppose a 32-bit microprocessor has a 16-bit data bus running on a 12 MHz clock. A. If the minimum duration of a bus cycle is 6 clock cycles, what is the maximum data transfer rate? B. If the memory in A needs to wait 2 clock cycles for each data access, what is the maximum data transfer rate? C. How does the maximum data transfer rate change when the frequency of the bus is doubled to improve performance in A?...
consider two microprocessors having 32-bit and 640bit wide external data busses, respectfully the two processors are...
consider two microprocessors having 32-bit and 640bit wide external data busses, respectfully the two processors are identical otherwise and their bus cycles are the same speed. Suppose all instructions and operands are four bytes. By what factor do the maximum data transfer rates vary A: The 64-bit microprocessor is twice as fast B: The 320bit microprocessor is twice as fast C: The 64-bit microprocessor is four times faster D: The 32-bit microprocessor is four times faster E: Neither microprocessor is...
consider a hypotehtical microprocessor generating a 32-bit address ( for example, assume the program counter and...
consider a hypotehtical microprocessor generating a 32-bit address ( for example, assume the program counter and the address registers are 320bits wide) and having a 32-bit data bus. What is the maximum memory address space that the processor can access directly if it connected to a 16-bit memory
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%)
Microprocessor 8086 material. Choose the correct answer. 1- For a (64K x 8) RAM, the number...
Microprocessor 8086 material. Choose the correct answer. 1- For a (64K x 8) RAM, the number of address lines is: * 17 19 16 15 20 14 18 2-Which of the following instructions requires (BYTE PTR)? * SHR [500H], 3h LDS SI, [1000H] LAHF PUSH [9AAH] ADD AX, [800H] 3-Where are the interrupt vectors located in the microprocessor’s memory? * in the first 64K byte in the first 1K byte in the first 256K byte in the first 1M byte...
1. In which phase of the business cycle is the U.S. economy currently in? ________________. How...
1. In which phase of the business cycle is the U.S. economy currently in? ________________. How many months has the U.S. economy been in this stage of the business cycle? ___________ months 2. How long has the current expansion/recovery lasted to date? _________________ How does this compare to the average length of U.S. recessions since 1854? ______________________________. 3. What do the last four recoveries/expansions (that is, the current recovery/expansion and the previous three recovery/expansions), suggest about a new trend in...
Strings The example program below, with a few notes following, shows how strings work in C++....
Strings The example program below, with a few notes following, shows how strings work in C++. Example 1: #include <iostream> using namespace std; int main() { string s="eggplant"; string t="okra"; cout<<s[2]<<endl; cout<< s.length()<<endl; ​//prints 8 cout<<s.substr(1,4)<<endl; ​//prints ggpl...kind of like a slice, but the second num is the length of the piece cout<<s+t<<endl; //concatenates: prints eggplantokra cout<<s+"a"<<endl; cout<<s.append("a")<<endl; ​//prints eggplanta: see Note 1 below //cout<<s.append(t[1])<<endl; ​//an error; see Note 1 cout<<s.append(t.substr(1,1))<<endl; ​//prints eggplantak; see Note 1 cout<<s.find("gg")<<endl; if (s.find("gg")!=-1) cout<<"found...
USING C++ The purpose of this assignment is the use of 2-dimensional arrays, reading and writing...
USING C++ The purpose of this assignment is the use of 2-dimensional arrays, reading and writing text files, writing functions, and program planning and development. You will read a data file and store all of the input data in a two dimensional array. You will perform calculations on the data and store the results in the 2 dimensional array. You will sort the array and print the results in a report. Instructions You will read in the same input file...
1. Electronic blood pressure devices require the use of a stethoscope. * a. True b. False...
1. Electronic blood pressure devices require the use of a stethoscope. * a. True b. False 2. The odd-numbered pounds on an upright scale are marked with numbers. * a. True b. False 3. The gatch handles to the bed should be left out at all times. * a. True b. False 4. You should tell the patient that you are counting her respirations. * a. True b. False 5. For good posture and even weight distribution, the patient’s feet...