Computer Architecture · Unit 5 · 4 hrs
Central Processing Unit
Exam-focused notes for Central Processing Unit (Computer Architecture, CSC213): what the TU syllabus asks and how it has actually been tested, with 15 solved past questions from this unit.
What this unit covers
- Major Components of CPU
- CPU Organization
- Instruction Formats
- Addressing Modes
- Data Transfer and manipulation
- Program Control
- Subroutine Call and Return
- Types of Interrupt
- RISC vs CISC
- Pros and Cons of RISC and CISC
- Overlapped Register Windows
RISC vs CISC
Write short notes on: a) CISC b) Conditional branch [5]
--- CISC is a processor design philosophy where the CPU is capable of executing a large number of complex instructions, each of which can perform multiple low-level operations (such as memory access, arithmetic, and logic) in a single instruction. Feature D...
Full solved answer →Differentiate between RISC and CISC architecture. [5]
RISC (Reduced Instruction Set Computer) and CISC (Complex Instruction Set Computer) are two fundamental approaches to processor design that differ in philosophy, instruction complexity, and implementation. --- Aspect CISC RISC --------- Emphasis Gives empha...
Full solved answer →Write short notes on (any two): a. CISC b. Overlapped register c. Pipelining hazards [5]
--- CISC is a processor design philosophy that emphasizes hardware complexity to support a rich and varied instruction set. Feature CISC ------ Emphasis Hardware Instruction size Multiple sizes and formats Registers Fewer registers used Addressing modes Mor...
Full solved answer →Differentiate between CISC and RISC architectures. [5]
CISC (Complex Instruction Set Computer) and RISC (Reduced Instruction Set Computer) are two fundamental processor design philosophies. Their key differences are as follows: --- CISC RISC ------ Gives emphasis on hardware Gives emphasis on software Has multi...
Full solved answer →Explain the CISC architecture with example. [6]
CISC (Complex Instruction Set Computer) is a processor architecture in which a single instruction can execute several low-level operations (such as a load from memory, an arithmetic operation, and a memory store) in one instruction cycle. The control unit i...
Full solved answer →Instruction Formats
Write the program for following statement by using three, single, zero address instructions. $X = (A+BC-D)/(EF+G)$ [5]
Using Three-Address, One-Address (Accumulator), and Zero-Address (Stack) instructions. - Expression: $X = \dfrac{A + B \cdot C - D}{E \cdot F + G}$ - Operands: $A, B, C, D, E, F, G$ - Operations: multiply, add, subtract, divide --- Format: OP dest, src1, sr...
Full solved answer →Write the program for the following statement using three, single, zero address instructions. $X = (AB+C-D) / (E+FG)$ [5]
Given data: - Expression: $X = (AB + C - D) / (E + FG)$ - Required representations: three-address, one-address (single), zero-address instructions. No numeric values are involved; this is a symbolic instruction-set problem. --- Format: OP DEST, SRC1, SRC2 T...
Full solved answer →What do you mean by instruction format? Explain with an example. [5]
An instruction format defines the layout or structure of a binary instruction stored in memory. It specifies how the bits of an instruction are divided into different fields, each carrying specific information needed by the CPU to execute that instruction. ...
Full solved answer →Write codes using 3, 2 and 1 address instruction formats to perform the given operations. $X = A/B + C * D/C$ [5]
- Expression to evaluate: $X = A/B + C \ast D / C$ - Required formats: 3-address, 2-address, 1-address instructions. $$X = (A/B) + ((C \ast D)/C)$$ Sub-operations: 1. $T1 = A/B$ 2. $T2 = C \ast D$ 3. $T3 = T2/C$ 4. $X = T1 + T3$ --- Format: OPCODE Dest, Src...
Full solved answer →Data Transfer and manipulation
Explain the data transfer and manipulation instruction with example. [5]
Instructions in a computer can be broadly classified based on the operations they perform. Two fundamental categories are data transfer instructions and data manipulation instructions. --- Data transfer instructions move data from a source to a destination ...
Full solved answer →Explain the data transfer instructions with example. [5]
Data transfer instructions are a category of computer instructions used to move data between registers, memory, and I/O devices without performing any arithmetic or logical operation on the data. They form the most fundamental class of instructions in any i...
Full solved answer →Explain the data transfer instructions with example. [6]
Data transfer instructions are a category of computer instructions that move data between the CPU registers, memory, and I/O devices without performing any arithmetic or logical operation on the data. They form the most fundamental class of instructions in ...
Full solved answer →Addressing Modes
Explain the various types of addressing modes and compare them algorithm, advantage and disadvantage.[10]
The addressing mode specifies a rule for interpreting or modifying the address field of an instruction before the operand is actually referenced or executed. In other words, the way in which the operand of an instruction is specified is called an addressing...
Full solved answer →Explain the various addressing modes with example. [5]
An addressing mode specifies how the operand (or the address of the operand) is determined from the instruction. Different addressing modes provide flexibility in accessing data stored in registers, memory, or within the instruction itself. --- - The operan...
Full solved answer →Overlapped Register Windows
In the RISC architecture, what is meant by over lapping register window? Explain the relationship among register windows with over lapping register windows.[10]
RISC (Reduced Instruction Set Computer) architecture emphasizes simplicity and speed. One of its key features is the use of a large register file organized into overlapping register windows to handle procedure calls efficiently without the overhead of savin...
Full solved answer →Make Unit 5 stick
Practice CSC213 with flashcards & quizzes