Siksha Sarovar

Siksha Sarovar (sikshasarovar.com) is a free educational web application that helps students in India learn programming and prepare for academic and competitive exams. The platform offers structured coding courses (C, C++, Python, Java, HTML, CSS, PHP, Power BI, AI, Machine Learning, Data Science), complete university curriculum notes for BCA/MCA students with previous year question papers, Class 10 and Class 12 CBSE/HBSE school notes, and dedicated preparation material for SSC, UPSC, Banking, Railway and other government exams. Browsing the site is completely free and requires no account. Users may optionally sign in with Google solely to save their learning progress, quiz scores and personal preferences across devices.

Privacy Policy | Terms of Service | Contact Siksha Sarovar | About Siksha Sarovar

v4.0.9 · PWA
Siksha Sarovar logo
Siksha Sarovar
Your Learning Universe

Siksha Sarovar is a free e-learning platform for coding courses, BCA university notes and competitive exam preparation. Optional Google sign-in saves your learning progress across devices.

Initializing knowledge base…
Compiling modules 0%

Unit III Overview: Data Transfer Operations and Computer Organization

Lesson 10 of 17 in the free Computer Organization and Architecture notes on Siksha Sarovar, written by Rohit Jangra.

Fetch-Decode-Execute Cycle

---

RTL Notation Reference

SymbolMeaningExample
Transfer (assign)R1 ← R2 (copy R2 into R1)
M[addr]Memory at addressDR ← M[AR] (read memory)
R[n]Register nR[3] ← 0
Br[x:y]Bits x to y of register BIR[0:11] (operand field)
P: statementConditional transfer(P: T2): MAR ← IR[addr]
[R1, R2] ← fSimultaneous transfers[MAR, R1] ← R2, 0
+ - * ⊕Arithmetic and logic opsAC ← AC + DR

---

Computer Registers

RegisterFull NameTypical SizeRole
PCProgram Counter16–64 bitHolds address of next instruction
MARMemory Address Register16–64 bitAddress bus to memory
MDR/MBRMemory Data/Buffer Register8–64 bitData bus to/from memory
IRInstruction Register16–32 bitCurrently executing instruction
TRTemporary Register8–64 bitTemporary storage during micro-ops
INPRInput Register8 bitReceives character from input device
OUTROutput Register8 bitSends character to output device
ACAccumulator8–64 bitPrimary ALU result register

---

Unit III Lessons Overview

LessonTitleKey Topics
Lesson 11RTL and Bus StructureRTL notation; micro-operations; single-bus; memory transfer
Lesson 12Instruction CycleInstruction formats; fetch-execute RTL; RISC vs CISC
Lesson 13Addressing ModesStack; 10 addressing modes; memory access counts

---

Micro-Operations for ADD Instruction

The RTL sequence for executing ADD M[addr] (add memory operand to accumulator):

ClockRTL NotationDescription
T0MAR ← PCLoad PC into MAR (address of instruction)
T1MDR ← M[MAR], PC ← PC+1Fetch instruction from memory; increment PC
T2IR ← MDRLoad instruction into IR
T3MAR ← IR[0:11]Load operand address from instruction
T4MDR ← M[MAR]Fetch operand from memory
T5AC ← AC + MDRAdd operand to accumulator

---

Study Deep: Hardwired vs Microprogrammed Control Unit

Hardwired CU: Logic gates and flip-flops implement the state machine directly. Fast (combinational logic) but difficult to modify. Used in RISC processors.

Microprogrammed CU: Each instruction is decoded into a sequence of micro-instructions stored in a control memory (microprogram). Flexible — change microprogram to change instruction behavior. Used in CISC processors (x86).

📝 Exam Tip: The fetch cycle is the same for ALL instructions: T0: MAR←PC; T1: MDR←M[MAR], PC←PC+1; T2: IR←MDR. Only the execute phase differs per instruction. This 3-step fetch is guaranteed exam material.