Ch1 2,10,16,18, and 22 Ch1 2,10,16,18, and 22 2. (a) the cycle time of a micropr
ID: 2989071 • Letter: C
Question
Ch1
2,10,16,18, and 22
Ch1 2,10,16,18, and 22 2. (a) the cycle time of a microprocessor is the time for one complete clock cycle. For example. if the clock frequency of a microprocessor is 2 million cycles per second (2 MHz), then each cycle takes 500 ns (500 billionths of a second). Compare the cycle time of a microprocessor running at 2 MHz with one running at 50 MHz, 500 MHz, and 2 GHz. (b) If a certain 80x86 instruction requires four clock cycles to execute, how long does the instruction take to execute if the processor clock speed is 25 MHz? Repeat for a clock speed of 800 MHz. 3. Speculate on the uses for timing signals in the serial I/O, memory, and interrupt sections. 4. Why do math coprocessors enhance the capabilities of an ordinary CPU? 5. Draw a block diagram for a computerized cash register. The hardware should include a numerical display, a keyboard, and a compact printer. 6. What kind of initialization software would be required for the cash register in Ques-tion 5? 7. What would be the difference in system RAM requirements for two different cash registers, one without record keeping and one with? 8. What type of information should be stored in NVM during a power failure in a system designed to control navigation in an aircraft? 9. What types of interrupts may be required in a control system designed to monitor all doors, windows, and elevators in an office complex? 10. Name some advantages of downloading the main program into a microprocessor-based system. Are there any disadvantages?Explanation / Answer
2a.(i)The cycle time for 2Mhz is 500ns
(ii)The cycle time for 50Mhz is 20ns
(iii)The cycle time for 500Mhz is 2ns
(iii)The cycle time for 2Ghz is 0.5ns
from above result we can say when clock freq of Microprocessor get increased it increase the speed of cyle time, which result the device oprating speed increase.
b)(i)For one clock cyle the at 25Mhz freq it requires 40ns, To complet execution it require 4 clock cyle. so the total time to execute is 4*40ns=160ns
(ii)For one clock cyle the at 800Mhz freq it requires 1.25ns, To complet execution it require 4 clock cyle. so the total time to execute is 4*1.25ns=5ns
10)The microprocessor uses software stored in permanent ROM memory, and it runs continuously as long as the controller has power.the advantages are
Programmability
The software in ROM determines the controller