Microprocessor Systems: Fundamentals

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

Microprocessors are extensively used in this ______-day world.

modern

Before microprocessors, logic design was done by hardware using gates, ______, etc.

flip-flops

With the advent of the microprocessor, logic design using hardware has been mostly ______.

replaced

Microprocessors provide flexibility in instrumentation and automation where system characteristics can be altered by changing the ______.

<p>software</p> Signup and view all the answers

New applications have emerged due to microprocessors, which were previously not possible because of the high cost of a ______.

<p>minicomputer</p> Signup and view all the answers

Before computers were widely available, automatic control of machines was achieved using logic circuitry of the ______ family and its predecessors.

<p>TTL</p> Signup and view all the answers

Sequential operations in early automatic control systems were implemented using flip-flops and ______.

<p>counters</p> Signup and view all the answers

The overall process in early automatic control systems was described in ______ and was not easy to change.

<p>hardware</p> Signup and view all the answers

An electronics engineer realized that the functions for which he was designing logic hardware could be described in terms of a ______.

<p>computer program</p> Signup and view all the answers

The circuit which stores sequences as a program was further developed and incorporated into a chip set, which became known as a ______.

<p>microprocessor</p> Signup and view all the answers

The usage where the microprocessor is used as a logic replacement is the ______ main area of microprocessor applications.

<p>second</p> Signup and view all the answers

The ALU comprises circuitry to perform arithmetic and logical operations, such as ADD, SUBTRACT, AND, OR, ______.

<p>SHIFT</p> Signup and view all the answers

A register is a temporary (internal) storage element. This will typically hold an 8 or 16 bit ______.

<p>operand</p> Signup and view all the answers

A bus is a parallel set of wires (metallization or conductive silicon internally to a chip) which carries ______.

<p>information</p> Signup and view all the answers

The result of one addition can be carried forward to the next, being stored in the ______.

<p>accumulator</p> Signup and view all the answers

The ALU requires additional inputs for other programming or ______ select inputs for different operations.

<p>function</p> Signup and view all the answers

The 74HC181 is a 4 + 4 bits ALU with 32 ______ functions.

<p>programmable</p> Signup and view all the answers

Data words are presented at the inputs and the output word is stored by applying the appropriate ______ code for each instruction.

<p>function</p> Signup and view all the answers

The logical sequences for each instruction need not be known by the ______.

<p>programmer</p> Signup and view all the answers

An 8-bit microprocessor is designed to operate with 8-bit ______ predominantly.

<p>operands</p> Signup and view all the answers

The registers and ALU are joined by a ______ which allows data to be passed from a register to the ALU and back.

<p>DATA BUS</p> Signup and view all the answers

The timing and control circuitry ensures that only one pair of devices is using the ______ at any time.

<p>data bus</p> Signup and view all the answers

In addition to the 8-bit data bus, there is a 16-bit ______.

<p>address bus</p> Signup and view all the answers

External storage elements, or ______, can be read or written to using an extension of the internal data bus.

<p>memory</p> Signup and view all the answers

A control signal called READ/NOT-WRITE or R/W is provided to indicate the ______ in which the data is traveling.

<p>direction</p> Signup and view all the answers

The address bus of 8-bit microprocessors is usually 16-bits wide, which allows access up to 65536 external bytes of ______.

<p>data</p> Signup and view all the answers

[Blank] are registers where data can be manipulated by the arithmetic and logical instructions.

<p>Data Registers</p> Signup and view all the answers

[Blank] hold addresses for use in data movement instructions.

<p>Address Registers</p> Signup and view all the answers

The M6809 has two address registers called Index Register X and Index Register ______.

<p>Y</p> Signup and view all the answers

The R/W line is ______ when a memory read operation is taking place.

<p>HIGH</p> Signup and view all the answers

The R/W line is ______ when a memory write is taking place.

<p>LOW</p> Signup and view all the answers

Program Counter stores the ______ of the next instruction which is to be executed.

<p>address</p> Signup and view all the answers

Instructions are moved from the appropriate memory register into the ______.

<p>instruction register</p> Signup and view all the answers

The processor requires various temporary registers to hold ______ data while an instruction is being carried out.

<p>transitory</p> Signup and view all the answers

The bus that connects the processor to memory devices and interfaces is the ______.

<p>Address Bus</p> Signup and view all the answers

To avoid damaging the devices or scrambling data, only one device may place data on the ______ at a time.

<p>bus</p> Signup and view all the answers

The ALU performs ______ and logical operations.

<p>arithmetic</p> Signup and view all the answers

[Blank] are a special class of register which are closely connected with the ALU.

<p>Accumulators</p> Signup and view all the answers

Address and Data [Blank] exist to transfer data both internally and externally to the microprocessor.

<p>Busses</p> Signup and view all the answers

In microprocessor registers, PC stands for ______

<p>Program Counter</p> Signup and view all the answers

Flashcards

