0% found this document useful (0 votes)
5 views4 pages

COA Notes: Computer Architecture Basics

The document outlines the basic components of a computer, including memory, processor, input/output system, and control unit, using real-life examples like a microwave oven. It explains computer instructions, registers, the instruction cycle, and the types of control mechanisms, highlighting their practical applications such as ATM operations and washing machines. Additionally, it discusses microprogrammed control and the design of control units, comparing them to fixed-function and smart devices.

Uploaded by

chandrapuraja
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views4 pages

COA Notes: Computer Architecture Basics

The document outlines the basic components of a computer, including memory, processor, input/output system, and control unit, using real-life examples like a microwave oven. It explains computer instructions, registers, the instruction cycle, and the types of control mechanisms, highlighting their practical applications such as ATM operations and washing machines. Additionally, it discusses microprogrammed control and the design of control units, comparing them to fixed-function and smart devices.

Uploaded by

chandrapuraja
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

COA Notes: Data Types, RTL, and Microoperations (with Real-Time Examples)

1. Basic Computer Organization and Design

A basic computer has four main components: memory, processor, input/output system, and control unit.

Real-life example: Think of a microwave oven.

- Memory = preset programs

- Processor = timer + heat control

- Input = buttons

- Output = display/beep

- Control Unit = logic deciding the process flow

2. Computer Instructions

Instructions are commands that tell the CPU what to do.

Example:

- `ADD M`: Add memory content to accumulator

- `LDA M`: Load data from memory to accumulator

- `STA M`: Store accumulator to memory

Real-life: ATM adds Rs.500 to balance (ADD), reads balance (LDA), saves new balance (STA)

3. Computer Instruction Codes

Each instruction has a binary code, called opcode.

Example:

- 0001 = ADD

- 0010 = SUB

ATM Software: Opcode 0001 means 'Add Rs.500'

4. Computer Registers
COA Notes: Data Types, RTL, and Microoperations (with Real-Time Examples)
Registers are small fast memory inside CPU.

Examples:

- AC (Accumulator): temporary result storage

- PC (Program Counter): next instruction

- IR (Instruction Register): current instruction

- MAR/MDR: memory address/data registers

Real-life: Scratchpad where calculations are written temporarily.

5. Instruction Cycle

The cycle a CPU follows to execute instructions:

1. Fetch

2. Decode

3. Execute

Example: Pressing calculator button '2 + 3':

- Fetch '2'

- Decode '+'

- Execute addition with '3'

6. Memory Reference Instructions

Instructions that involve memory access: LDA, STA, ADD.

Example:

- LDA 1050: Load data from memory address 1050

- ADD 1051: Add content of 1051

Real-life: Accessing data from database using ID numbers.

7. Timing and Control


COA Notes: Data Types, RTL, and Microoperations (with Real-Time Examples)
Controls when each action happens during instruction cycle.

Two types:

- Hardwired control (fast but fixed)

- Microprogrammed control (flexible)

Example: A washing machine's timer and process controller.

8. Input - Output and Interrupt

I/O is used for external communication; Interrupts are signals that change CPU flow.

Example:

- Printer is I/O device

- When you press power button during printing, interrupt stops the process

Real-life: Mobile phone gets a call while playing music -- interrupt occurs.

9. Microprogrammed Control

Instead of hardwired signals, control signals are generated by a microprogram stored in control memory.

Advantage: Easier to modify or extend control.

Real-life: Replacing appliance remote's software instead of changing circuit board.

10. Control Memory and Address Sequencing

Control memory holds microinstructions. Address sequencing selects the next instruction.

Real-life: Like flipping pages in a recipe book in the correct order.

11. Microprogram Example


COA Notes: Data Types, RTL, and Microoperations (with Real-Time Examples)
A microinstruction might:

- Load a register

- Perform an ALU operation

- Set a control signal

Example: A recipe step like "Turn on oven, set timer" = a microinstruction.

12. Design of Control Unit

The control unit can be:

- Hardwired (using logic circuits)

- Microprogrammed (using stored instructions)

Real-life comparison:

- Hardwired = fixed-function device like old TV

- Microprogrammed = smart TV with software update capability

You might also like