UNIT 3
Different parallel processing architectures
Q1) What Are The Different Types Of Interrupts In A Microprocessor System, Explain?
A1)
In the normal execution of a program there are three types of interrupts that can cause a break:
External Interrupts: These types of interrupts generally come from external input / output devices which are connected externally to the processor. They are generally independent and oblivious of any programming that is currently running on the processor.
Internal Interrupts: They are also known as traps and their causes could be due to some illegal operation or the erroneous use of data. Instead of being triggered by an external event they are usually triggered due to any exception that has been caused by the program itself. Some of the causes of these types of interrupts can be due to attempting a division by zero or an invalid opcode etc.
Software interrupts: These types if interrupts can occur only during the execution of an instruction. They can be used by a programmer to cause interrupts if need be. The primary purpose of such interrupts is to switch from user mode to supervisor mode.
Q2) What Is Virtual Memory in Computer?
A2)
Virtual memory is that when the available RAM memory is not sufficient for the system to run the current applications it will take some memory from hard disk. This memory is termed as Virtual memory.
Q3) State Some Of The Common Rules Of Assembly Language?
A3)
Some of the common rules of assembly level language are as follows:
Q4) Explain How Many Types Of Memory In Computer Architecture?
A4)
Computer have different type of memory like primary memory , Auxiliary memory , buffer memory , Cache memory , virtual memory ,the work of all memory heterogeneously primary memory is directly communicate with the CPU . Auxiliary memory are used for storing the data for long time . Buffer memory are mainly used for storing the intermediate data between the travel . cache memory are used for storing the those data that currently required at process time for increase the speed of the data . virtual memory are put in between the two memory for increase the speed of data or instruction it means it put between HDD and RAM .
Q5) What Do You Understand Vertical Micro Code, Explain The Designing Strategy Of A Control Unit Coded On Vertical Code?
A5)
Vertical microcode can be considered to be a segment of code or operators that have been clubbed together into fields. In this field every micro operation is given a unique value.
Q6) Explain What Are The Different Hazards? How Do We Avoid Them?
A6)
There are situations, called hazards, that prevent the next instruction in the instruction stream from executing during its designated clock cycle. Hazards reduce the performance from the ideal speedup gained by pipelining.
There are three classes of Hazards:
Q7) Briefly Explain The Two Hardware Methods To Establish Priority?
A7)
Two different ways of establishing hardware priority are Daisy Chaining and parallel priority.
Q8) Instead Of Just 5-8 Pipe Stages Why Not Have, Say, A Pipeline With 50 Pipe Stages?
A8)
The latency of the architecture increases with the pipeline stages. Penalty due to the flushing of the pipeline for instance will also increase Cycles Per Instruction of the CPU architecture.
Q9) Explain the Requirement of Page-table And the Different Ways in Which the Table Can Be Organized?
A9)
For any computer generally the memory space is lesser as compared to the address space this implies that the main memory is lesser as compared to the secondary memory.
Q10) Explain The Cpu Is Busy But You Want To Stop And Do Some Other Task. How Do You Do It?
A10)
Arise a non-mask able interrupt. Then give jump instruction to required subroutine.