Microprocessor

A programmable, multipurpose, clock-driven, register-based electronic device that reads binary instructions from memory.

BUS

A parallel set of wires (metallization or conductive silicon internally to a chip) which carries information.

What is an ALU?

The ALU comprises circuitry to perform arithmetic and logical operations, such as ADD, SUBTRACT, AND, OR, SHIFT.

What is a register?

A temporary (internal) storage element which will typically hold an 8 or 16 bit operand.

Signup and view all the flashcards

How does a data bus work?

Data can be passed from a register to the ALU at one instant and from the ALU to a register at another instant.

Signup and view all the flashcards

ALU Function

The ALU performs arithmetic and logical operations.

Signup and view all the flashcards

What are accumulators?

Special registers closely connected to the ALU which easily perform arithmetic and logical operations on their contents.

Signup and view all the flashcards

What are registers?

Storage elements that have specific functions due to their hardware implementation or task.

Signup and view all the flashcards

How do timing circuits co-ordinate data transfers?

Timing and Control circuits coordinate operations, processing data in nanoseconds.

Signup and view all the flashcards

What do address and data busses do?

The address and data busses that transfer data both internally and externally to the microprocessor.

Signup and view all the flashcards

Memory Mapping

Used to translate the logical address space into physical memory.

Signup and view all the flashcards

Little-Endian

The arrangement of bytes in memory, where the least significant byte is stored first.

Signup and view all the flashcards

Big-Endian

The arrangement of bytes in memory, where the most significant byte of a multi-byte scalar is stored 'first'.

Signup and view all the flashcards

Microprocessor

Is a tiny electronic chip found inside a computer's central processing unit, microcontroller unit and other electronic devices

Signup and view all the flashcards

Digital Computer

Combination of digital device and circuits that can perform a programmed sequence of operations with a minimum of human intervention

Signup and view all the flashcards

Central Processing Unit

CPU is the brain of the computer where most calculations take place.

Signup and view all the flashcards

The Microprocessor unit

The MPU performs a number of functions, including: providing timing and control signals for all elements of the microcomputer

Signup and view all the flashcards

Timing Control Section

Used to fetch and decode (Interpret) instruction codes from program memory.

Signup and view all the flashcards

Register Section

Contains various registers (inside the MPU), each of which performs a special function.

Signup and view all the flashcards

Program Counter

The most important register that keeps track of the addresses of the instruction codes as they are fetch from memory.

Signup and view all the flashcards

ALU Sections

Performs a variety of arithmetic and logic operations on data

Signup and view all the flashcards

What is a word size?

The number of bits that make up a word.

Signup and view all the flashcards

Instruction Words

Contain the information necessary for a computer to execute its various operations.

Signup and view all the flashcards

Single word

A complete instruction that contains op code and operand address information stored in a single memory location.

Signup and view all the flashcards

Machine Language

The instruction words that are represented by 1s and Os, the only language that the machine (computer) can understand.

Signup and view all the flashcards

What language can a machines understand?

The instruction words that, when are presented by machines only use 0s and 1s

Signup and view all the flashcards

High Level Language

High level languages are designed to make it easy for humans to write a program

Signup and view all the flashcards

Compiler

is a software that Converts high-level language into machine language.

Signup and view all the flashcards

Study Notes

Microprocessor Systems

  • Microprocessors are widely used, replacing hardware-based logic designs with software-controlled flexibility.
  • This shift allows for easy modification of system characteristics through software changes.
  • New applications have emerged because of the microprocessor's cost-effectiveness compared to minicomputers and complex hardware logic.

Fundamentals of Microprocessors

  • Microprocessors are programmable, multipurpose, clock-driven, and register-based electronic devices.
  • They read binary instructions from memory, accept binary data as input, process the data, and output results.

Learning Objectives

  • After reading this, students should discuss the birth, basic principles, and operation of microprocessors.
  • Describe the principle of microprocessor systems

Technical Skills

  • One must be familiar with logic circuits and switching theory.

Duration

  • Topic 1, "The Fundamentals of Microprocessor," requires 4.5 hours.
  • Topic 2, "Memory Mapping Format of a Microprocessor," needs 3.0 hours.

Computer Types

  • Mainframe computers: Large, room-sized machines.
  • Minicomputers: Smaller than mainframes, fitting in a large filing cabinet, cheaper, and operable in regular rooms.
  • Microcomputers: Resulted from the advent of microprocessors in 1971, small and used in various applications.
  • Personal computers: General-purpose computers with microprocessors.

Microprocessor Origins

  • Automatic machine control initially used TTL logic circuitry. Sequential operations used flip-flops and counters. Process conditions used combinational logic.
  • The minicomputer's introduction enabled computer-controlled machinery and industrial processes.
  • In 1971, an engineer conceived designing logic where circuit sequences were program-stored, leading to the microprocessor.

