Podcast
Questions and Answers
Microprocessors are extensively used in this ______-day world.
Microprocessors are extensively used in this ______-day world.
modern
Before microprocessors, logic design was done by hardware using gates, ______, etc.
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 ______.
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 ______.
Microprocessors provide flexibility in instrumentation and automation where system characteristics can be altered by changing the ______.
New applications have emerged due to microprocessors, which were previously not possible because of the high cost of a ______.
New applications have emerged due to microprocessors, which were previously not possible because of the high cost of a ______.
Before computers were widely available, automatic control of machines was achieved using logic circuitry of the ______ family and its predecessors.
Before computers were widely available, automatic control of machines was achieved using logic circuitry of the ______ family and its predecessors.
Sequential operations in early automatic control systems were implemented using flip-flops and ______.
Sequential operations in early automatic control systems were implemented using flip-flops and ______.
The overall process in early automatic control systems was described in ______ and was not easy to change.
The overall process in early automatic control systems was described in ______ and was not easy to change.
An electronics engineer realized that the functions for which he was designing logic hardware could be described in terms of a ______.
An electronics engineer realized that the functions for which he was designing logic hardware could be described in terms of a ______.
The circuit which stores sequences as a program was further developed and incorporated into a chip set, which became known as a ______.
The circuit which stores sequences as a program was further developed and incorporated into a chip set, which became known as a ______.
The usage where the microprocessor is used as a logic replacement is the ______ main area of microprocessor applications.
The usage where the microprocessor is used as a logic replacement is the ______ main area of microprocessor applications.
The ALU comprises circuitry to perform arithmetic and logical operations, such as ADD, SUBTRACT, AND, OR, ______.
The ALU comprises circuitry to perform arithmetic and logical operations, such as ADD, SUBTRACT, AND, OR, ______.
A register is a temporary (internal) storage element. This will typically hold an 8 or 16 bit ______.
A register is a temporary (internal) storage element. This will typically hold an 8 or 16 bit ______.
A bus is a parallel set of wires (metallization or conductive silicon internally to a chip) which carries ______.
A bus is a parallel set of wires (metallization or conductive silicon internally to a chip) which carries ______.
The result of one addition can be carried forward to the next, being stored in the ______.
The result of one addition can be carried forward to the next, being stored in the ______.
The ALU requires additional inputs for other programming or ______ select inputs for different operations.
The ALU requires additional inputs for other programming or ______ select inputs for different operations.
The 74HC181 is a 4 + 4 bits ALU with 32 ______ functions.
The 74HC181 is a 4 + 4 bits ALU with 32 ______ functions.
Data words are presented at the inputs and the output word is stored by applying the appropriate ______ code for each instruction.
Data words are presented at the inputs and the output word is stored by applying the appropriate ______ code for each instruction.
The logical sequences for each instruction need not be known by the ______.
The logical sequences for each instruction need not be known by the ______.
An 8-bit microprocessor is designed to operate with 8-bit ______ predominantly.
An 8-bit microprocessor is designed to operate with 8-bit ______ predominantly.
The registers and ALU are joined by a ______ which allows data to be passed from a register to the ALU and back.
The registers and ALU are joined by a ______ which allows data to be passed from a register to the ALU and back.
The timing and control circuitry ensures that only one pair of devices is using the ______ at any time.
The timing and control circuitry ensures that only one pair of devices is using the ______ at any time.
In addition to the 8-bit data bus, there is a 16-bit ______.
In addition to the 8-bit data bus, there is a 16-bit ______.
External storage elements, or ______, can be read or written to using an extension of the internal data bus.
External storage elements, or ______, can be read or written to using an extension of the internal data bus.
A control signal called READ/NOT-WRITE or R/W is provided to indicate the ______ in which the data is traveling.
A control signal called READ/NOT-WRITE or R/W is provided to indicate the ______ in which the data is traveling.
The address bus of 8-bit microprocessors is usually 16-bits wide, which allows access up to 65536 external bytes of ______.
The address bus of 8-bit microprocessors is usually 16-bits wide, which allows access up to 65536 external bytes of ______.
[Blank] are registers where data can be manipulated by the arithmetic and logical instructions.
[Blank] are registers where data can be manipulated by the arithmetic and logical instructions.
[Blank] hold addresses for use in data movement instructions.
[Blank] hold addresses for use in data movement instructions.
The M6809 has two address registers called Index Register X and Index Register ______.
The M6809 has two address registers called Index Register X and Index Register ______.
The R/W line is ______ when a memory read operation is taking place.
The R/W line is ______ when a memory read operation is taking place.
The R/W line is ______ when a memory write is taking place.
The R/W line is ______ when a memory write is taking place.
Program Counter stores the ______ of the next instruction which is to be executed.
Program Counter stores the ______ of the next instruction which is to be executed.
Instructions are moved from the appropriate memory register into the ______.
Instructions are moved from the appropriate memory register into the ______.
The processor requires various temporary registers to hold ______ data while an instruction is being carried out.
The processor requires various temporary registers to hold ______ data while an instruction is being carried out.
The bus that connects the processor to memory devices and interfaces is the ______.
The bus that connects the processor to memory devices and interfaces is the ______.
To avoid damaging the devices or scrambling data, only one device may place data on the ______ at a time.
To avoid damaging the devices or scrambling data, only one device may place data on the ______ at a time.
The ALU performs ______ and logical operations.
The ALU performs ______ and logical operations.
[Blank] are a special class of register which are closely connected with the ALU.
[Blank] are a special class of register which are closely connected with the ALU.
Address and Data [Blank] exist to transfer data both internally and externally to the microprocessor.
Address and Data [Blank] exist to transfer data both internally and externally to the microprocessor.
In microprocessor registers, PC stands for ______
In microprocessor registers, PC stands for ______
Flashcards
Microprocessor
Microprocessor
A programmable, multipurpose, clock-driven, register-based electronic device that reads binary instructions from memory.
BUS
BUS
A parallel set of wires (metallization or conductive silicon internally to a chip) which carries information.
What is an ALU?
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?
What is a register?
Signup and view all the flashcards
How does a data bus work?
How does a data bus work?
Signup and view all the flashcards
ALU Function
ALU Function
Signup and view all the flashcards
What are accumulators?
What are accumulators?
Signup and view all the flashcards
What are registers?
What are registers?
Signup and view all the flashcards
How do timing circuits co-ordinate data transfers?
How do timing circuits co-ordinate data transfers?
Signup and view all the flashcards
What do address and data busses do?
What do address and data busses do?
Signup and view all the flashcards
Memory Mapping
Memory Mapping
Signup and view all the flashcards
Little-Endian
Little-Endian
Signup and view all the flashcards
Big-Endian
Big-Endian
Signup and view all the flashcards
Microprocessor
Microprocessor
Signup and view all the flashcards
Digital Computer
Digital Computer
Signup and view all the flashcards
Central Processing Unit
Central Processing Unit
Signup and view all the flashcards
The Microprocessor unit
The Microprocessor unit
Signup and view all the flashcards
Timing Control Section
Timing Control Section
Signup and view all the flashcards
Register Section
Register Section
Signup and view all the flashcards
Program Counter
Program Counter
Signup and view all the flashcards
ALU Sections
ALU Sections
Signup and view all the flashcards
What is a word size?
What is a word size?
Signup and view all the flashcards
Instruction Words
Instruction Words
Signup and view all the flashcards
Single word
Single word
Signup and view all the flashcards
Machine Language
Machine Language
Signup and view all the flashcards
What language can a machines understand?
What language can a machines understand?
Signup and view all the flashcards
High Level Language
High Level Language
Signup and view all the flashcards
Compiler
Compiler
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.