BCA Nepal

BCANepal

Notifications

Notes Updated
New notes and study materials have been uploaded.
1 week ago
Course StructureBCA 152

Microprocessor and Computer Architecture

1

Introduction to Microprocessor

Microprocessor evolution, types, architecture overview, basic components, and terminology.

Fundamentals of Microprocessors
  • Definition and basic structure
  • Evolution of microprocessors (4-bit to 64-bit)
  • Classification based on architecture (RISC vs CISC)
  • Applications of microprocessors
  • Comparison with microcontrollers
Basic Components and Terminology
  • ALU, control unit, registers
  • System bus (address, data, control)
  • Clock speed and instruction cycle
  • Word size and data bus width
  • Memory and I/O interfacing basics
2

8085 Microprocessor

8085 architecture, registers, pin diagram, instruction set, addressing modes, timing diagram, and interrupts.

Architecture of 8085
  • Block diagram and pin diagram
  • Register organization (accumulator, flags)
  • Flag register (Sign, Zero, Auxiliary Carry, Parity, Carry)
  • Stack pointer and program counter
  • Address and data bus multiplexing
Instruction Set and Addressing Modes
  • Data transfer instructions (MOV, MVI, LDA, STA)
  • Arithmetic instructions (ADD, SUB, INR, DCR)
  • Logical instructions (ANA, ORA, XRA, CMP)
  • Branch instructions (JMP, JZ, JNZ, CALL, RET)
  • Addressing modes (direct, register, immediate, indirect)
Timing and Interrupts
  • Instruction cycle, machine cycle, T-states
  • Timing diagrams for opcode fetch, memory read/write
  • Interrupts: TRAP, RST 7.5, RST 6.5, RST 5.5, INTR
  • Interrupt service routine
  • SIM and RIM instructions
3

8086 Microprocessor

8086 architecture, register organization, memory segmentation, pin diagram, instruction set, and addressing modes.

Architecture of 8086
  • Block diagram and pin diagram
  • Bus interface unit (BIU) and execution unit (EU)
  • Register organization (general, segment, pointer, index)
  • Memory segmentation (code, data, stack, extra)
  • Physical address generation
Instruction Set and Addressing Modes
  • Data transfer instructions (MOV, PUSH, POP, XCHG)
  • Arithmetic and logical instructions
  • String instructions (MOVS, CMPS, SCAS)
  • Addressing modes (register, immediate, direct, indexed, based)
  • Branch and loop instructions
Assembly Programming
  • Assembly language syntax
  • Assembler directives (DB, DW, DD, EQU, SEGMENT)
  • Writing simple programs
  • Debugging techniques
  • DOS and BIOS interrupts
4

Basic Computer Architecture and Design

Von Neumann and Harvard architectures, CPU components, bus systems, instruction cycle, and performance metrics.

Computer Architecture Fundamentals
  • Von Neumann architecture
  • Harvard architecture
  • Comparison of architectures
  • CPU organization and components
  • Instruction set architecture (ISA)
Bus Systems and Performance
  • System bus types (address, data, control)
  • Bus arbitration
  • Bus standards (PCI, USB, SATA)
  • Performance metrics (MIPS, FLOPS, CPI)
  • Amdahl's law
Instruction Cycle
  • Fetch-decode-execute cycle
  • Micro-operations
  • Hardwired vs microprogrammed control
  • Instruction pipelining basics
  • Performance improvement techniques
5

Microprogrammed Control Unit

Hardwired vs microprogrammed control, control memory, address sequencing, microinstruction format, and nano-programming.

Control Unit Design
  • Hardwired control unit
  • Microprogrammed control unit
  • Control memory organization
  • Address sequencing
  • Comparison of control unit types
Microinstructions
  • Microinstruction format
  • Horizontal vs vertical microinstructions
  • Nanoprogramming
  • Control store organization
  • Microprogram sequencer
6

Central Processing Unit

ALU design, register set, instruction formats, addressing modes, RISC vs CISC, and stack organization.

ALU Design
  • Arithmetic logic unit structure
  • Addition and subtraction circuits
  • Multiplication algorithms (Booth's)
  • Division algorithms
  • Floating-point unit
Register Organization
  • General purpose registers
  • Special purpose registers
  • Accumulator-based architecture
  • Register-memory architecture
  • Stack organization
Instruction Formats and Addressing
  • Instruction formats (fixed, variable)
  • Addressing modes
  • RISC vs CISC characteristics
  • Register windowing
  • Instruction encoding
7

Computer Arithmetic

Addition, subtraction, multiplication, division algorithms, floating-point arithmetic, and IEEE 754 standard.

Integer Arithmetic
  • Addition and subtraction algorithms
  • Booth's multiplication algorithm
  • Restoring and non-restoring division
  • Carry look-ahead adder
  • Ripple carry adder
Floating-Point Arithmetic
  • Floating-point representation
  • IEEE 754 standard (single and double precision)
  • Floating-point addition and subtraction
  • Floating-point multiplication and division
  • Normalization and rounding
8

Input and Output Organization and Memory Organization

I/O interfacing, interrupt handling, DMA, memory hierarchy, cache memory, virtual memory, and memory mapping.

Input/Output Organization
  • I/O interfaces and controllers
  • Programmed I/O
  • Interrupt-driven I/O
  • Direct memory access (DMA)
  • I/O processors
Memory Organization
  • Memory hierarchy
  • Cache memory (direct, associative, set-associative)
  • Virtual memory and paging
  • Memory management unit (MMU)
  • Secondary storage organization
9

Pipelining

Pipeline concepts, hazards, data forwarding, branch prediction, superscalar processors, and multi-core architectures.

Pipeline Concepts
  • Instruction pipeline basics
  • Pipeline stages (fetch, decode, execute, memory, write-back)
  • Throughput and speedup
  • Pipeline hazards (structural, data, control)
  • Data forwarding and bypassing
Advanced Pipelining
  • Branch prediction techniques
  • Superscalar processors
  • VLIW architecture
  • Multi-core processors
  • Pipeline performance metrics