Core Components

  • Microprocessor systems consist of the Arithmetic and Logic Unit (ALU), registers, and buses.

Definitions

  • ALU: Circuitry for arithmetic and logical operations (ADD, SUBTRACT, AND, OR, SHIFT).
  • Registers: Temporary internal storage, typically holding 8 or 16-bit operands.
  • Bus: Parallel wires (metallization or conductive silicon) conveying information.

The ALU

  • In practice, one input operand (1 byte) goes into a special register known as an ACCUMULATOR, so the result of one addition can be carried forward to the next. Here, the result is stored in the accumulator, overwriting any previous data. It derives its name from this accumulating action.
  • A typical sequence adds two 8-bit numbers by loading the accumulator with operand A, fetching operand B, adding them, and storing the result in the accumulator.
  • ALUs require function select inputs for diverse operations beyond adding or ANDing.
  • The 74HC181 is a 4 + 4 bits ALU with 32 programmable functions.

General Microprocessor

  • Providing data words at inputs, storing output words, and giving function codes are needed to make an ALU a processor.
  • An 8-bit microprocessor handles larger words in 8-bit chunks.

Microprocessor Function

  • Registers and the ALU connect via a DATA BUS, enabling data transfer for operations.
  • Timing and control circuits manage which device uses the data bus at a time.
  • Instead of private connections, devices share wires, using time multiplexing.

Buses

  • Besides the 8-bit data bus, a 16-bit address bus exists, controlled by signals.
  • A microprocessor has limited internal data storage.

Memory

  • External memory can be read and written to using the internal data bus.
  • Buffers manage external memory chips.

Data Bus

  • The data bus is bidirectional to transfer data to and from external memory.
  • A control signal, READ/NOT-WRITE (R/W), dictates data direction. HIGH signals a memory read; LOW indicates a memory write.
  • The address bus carries a 16-bit code that identifies external memory cells.
  • The settings of the R/W line dictates each memory location's response to its code and its data direction.
  • The address bus is unidirectional because the microprocessor usually generates addresses. 65536 external bytes of data can be accessed by the address bus of 8-bit microprocessors (16-bits wide).

Registers

  • Data Registers: These are registers that carry out arithmetic and logical instructions.
  • Address Registers: Addresses stored in them can be manipulated. Used for data movement instructions
  • Program Counter: Tracks the processor's location in a program..
  • Instruction Register: Holds the binary instruction word while it's being executed.
  • Temporary Registers: used to hold transitory data while an instruction is being carried out

Buses: Essential Data Pathways

  • Buses enable data transfer between components of a computer system.
  • To transfer 8 bits, 8 wires or PCB tracks are normally used for these.

Buses: Function and Types

  • Address Bus: Connects the processor to memory and interfaces. Used to show which memory or interface register is sending or getting data (16 bits in 6809).
  • Data Bus: Transfers data between the processor, memory, and interfaces but must prevent scrambling by allowing only one device to place data on the bus at a time; the 6809 system's data bus has 8 bits.

Summary of Microprocessor Systems

  • The ALU executes logical and arithmetic operations
  • ALUs are often connected with accumulators, making it easier to perform logical and arithmetic operations on their contents.
  • Registers can execute certain ways that allow them to perform specific operations inside the computer
  • Timing and control circuits coordinate data transfers in order.
  • The ALU, the timing circuits process data and transfer data back and forth in a matter of nanoseconds.
  • Address and Data Busses are in place to transfer data within and outside the microprocessor.

Memory Mapping

  • Memory mapping translates between logical address space and physical memory.
  • Memory mapping goals include logical-to-physical address translation, memory protection, and memory resource management.
  • Memory mapping impacts computer performance via instruction execution time and program run time.
  • Each time a program displays a logical memory address, the translation mechanism must translate that address into the appropriate physical memory location.

Little-Endian

  • With little-endian hardware, the lowest byte of a multi-byte scalar gets stored at the lowest memory address. Intel/AMD x86, Digital VAX, and Digital Alpha use this format.

Big-Endian

  • With big-endian setups, the most significant byte of a multi-byte number is stored "first," meaning at the lowest memory address. IBM mainframes, Motorola 680x0, Sun SPARC, PowerPC, and most RISC machines use this format.

Integer Storage

  • With big-endian storage, the highest, most significant byte of a multi-byte scalar is stored "first" in the lowest memory address.
  • Conversely, with "little-endian," the lowest, least significant byte is stored initially in the lowest address.
  • Considering 0x44332211, with "little-endian, is 0x11; the two memory storage patterns are 104 11, 103 22, 102 33, 101 44

Studying That Suits You

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

Quiz Team

Related Documents

More Like This

CS 3691 Embedded Systems and IoT
32 questions

CS 3691 Embedded Systems and IoT

MomentousDiscernment5724 avatar
MomentousDiscernment5724
Sisteme cu Microprocesoare: Introducere
21 questions
Use Quizgecko on...
Browser
Browser