Microprocessor Fundamentals (DERS 2223)

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What is the range of memory space for the 8085 microprocessor?

  • 0000 to 12FF
  • 0000 to 1FFF
  • 0000 to FFFFF
  • 0000 to FFFF (correct)

Which lines are referred to as high-order address lines in the 8085 microprocessor?

  • A0 – A7
  • AD7 – AD0
  • A15 – A8 (correct)
  • A14 – A10

What is the purpose of the ALE signal in the context of the 8085 microprocessor?

  • To transfer data to the memory
  • To control the data flow direction
  • To verify I/O operations
  • To determine address line content (correct)

How many address lines are required for an 8 Kbytes memory chip?

<p>13 (D)</p> Signup and view all the answers

Which statement best describes the data bus of the 8085?

<p>It is 8 bits wide and serves both as a data bus and low-order address lines. (C)</p> Signup and view all the answers

During which clock cycle do the low-order address lines AD7 – AD0 first bring memory addresses?

<p>First clock cycle (C)</p> Signup and view all the answers

What type of lines are AD7 – AD0 classified as in the 8085 microprocessor?

<p>Bidirectional address/data lines (D)</p> Signup and view all the answers

What does the term 'multiplexing the bus' refer to in the context of the 8085 microprocessor?

<p>Transmitting data and addresses over the same lines. (A)</p> Signup and view all the answers

How many pins does the 8085 microprocessor chip have?

<p>40 (A)</p> Signup and view all the answers

What is the width of the address bus in the 8085 microprocessor?

<p>16 bits (A)</p> Signup and view all the answers

How many memory locations can the 8085 microprocessor access?

<p>65,536 (D)</p> Signup and view all the answers

Which category does the 'SID' pin belong to?

<p>Serial I/O ports (B)</p> Signup and view all the answers

What is the function of the 'RST IN' pin on the 8085 microprocessor?

<p>Reset input signal (C)</p> Signup and view all the answers

Which pin indicates the Ready signal on the 8085 microprocessor?

<p>READY (B)</p> Signup and view all the answers

How are the pins of the 8085 microprocessor categorized?

<p>Six categories (C)</p> Signup and view all the answers

Which of the following pins is part of the data bus for the 8085?

<p>AD0 (D)</p> Signup and view all the answers

What is the primary function of RAM in a computer system?

<p>Allows read and write operations (B)</p> Signup and view all the answers

Which statement accurately describes ROM?

<p>It stores data permanently and cannot be easily written to (C)</p> Signup and view all the answers

What is a key difference between RAM and ROM?

<p>RAM is volatile, while ROM is non-volatile (B)</p> Signup and view all the answers

What type of devices are classified as input devices?

<p>Keyboard and mouse (A)</p> Signup and view all the answers

What is characteristic of the 8085 microprocessor?

<p>It is an 8-bit microprocessor with 16-bit address width (B)</p> Signup and view all the answers

Which of the following is a reason for choosing 8085 microprocessor for study?

<p>It is widely used and easy to understand (A)</p> Signup and view all the answers

Which component is responsible for permanent data storage in a computer system?

<p>ROM (A)</p> Signup and view all the answers

What is the memory capacity that the 8085 microprocessor can address?

<p>64kB (C)</p> Signup and view all the answers

What is the maximum value that can be represented on the data bus of the 8085 microprocessor?

<p>255 (B)</p> Signup and view all the answers

Which signal indicates that data is available on the data bus for reading?

<p>RD* (C)</p> Signup and view all the answers

What does the IO/M* signal differentiate between?

<p>I/O and memory operations (B)</p> Signup and view all the answers

What does ALE stand for in the context of the 8085 microprocessor?

<p>Address Latch Enable (D)</p> Signup and view all the answers

What power supply voltage is required for the 8085 microprocessor?

<p>+5 V (D)</p> Signup and view all the answers

Which component should be connected to the X1 and X2 pins to set the operating frequency of the 8085 microprocessor?

<p>Crystal (C)</p> Signup and view all the answers

How does the frequency of the crystal relate to the operational frequency of the 8085 microprocessor?

<p>It operates at half the frequency of the crystal. (B)</p> Signup and view all the answers

What is the primary function of the control and status bus in the 8085 microprocessor?

<p>To identify the nature of operation (D)</p> Signup and view all the answers

What is the primary function of the Arithmetic Logic Unit (ALU) in the 8085 microprocessor?

