Dpco QB
Dpco QB
PART B
1.Evaluate the various techniques to represent instructions in a computer system(12)
2. i)List the various components of computer system and explain with neat diagram (7)
ii)List the applications of computers (5)
5. Analyze the various instruction formats and illustrate with an example (12)
Instruction Set Architecture (ISA)
The Instruction Set Architecture (ISA) is the part of the processor that is visible to the
programmer or compiler writer. The ISA serves as the boundary between software
and hardware. We will briefly describe the instruction sets found in many of the
microprocessors used today. The ISA of a processor can be described using 5
catagories:
in all 3 architectures:
Not all processors can be neatly tagged into one of the above catagories. The i8086
has many instructions that use implicit operands although it has a general register set.
The i8051 is another example, it has 4 banks of GPRs but most instructions must have
the A register as one of its operands.
What are the advantages and disadvantages of each of these approachs?
GPR
Advantages: Makes code generation easy. Data can be stored for long periods in
registers.
Disadvantages: All operands must be named leading to longer instructions.
Earlier CPUs were of the first 2 types but in the last 15 years all CPUs made are GPR
processors. The 2 major reasons are that registers are faster than memory, the more
data that can be kept internaly in the CPU the faster the program wil run. The other
reason is that registers are easier for a compiler to use.
Prepared by
Teaching Coordinator/ Approved by
Mr.K.Madeswaran /
IQAC Coordinator HoD – CSE
CSE