<p>Perform arithmetic and logical operations (A)</p> Signup and view all the answers

Which of the following operations can the ALU NOT perform?

<p>Storing data in permanent memory (B)</p> Signup and view all the answers

What role does the temporary register play within the ALU?

<p>It holds data temporarily during arithmetic and logic operations (A)</p> Signup and view all the answers

Which of the following components is NOT part of the main components of the 8085 microprocessor?

<p>Memory Management Unit (C)</p> Signup and view all the answers

Which function does the Timing and Control Unit NOT perform in the 8085 microprocessor?

<p>Performing arithmetic calculations (B)</p> Signup and view all the answers

What does the accumulator in the ALU store?

<p>Results of arithmetic or logic operations (B)</p> Signup and view all the answers

Which of the following describes a feature of the Instruction Register & Decoder in the 8085 microprocessor?

<p>Interprets and decodes the instruction for execution (B)</p> Signup and view all the answers

How does the 8085 microprocessor handle interruptions from external devices?

<p>Via the Interrupt Control component (D)</p> Signup and view all the answers

What is the primary function of the accumulator in the 8085 microprocessor?

<p>To perform arithmetic and logic operations (A)</p> Signup and view all the answers

Which register acts as a memory pointer in the 8085 architecture?

<p>Stack pointer (C)</p> Signup and view all the answers

What is the purpose of the program counter (PC) in the 8085 microprocessor?

<p>To point to the next memory address for instruction fetching (A)</p> Signup and view all the answers

Which of the following is NOT a general-purpose register in the 8085 microprocessor?

<p>SP (A)</p> Signup and view all the answers

How many 8-bit general-purpose registers does the 8085 microprocessor have?

<p>6 (D)</p> Signup and view all the answers

What type of operations can be performed using the pair HL in the 8085 microprocessor?

<p>Memory pointing operations (B)</p> Signup and view all the answers

What operation principle does the stack pointer (SP) utilize when managing addresses?

<p>Last In First Out (LIFO) (C)</p> Signup and view all the answers

Which register is specifically used to store the addresses of instructions during their fetching from memory?

<p>Program counter (C)</p> Signup and view all the answers

Flashcards

What is RAM?

Random Access Memory (RAM) is the main memory used by the computer to store data and programs that are currently in use. It allows for quick access to any location in memory.

What is ROM?

Read Only Memory (ROM) is a special type of memory that holds permanent data, like the BIOS, which is needed to start the computer. This data cannot be altered by the user.

What's the main difference between RAM and ROM?

RAM is volatile, meaning data is erased when the computer is turned off, whereas ROM is non-volatile and retains its information even when the power is off.

What are I/O devices?

A system's way of connecting with the outside world. They transfer data between the computer and external devices.

Signup and view all the flashcards

What are input devices?

Input devices are tools that allow us to send information to the computer, like a keyboard or a mouse.

Signup and view all the flashcards

What are output devices?

Output devices display or present information from the computer to the user, like a monitor or printer.

Signup and view all the flashcards

What is the Intel 8085?

The Intel 8085 is an 8-bit microprocessor released in 1976. It can access up to 64 kilobytes of memory.

Signup and view all the flashcards

Why is the Intel 8085 a good choice for learning about microprocessors?

The 8085 is chosen for teaching because it's widely used, easy to understand, and has a simple architecture, making it ideal for learning basic programming concepts.

Signup and view all the flashcards

8085 Microprocessor Pin Count

The 8085 microprocessor has 40 pins, which are used for various functions to interact with external devices and the system.

Signup and view all the flashcards

8085 Pin Categories

Pins of the 8085 microprocessor are divided into 6 categories: Address bus, data bus, control and status bus, power supply, externally initiated and acknowledgment signals, and serial I/O ports.

Signup and view all the flashcards

Address Bus

The address bus in the 8085 microprocessor consists of 16 signal lines which are used to identify the specific memory location or I/O device where data is to be transferred.

Signup and view all the flashcards

Number of Memory Locations

The 8085 microprocessor has a 16-bit address bus, which allows it to access 2^16 (65,536) memory locations or I/O devices. It uses this to uniquely address each location in the system's memory.

Signup and view all the flashcards

Data Bus

The data bus in the 8085 microprocessor allows the transfer of information (data) between the microprocessor and other components like memory or I/O devices.

Signup and view all the flashcards

Control and Status Bus

The control and status bus lines in the 8085 are responsible for controlling the operations of the microprocessor and providing status information about ongoing operations. Signals like 'Read' and 'Write' are part of this bus.

Signup and view all the flashcards

Power Supply

The 8085 microprocessor requires power supply voltage to function. The VCC pin provides the positive voltage supply, while the GND pin serves as the ground reference point.

Signup and view all the flashcards

External Signals

External signals, such as interrupts, allow other devices to communicate with the 8085 to temporarily pause the current operation and handle an urgent request.

Signup and view all the flashcards

What is the data bus?

The data bus is a group of 8 lines used to transmit data between the microprocessor and other components. It allows the 8085 to move data one byte (8 bits) at a time.

Signup and view all the flashcards

What is the control bus?

The control bus handles commands and status information between the microprocessor and other components. It ensures smooth coordination of operations.

Signup and view all the flashcards

What is WR*?

WR* (Write) is a control signal that tells the selected memory or I/O device to receive data from the microprocessor. It's also an active low signal.

Signup and view all the flashcards

What is IO/M*?

IO/M* (Input/Output or Memory) is a status signal that distinguishes between I/O (input/output) and memory operations. It's high for I/O operations and low for memory operations.

Signup and view all the flashcards

What is ALE?

ALE (Address Latch Enable) is a positive-going pulse that signals the start of an operation and indicates that the address bits are available on the address bus.

Signup and view all the flashcards

What is Vcc?

Vcc (Voltage, Common Collector) is the positive power supply for the microprocessor, typically 5 volts.

Signup and view all the flashcards

What are X1 and X2?

X1 and X2 are pins where a crystal oscillator is connected to provide a stable clock signal for the microprocessor. The frequency of the crystal is usually twice the desired operating frequency.

Signup and view all the flashcards

8085 Address Bus

The 8085 microprocessor uses a 16-bit address bus to access memory locations and peripherals. It consists of 16 address lines, including 8 high-order address lines (A15-A8) and 8 low-order address lines (AD7-AD0) that are multiplexed with the data bus.

Signup and view all the flashcards

High-order Address Lines

The high-order address lines (A15-A8) on the 8085 address bus are unidirectional and used to determine the most significant bits of a 16-bit address. This helps select the correct memory bank or I/O device.

Signup and view all the flashcards

Low-order Address Lines

The low-order address lines (AD7-AD0) on the 8085 address bus are bidirectional, meaning they can be used for both address and data transfer. During the first clock cycle they are address lines, and during the second and third clock cycles they function as data lines.

Signup and view all the flashcards

Address Latch Enable (ALE)

The Address Latch Enable (ALE) signal is a control signal that determines whether the AD7-AD0 lines are used for addressing or data transfer. When ALE is high, they function as address lines, and when ALE is low, they function as data lines.

Signup and view all the flashcards

8085 Data Bus

The 8085 microprocessor has an 8-bit data bus, which means it can transfer 8 bits of data at a time. The AD7-AD0 lines serve as the data bus after the initial address cycle, carrying the binary information.

Signup and view all the flashcards

Multiplexing

The 8085 microprocessor uses multiplexing to share the AD7-AD0 lines for both address and data transfer. This saves pins and allows the microprocessor to be smaller and more efficient.

Signup and view all the flashcards

8085 Memory Space

The 8085 memory space is addressed using 16 bits, giving a range from 0000 to FFFF, which is equivalent to 64 kilobytes (kB).

Signup and view all the flashcards

Calculating Address Lines

To calculate the number of address lines required for a given memory capacity, you use the formula: x = log(memory capacity)/log(2). For example, an 8 kB memory chip requires 13 address lines.

Signup and view all the flashcards

What is the ALU?

The ALU (Arithmetic Logic Unit) is the brain of the 8085 microprocessor. It performs all the arithmetic and logic operations like addition, subtraction, AND, OR, XOR, and incrementing numbers. It's like the math whiz of the computer!

Signup and view all the flashcards

What is the Accumulator?

The Accumulator is a special 8-bit register within the ALU. It's used to store the results of arithmetic and logic operations. Imagine it as a temporary storage space for the ALU's calculations.

Signup and view all the flashcards

What is the Temporary Register?

The temporary register acts like a scratchpad for the ALU. It holds data during calculations, allowing the ALU to process and manipulate information efficiently. Think of it as a temporary work space for the ALU.

Signup and view all the flashcards

What is the Status Register?

The status register is like a status board for the ALU. It stores information about the results of operations, including carry, parity, auxiliary carry, sign, and zero flags. These flags help determine the outcome of operations and guide further processing.

Signup and view all the flashcards

What is the stack?

The 8085 microprocessor has a special memory area called the stack. It's a temporary storage space used to store data during program execution, particularly when function calls or subroutine calls are made. Imagine it as a temporary storage box for data during program execution.

Signup and view all the flashcards

What is the Timing and Control Unit?

The Timing and Control Unit is responsible for coordinating and controlling all the activities within the 8085 microprocessor. It generates the timing signals needed for proper operation, manages the execution of instructions, and oversees all the internal activities. It's like the conductor of the microprocessor's orchestra.

Signup and view all the flashcards

What is the Instruction Register and Decoder?

The Instruction Register and Decoder are responsible for understanding the instructions given to the 8085 microprocessor. They receive the instructions, decode them, and then translate them into actions that the microprocessor can understand. It's like the interpreter of the microprocessor.

Signup and view all the flashcards

What is the Register Array?

The Register Array contains a collection of general-purpose registers used by the 8085 microprocessor to store data temporarily during program execution. These registers are like small, efficient storage spaces for the microprocessor. It's like the collection of drawers in the microprocessor.

Signup and view all the flashcards

What is the Accumulator in the 8085 microprocessor?

An 8-bit register that acts as the primary data storage and processing unit within the 8085 microprocessor. It's involved in arithmetic and logical operations.

Signup and view all the flashcards

What are the General-Purpose Registers (GPRs) in the 8085?

A set of six 8-bit registers (B, C, D, E, H, L) used for storing various binary values. They can also be paired for 16-bit operations.

Signup and view all the flashcards

What is the Stack Pointer (SP) in the 8085?

A 16-bit register that serves as a memory pointer for a special data structure called the "stack." It manages the stack's address during function calls and data storage.

Signup and view all the flashcards

What is the Program Counter (PC) in the 8085?

A 16-bit register responsible for keeping track of the memory address of the next instruction to be executed. It essentially controls the flow of program execution.

Signup and view all the flashcards

What is the Memory Address Register (MAR) in the 8085?

A 16-bit register that temporarily holds the address of a memory location being accessed during data transfers.

Signup and view all the flashcards

What does the Status Register (SR) in the 8085 contain?

A register that contains information about the status of the microprocessor, such as whether an operation resulted in a carry or a zero flag. These flags are used in conditional branching and decision-making during program execution.

Signup and view all the flashcards

What is the Temporary Register in the 8085?

A temporary register that is used for holding data during intermediate stages of processing. It is not generally accessible by programming instructions.

Signup and view all the flashcards

How are registers in the 8085 implemented?

The registers in the 8085 are implemented using flip-flops, which are a type of electronic circuit designed to store a single bit of information. Each flip-flop acts as a basic memory element, allowing the registers to hold data.

Signup and view all the flashcards

Study Notes

Microprocessor Fundamentals

  • DERS 2223 course covers Electronic and Microprocessor Fundamentals.
  • The course is for Week 13-15.
  • Micro-computer, Microprocessor, and Microcontroller are part of Micro-X.

Important Micro-X

  • Microprocessor:
    • A multipurpose, programmable, clock-driven device.
    • Register-based.
    • Communicates between components via system bus.
    • Reads binary instructions from memory.
    • Accepts binary data as input and processes according to instructions.
    • Provides results as output.
  • Microcontroller:
    • A microcomputer built on a single chip.
    • Includes a microprocessor, memory, input/output (I/O) devices, and additional peripherals such as A/D converters.
  • Microcomputer:
    • A programmable machine.
    • Made up of a microprocessor, memory, and input/output (I/O) devices.
    • Components work together to perform tasks.
    • Communicates between components via a system bus.
    • Example includes the IBM PC model 5150 (1981).
    • Modern microcomputers include: Personal Computers, Workstations, Single Boards, and Microcontrollers.

Microprocessor

  • A microprocessor is a multipurpose, programmable, clock-driven, register-based electronic device.
  • It reads binary instructions from memory, accepts binary data as input, and processes data according to instructions.
  • It provides results as output and is essential in microcomputer systems.
  • Examples of microprocessor chips include Intel and AMD processors.

Microprocessor Architecture

  • The microprocessor is comprised of an ALU, register array, and control unit.
  • ALU (Arithmetic Logic Unit):
    • Performs arithmetic and logical operations (e.g., addition, subtraction, AND, OR, XOR).
  • Register Array:
    • Contains fast memory elements (registers) to store data during program execution.
    • Some registers are general-purpose (programmers can use them for any purpose).
    • Others are specific-purpose (used for tasks like flag indicators).
  • Control Unit:
    • Controls operations and timing signals in the microprocessor.
    • Controls communications with the outside world.
    • Contains control lines for ALU, register, memory, and I/O functions.
    • Manages timing signals (e.g., clock signals) to synchronize operations.
    • Processes interrupts and power-up processes.

Memory

  • Essential component of a microprocessor system.
  • Stores instructions and data for the microprocessor.
  • Classified into two types:
    • Prime/Main Memory: Includes RAM (Random Access Memory) and ROM (Read-Only Memory).
    • Storage Memory: Includes magnetic tape and disks.

RAM (Random Access Memory)

  • Random Access Memory.
  • Made of registers.
  • Each register has flip-flops/latches to store bits of information (memory cells).
  • Volatile; data is lost when power is off.

ROM (Read-Only Memory)

  • Read-Only Memory.
  • Stores information permanently (diodes).
  • Non-volatile.
  • Can only be read, not written to.

I/O Devices

  • Input/Output Devices are part of the system that allow communication with the outside world.
  • Peripherals (collectively).
  • Input devices transfer binary information from the outside world to the microprocessor.
  • Example: Keyboard, mouse, bar code reader, scanner.
  • Output devices transfer binary information from the microprocessor to the outside world.
  • Example: LED, monitor, printer, speaker.

Introduction to Intel 8085 Microprocessor Hardware

  • The 8085 was introduced in March 1976.
  • An 8-bit microprocessor; capable of addressing 64 KB of memory.
  • Contains 40 pins and 6500 transistors.
  • Operates at a 3 MHz frequency.
  • The 8085A was chosen to provide a simpler architecture for students learning microprocessor concepts.

8085 Microprocessor - Buses

  • Address Bus (16 pins):

    • Used to transfer data to a specific location in memory or I/O devices/peripherals.
    • 16 signal lines (pins), allowing 2^16 memory locations, from 0000 to FFFF (64KB).
    • Divided into two segments (A15-A8 high-order address and AD0-AD7 low-order address) to verify memory address or I/O during one data transfer cycle.
  • Data Bus (8 pins - multiplexed with low-order address bus):

    • 8 bidirectional signal lines used for data transfer.
    • Data flows between the microprocessor and memory or peripheral devices.
    • Multiplexed, combining functions for both address and data signals - optimized for efficient use of pins.
  • Control & Status Bus (6 pins):

    • Used to manage overall control and synchronization of the system.
    • Provides signals for specifying operations, such as read and write, I/O or memory operation status, or acknowledgement of external requests. (RD*, WR*, IO/M*, S1, S0, ALE).
  • Power Supply & Frequency Signals:

    • Vcc is +5V power supply.
    • Vss is ground reference.
    • X1 and X2 are pins for connection to the crystal, which are used in the system clock generation.
  • Externally Initiated & Acknowledgement Signals (11 pins):

    • Provides interrupt signals, allowing external devices to interrupt the program. (e.g., INTR, RST 7.5, RST 6.5, RST 5.5, TRAP).

8085 Microprocessor - Internal Diagram

  • Consists of 6 main components:
    • ALU
    • Timing and Control Unit
    • Instruction Register and Decoder
    • Register Array
    • Interrupt Control
    • Serial I/O Control

8085 Microprocessor - ALU (Arithmetic Logic Unit)

  • Performs various arithmetic and logical operations (addition, subtraction, multiplication, division, and logical operations like AND, OR, XOR)
  • Includes an accumulator, temporary register(s), and status register (containing flag flip-flops) which are used during and after an ALU operation for handling data conditions and program flows.

Additional Notes:

  • Microprocessor architecture determines the allowed operations within each block.
  • The pages contain detailed information and diagrams of the 8085 microprocessor and its functionalities.

Appendix:

  • Several tables provide detailed information on flags, registers (various types with functions stated), and the details of each BUS within the microprocessor.

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

More Like This

Use Quizgecko on...
Browser
Browser