Computers are not complicated device,
They are not infinitely intelligent
They do not think better than people.
A computer can only do what a programs instruct through programs
This document provides an introduction and overview of microprocessors. It defines a microprocessor as a programmable VLSI chip that includes an ALU, registers, and control circuits. The document describes the basic components of a computer system including CPU, memory, and I/O. It provides a block diagram of the 8085 microprocessor architecture including its register array, ALU, instruction decoder, interrupt control, and serial I/O control. It also describes the address bus, data bus, status signals, control signals, and pin configuration of the 8085 microprocessor.
This document summarizes a student project to design a 32KB SRAM memory array using Cadence Virtuoso and a 45nm technology. It includes the design of a 6 transistor SRAM cell, row and column decoders, critical path components like the precharge circuit and sense amplifiers. Two types of sense amplifiers - differential and latched-based were modeled and their read delay, power consumption and sizing were compared through simulation. The results showed that the latched-based sense amplifier consumed 14x less power, had less read delay and size making it a better choice compared to the differential sense amplifier.
This document provides an overview of microprocessors. It discusses that a microprocessor is a clock driven semiconductor device manufactured using LSI or VLSI techniques. It can be divided into an arithmetic logic unit, register array, and control unit. Memory stores binary instructions and data for the microprocessor. Input/output devices allow communication with external components via a system bus. The document also discusses microprocessor architecture, languages like assembly and machine code, and provides details on the 8085 microprocessor from Intel including its address bus, data bus and control bus.
The document discusses Dynamic Random Access Memory (DRAM). DRAM uses a capacitor and transistor to store each bit of data, which allows it to be implemented using less space than SRAM. However, DRAM is volatile and requires periodic refreshing to prevent data loss as the capacitor charge leaks over time. Common DRAM configurations include one transistor cells, three transistor cells, and four transistor cells. The document outlines the read and write operations for DRAM and how refreshing maintains the stored data.
The document describes the internal architecture of the 8086 microprocessor. It has two main blocks: the Bus Interface Unit (BIU) and Execution Unit (EU). The BIU handles fetching instructions and data from memory and I/O, while the EU decodes and executes instructions. The 8086 uses general purpose registers like AX, BX, CX, DX as well as segment registers, pointers, and a flag register to control operations and store temporary data as it executes instructions.
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONSRamaPrabha24
This document discusses the architecture and operations of microprocessors. It focuses on the Intel 8085 microprocessor. The 8085 architecture consists of a register array, ALU and logic group, instruction decoder and encoder, interrupt control group, and serial I/O control group. The register array contains general purpose registers, temporary registers, special purpose registers like the accumulator, flags register, and instruction register, and 16-bit registers like the program counter and stack pointer. The ALU performs arithmetic and logical operations. The instruction decoder decodes instructions and the timing and control circuitry manages the sequencing of operations. Microprocessor operations include memory reads/writes, I/O reads/writes using address, data and control buses, internal data operations
The ARM instruction set can be categorized into three types:
1) Data processing instructions that perform arithmetic, logical, and comparison operations using values stored in registers.
2) Data transfer instructions that move values between registers and memory, including single register and multiple register load/store instructions.
3) Control flow instructions that change the order of execution, including unconditional, conditional, and branch-and-link instructions as well as conditional execution of instructions.
Overview of microcontroller and microprocessor Mrunal Deshkar
This document provides information about microprocessors and microcontrollers. It discusses that a microprocessor is the central processing unit of a microcomputer that performs functions like fetching instructions from memory and performing arithmetic/logic operations. Internally, a microprocessor consists of an arithmetic logic unit, control unit, registers, and input/output units. It also contains details about the components of a microcontroller like timers, counters, internal memory, and I/O ports. The key differences between a microprocessor and microcontroller are that microcontrollers are designed to perform dedicated tasks, have lower power consumption, and are integrated with memory and I/O ports, while microprocessors are used to design general purpose computers and require external components.
8085 microprocessor Architecture and Pin description Vijay Kumar
The 8085 microprocessor is an 8-bit CPU introduced in 1976. It has 16 address lines allowing access to 64KB of memory. It has 8 data lines that are multiplexed with the lower 8 address lines, requiring external hardware to separate them. The 8085 has registers including an accumulator, flag register, and 6 general purpose registers. It supports interrupts and direct memory access. The document provides details on the 8085 architecture, instruction set, pinouts, and bus structure.
Pipelining is an speed up technique where multiple instructions are overlapped in execution on a processor. It is an important topic in Computer Architecture.
This slide try to relate the problem with real life scenario for easily understanding the concept and show the major inner mechanism.
The document summarizes memory organization and addressing in the 8086 microprocessor. It discusses that the 8086 has a 20-bit address bus that can access 1MB of memory. Memory is organized into two 512KB banks to allow 16-bit words to be accessed with a single machine cycle. Data can be accessed from memory in four ways - as 8-bit quantities from the even or odd bank, or as 16-bit words from even or odd addresses, which may require one or two cycles respectively. The document provides details on the signals used to control memory bank selection and addressing.
The document provides an introduction to microprocessors. It defines a microprocessor as an electronic circuit that functions as the central processing unit (CPU) of a computer, providing computational control. It then discusses the key components of a microprocessor including the arithmetic logic unit (ALU), control unit, registers, cache memory, bus interface, and address and data buses. The microprocessor reads instructions from memory, performs operations specified by those instructions on data, and stores results back to memory or outputs devices.
The document discusses the instruction set of the 8085 microprocessor. It is divided into 5 categories: 1) Data Transfer Instructions which move data between registers and memory, 2) Arithmetic Instructions which perform addition, subtraction, incrementing and decrementing, 3) Logical Instructions which perform logical operations like AND, OR, XOR, 4) Branching Instructions which alter program flow unconditionally or conditionally, and 5) Control Instructions which control the operation of the microprocessor like halt. Examples of instructions from each category are provided.
The document provides information about the 8051 microcontroller, including:
1) An overview of the 8051 microcontroller, its features such as 4K bytes of ROM, 128 bytes of RAM, four 8-bit I/O ports, and two 16-bit timers.
2) Details about the registers of the 8051 including the accumulator, program status word, stack pointer, and special function registers for timers and I/O ports.
3) Explanations of memory mapping and I/O port programming for the 8051.
The document discusses stacks, subroutines, and the 8085 microprocessor. It provides the following key points:
1. The stack is an area of memory used for temporary storage of information in LIFO (last in first out) order, growing backwards into memory with the stack pointer register defining the bottom.
2. Subroutines allow groups of instructions to be called from different locations to avoid repetition. The 8085 uses CALL to redirect execution to a subroutine and RTE to return to the calling routine.
3. Data can be passed to subroutines through registers or memory locations. Proper subroutines only enter at the start and exit at the end, with a single entry point
The document provides an overview of assembly language programming for the 8085 microprocessor. It discusses the 8085 programming model including registers, flags, and addressing modes. It also describes the instruction set categories and provides examples of common instruction types like data transfer, arithmetic, logical, and branching instructions. Sample assembly language programs are shown to add two numbers and handle results larger than 8 bits.
This document provides an overview of microprocessors and microcontrollers. It discusses the evolution of microprocessors from discrete components to integrated circuits. The key components of a microprocessor like the CPU, ALU, and memory are described. Microcontroller fundamentals like PIC microcontrollers and their architecture are also covered. Common applications of microprocessors and microcontrollers are in devices like appliances, automobiles, and industrial control systems. Leading manufacturers of microprocessors and microcontrollers are mentioned.
The 8086 microprocessor has an architecture that separates it into a Bus Interface Unit (BIU) and Execution Unit (EU). The BIU fetches instructions and data from memory and handles address calculation on the buses. The EU decodes and executes instructions using its 16-bit ALU. The 8086 has 16 general purpose registers including 4 data registers (AX, BX, CX, DX) and segment/pointer registers. It also contains a flag register for storing status flags. The 8086 can queue up to 6 bytes of upcoming instructions to improve performance.
The 8086 microprocessor is a 16-bit processor designed by Intel in the late 1970s. It has a segmented memory architecture that supports a 16-bit ALU, registers, and memory addressing. Its architecture provides improvements over the 8085 including a 16-bit design, segmented memory addressing, and an instruction queue. The main components of the 8086 are the Bus Interface Unit (BIU) which contains the address adder, segment registers, and instruction queue, and the Execution Unit (EU) which contains registers, an ALU, and flag registers for status information.
The document discusses the ATmega32 microcontroller. It begins by defining a microcontroller as a small computer containing a processor, memory, and programmable input/output pins. It then lists some key features of the ATmega32 microcontroller, which include 32 I/O pins, 32KB of flash memory, 1024 bytes of EEPROM, and the ability to handle 3 external interrupts. The document also briefly covers the Von Neumann and Harvard architectures and how the ATmega32 is programmed using languages like Assembly, C, and C++ through the AVR studio software.
The document discusses interrupts in computing systems. It defines an interrupt as either a hardware-generated call from an external signal or a software-generated call from an instruction. The main purposes of interrupts are to halt normal program execution and divert processing to an interrupt service routine in response to external events. It then provides details on different types of interrupts, including hardware interrupts from devices and software interrupts from instructions. It lists and describes the most common interrupt types and their associated vector numbers.
The document discusses read and write operations in computer memory. A write operation transfers the address and data to the memory lines and activates the write control line. A read operation transfers the address and activates the read control line. The memory enable line determines if a read or write occurs based on whether the read/write line is set to 0 or 1. Memory stores data in n-bit words that can be accessed using k address lines, with data input and output lines transferring data during write and read operations respectively.
A microcontroller is an integrated circuit that can be programmed to control electronic devices. It contains a processor, memory, and input/output ports on a single chip. Microcontrollers come in various sizes based on their word length and internal bus width, from 4-bit to 32-bit. They also differ based on their memory architecture and instruction set. A microcontroller allows easy programming to control devices in embedded systems and provides advantages like low cost, small size, and flexibility.
The control unit is responsible for controlling the flow of data and operations in a computer. It generates timing and control signals to coordinate the arithmetic logic unit, memory, and other components. Control units can be implemented using either hardwired or microprogrammed logic. A hardwired control unit uses combinational logic circuits like gates and flip-flops to directly generate control signals, while a microprogrammed control unit stores control sequences as microprograms in a control memory and executes them step-by-step using microinstructions. Both approaches have advantages and disadvantages related to speed, flexibility, cost, and complexity of implementation.
The document discusses microprocessors, microcontrollers, and the 8085 microprocessor. It defines a microprocessor as a programmable device that performs arithmetic and logical operations on numbers according to a stored program. A microcontroller is similar but has memory and I/O functions integrated on a single chip. The 8085 is an 8-bit microprocessor with 40 pins that can address 64KB of memory and has 74 instructions across 5 addressing modes. It uses multiplexed address and data lines to reduce pins.
The 8085 microprocessor was introduced by Intel in 1976 as an updated version of the 8080 microprocessor. It is an 8-bit microprocessor that can access 64KB of memory using 16-bit address lines and has 8 I/O ports. It contains registers like the accumulator, flag register, and instruction register. The 8085 has an arithmetic logic unit and uses various addressing modes like immediate, register, direct, indirect and implied addressing. It consists of functional blocks like registers, instruction decoder, address/data buffers, and interrupt control.
The document discusses the applications of microprocessors. It explains that microprocessors are used as the central processing unit in microcomputers to perform computing tasks and make decisions. Microprocessors are commonly used in embedded systems and reactive systems to control external hardware and events in applications like consumer electronics, home appliances, automotive systems, medical instrumentation, industrial automation, communication devices, and more. The document provides examples of microprocessors being used for functions like speed control of motors, traffic light control, instrument measurement, appliance operation, building automation, and other control systems.
The document provides information about the Intel 8085 microprocessor, including:
- The 8085 is an 8-bit microprocessor chip from Intel that was popular in the late 1970s/early 1980s.
- It has 40 pins and uses a multiplexed address/data bus. It can access 64KB of memory and 256 I/O ports.
- The document describes the various pin functions of the 8085 including power supply, serial I/O, address/data bus, control signals, and interrupt signals.
- Details are provided about the internal architecture of the 8085 including the ALU, registers, and addressing modes supported.
Overview of microcontroller and microprocessor Mrunal Deshkar
This document provides information about microprocessors and microcontrollers. It discusses that a microprocessor is the central processing unit of a microcomputer that performs functions like fetching instructions from memory and performing arithmetic/logic operations. Internally, a microprocessor consists of an arithmetic logic unit, control unit, registers, and input/output units. It also contains details about the components of a microcontroller like timers, counters, internal memory, and I/O ports. The key differences between a microprocessor and microcontroller are that microcontrollers are designed to perform dedicated tasks, have lower power consumption, and are integrated with memory and I/O ports, while microprocessors are used to design general purpose computers and require external components.
8085 microprocessor Architecture and Pin description Vijay Kumar
The 8085 microprocessor is an 8-bit CPU introduced in 1976. It has 16 address lines allowing access to 64KB of memory. It has 8 data lines that are multiplexed with the lower 8 address lines, requiring external hardware to separate them. The 8085 has registers including an accumulator, flag register, and 6 general purpose registers. It supports interrupts and direct memory access. The document provides details on the 8085 architecture, instruction set, pinouts, and bus structure.
Pipelining is an speed up technique where multiple instructions are overlapped in execution on a processor. It is an important topic in Computer Architecture.
This slide try to relate the problem with real life scenario for easily understanding the concept and show the major inner mechanism.
The document summarizes memory organization and addressing in the 8086 microprocessor. It discusses that the 8086 has a 20-bit address bus that can access 1MB of memory. Memory is organized into two 512KB banks to allow 16-bit words to be accessed with a single machine cycle. Data can be accessed from memory in four ways - as 8-bit quantities from the even or odd bank, or as 16-bit words from even or odd addresses, which may require one or two cycles respectively. The document provides details on the signals used to control memory bank selection and addressing.
The document provides an introduction to microprocessors. It defines a microprocessor as an electronic circuit that functions as the central processing unit (CPU) of a computer, providing computational control. It then discusses the key components of a microprocessor including the arithmetic logic unit (ALU), control unit, registers, cache memory, bus interface, and address and data buses. The microprocessor reads instructions from memory, performs operations specified by those instructions on data, and stores results back to memory or outputs devices.
The document discusses the instruction set of the 8085 microprocessor. It is divided into 5 categories: 1) Data Transfer Instructions which move data between registers and memory, 2) Arithmetic Instructions which perform addition, subtraction, incrementing and decrementing, 3) Logical Instructions which perform logical operations like AND, OR, XOR, 4) Branching Instructions which alter program flow unconditionally or conditionally, and 5) Control Instructions which control the operation of the microprocessor like halt. Examples of instructions from each category are provided.
The document provides information about the 8051 microcontroller, including:
1) An overview of the 8051 microcontroller, its features such as 4K bytes of ROM, 128 bytes of RAM, four 8-bit I/O ports, and two 16-bit timers.
2) Details about the registers of the 8051 including the accumulator, program status word, stack pointer, and special function registers for timers and I/O ports.
3) Explanations of memory mapping and I/O port programming for the 8051.
The document discusses stacks, subroutines, and the 8085 microprocessor. It provides the following key points:
1. The stack is an area of memory used for temporary storage of information in LIFO (last in first out) order, growing backwards into memory with the stack pointer register defining the bottom.
2. Subroutines allow groups of instructions to be called from different locations to avoid repetition. The 8085 uses CALL to redirect execution to a subroutine and RTE to return to the calling routine.
3. Data can be passed to subroutines through registers or memory locations. Proper subroutines only enter at the start and exit at the end, with a single entry point
The document provides an overview of assembly language programming for the 8085 microprocessor. It discusses the 8085 programming model including registers, flags, and addressing modes. It also describes the instruction set categories and provides examples of common instruction types like data transfer, arithmetic, logical, and branching instructions. Sample assembly language programs are shown to add two numbers and handle results larger than 8 bits.
This document provides an overview of microprocessors and microcontrollers. It discusses the evolution of microprocessors from discrete components to integrated circuits. The key components of a microprocessor like the CPU, ALU, and memory are described. Microcontroller fundamentals like PIC microcontrollers and their architecture are also covered. Common applications of microprocessors and microcontrollers are in devices like appliances, automobiles, and industrial control systems. Leading manufacturers of microprocessors and microcontrollers are mentioned.
The 8086 microprocessor has an architecture that separates it into a Bus Interface Unit (BIU) and Execution Unit (EU). The BIU fetches instructions and data from memory and handles address calculation on the buses. The EU decodes and executes instructions using its 16-bit ALU. The 8086 has 16 general purpose registers including 4 data registers (AX, BX, CX, DX) and segment/pointer registers. It also contains a flag register for storing status flags. The 8086 can queue up to 6 bytes of upcoming instructions to improve performance.
The 8086 microprocessor is a 16-bit processor designed by Intel in the late 1970s. It has a segmented memory architecture that supports a 16-bit ALU, registers, and memory addressing. Its architecture provides improvements over the 8085 including a 16-bit design, segmented memory addressing, and an instruction queue. The main components of the 8086 are the Bus Interface Unit (BIU) which contains the address adder, segment registers, and instruction queue, and the Execution Unit (EU) which contains registers, an ALU, and flag registers for status information.
The document discusses the ATmega32 microcontroller. It begins by defining a microcontroller as a small computer containing a processor, memory, and programmable input/output pins. It then lists some key features of the ATmega32 microcontroller, which include 32 I/O pins, 32KB of flash memory, 1024 bytes of EEPROM, and the ability to handle 3 external interrupts. The document also briefly covers the Von Neumann and Harvard architectures and how the ATmega32 is programmed using languages like Assembly, C, and C++ through the AVR studio software.
The document discusses interrupts in computing systems. It defines an interrupt as either a hardware-generated call from an external signal or a software-generated call from an instruction. The main purposes of interrupts are to halt normal program execution and divert processing to an interrupt service routine in response to external events. It then provides details on different types of interrupts, including hardware interrupts from devices and software interrupts from instructions. It lists and describes the most common interrupt types and their associated vector numbers.
The document discusses read and write operations in computer memory. A write operation transfers the address and data to the memory lines and activates the write control line. A read operation transfers the address and activates the read control line. The memory enable line determines if a read or write occurs based on whether the read/write line is set to 0 or 1. Memory stores data in n-bit words that can be accessed using k address lines, with data input and output lines transferring data during write and read operations respectively.
A microcontroller is an integrated circuit that can be programmed to control electronic devices. It contains a processor, memory, and input/output ports on a single chip. Microcontrollers come in various sizes based on their word length and internal bus width, from 4-bit to 32-bit. They also differ based on their memory architecture and instruction set. A microcontroller allows easy programming to control devices in embedded systems and provides advantages like low cost, small size, and flexibility.
The control unit is responsible for controlling the flow of data and operations in a computer. It generates timing and control signals to coordinate the arithmetic logic unit, memory, and other components. Control units can be implemented using either hardwired or microprogrammed logic. A hardwired control unit uses combinational logic circuits like gates and flip-flops to directly generate control signals, while a microprogrammed control unit stores control sequences as microprograms in a control memory and executes them step-by-step using microinstructions. Both approaches have advantages and disadvantages related to speed, flexibility, cost, and complexity of implementation.
The document discusses microprocessors, microcontrollers, and the 8085 microprocessor. It defines a microprocessor as a programmable device that performs arithmetic and logical operations on numbers according to a stored program. A microcontroller is similar but has memory and I/O functions integrated on a single chip. The 8085 is an 8-bit microprocessor with 40 pins that can address 64KB of memory and has 74 instructions across 5 addressing modes. It uses multiplexed address and data lines to reduce pins.
The 8085 microprocessor was introduced by Intel in 1976 as an updated version of the 8080 microprocessor. It is an 8-bit microprocessor that can access 64KB of memory using 16-bit address lines and has 8 I/O ports. It contains registers like the accumulator, flag register, and instruction register. The 8085 has an arithmetic logic unit and uses various addressing modes like immediate, register, direct, indirect and implied addressing. It consists of functional blocks like registers, instruction decoder, address/data buffers, and interrupt control.
The document discusses the applications of microprocessors. It explains that microprocessors are used as the central processing unit in microcomputers to perform computing tasks and make decisions. Microprocessors are commonly used in embedded systems and reactive systems to control external hardware and events in applications like consumer electronics, home appliances, automotive systems, medical instrumentation, industrial automation, communication devices, and more. The document provides examples of microprocessors being used for functions like speed control of motors, traffic light control, instrument measurement, appliance operation, building automation, and other control systems.
The document provides information about the Intel 8085 microprocessor, including:
- The 8085 is an 8-bit microprocessor chip from Intel that was popular in the late 1970s/early 1980s.
- It has 40 pins and uses a multiplexed address/data bus. It can access 64KB of memory and 256 I/O ports.
- The document describes the various pin functions of the 8085 including power supply, serial I/O, address/data bus, control signals, and interrupt signals.
- Details are provided about the internal architecture of the 8085 including the ALU, registers, and addressing modes supported.
Microcontrollers are used in a wide range of applications including home appliances, automotive electronics, metering, mobile electronics, and building automation. They are small computers contained on a single integrated circuit that can control processes and devices like refrigerators, washing machines, car systems, electricity meters, mobile phones, security systems, and industrial automation. Microcontrollers provide programmable input/output to enable control functions across many industries.
The document discusses control systems in automobiles, specifically focusing on electronic control units (ECUs) and knock sensors. It provides details on how ECUs act as the "brain" of a vehicle by collecting sensor data to control engine functions like fuel injection and spark timing. Knock sensors detect engine knocking through vibrations and send signals to the ECU to optimize ignition timing and prevent damage. Microcontrollers play an important role in both ECUs and knock sensors to process signals and precisely manage engine performance and emissions.
The document describes a traffic light control system using an 8085 microprocessor. It discusses the need for a traffic light system, describes the basic components including colors and signals. It then covers the hardware details of the 8085-based system and interface board, including ICs used. Algorithms and state diagrams are presented to show the logic for controlling lights and pedestrians.
This document discusses microprocessors and networking. It provides details on microprocessors such as their components like the ALU, registers and control unit. It describes early microprocessors like the 4004 and 8085. It also discusses microprocessor memory, buses and different types of integrated circuits. The document also defines what a computer network is and the different ways of physically connecting computers through guided media like coaxial cable, twisted pair and fiber optic cable. It explains wireless connections using infrared, radio frequency and microwave communications.
The document discusses the microprocessor 8085. It covers the following topics over 5 weeks: basic concepts of microprocessors, the architecture of the 8085, addressing modes and instruction set, interrupts, and peripherals. The 8085 is an 8-bit microprocessor that uses 246 bit patterns to form its 74 instruction set. An assembly language uses mnemonics like "INR A" to represent instructions, making programs easier for humans to understand compared to machine language.
Automatic temperature control using 8085 microprocessorsubhradeep mitra
This document describes an automatic temperature control system using an 8085 microprocessor. The system uses an AD590 temperature sensor, differential amplifier, ADC0808 converter, and 8085 microprocessor to control a heater or cooler based on upper and lower temperature setpoints. The system aims to minimize manual intervention in industrial temperature control applications. Key components include the temperature input unit, processing unit, and control output unit. The system provides temperature control with minimal components at low cost.
This document discusses the I2C bus which is commonly used to link microcontrollers into industrial control systems. It provides an overview of the key aspects of the I2C bus including its structure, electrical interface using an open drain configuration, physical protocol using start and stop sequences, device addressing, and typical bus transactions. The I2C bus allows for communication between processing elements that may be physically separated, enabling improved debugging and diagnosis of issues across a distributed network.
This document discusses several applications of microcontrollers including a microcontroller-based solar charger, wireless equipment control using an AT89C51 microcontroller, a secured room access system using an AVR microcontroller, and a microcontroller-based ring tone player using an AT89C51 microcontroller. The solar charger uses parallel regulation and pulsed charging to efficiently charge batteries from solar panels. The wireless equipment controller allows remote control of up to four devices within 30 meters. The secured room access system uses passwords and a microcontroller to control access to a restricted area. The ring tone player generates ring tones using a microcontroller and speaker based on RTTTL ring tone formats.
Microcontrollers are used in many automobile applications like radar speed guns, GPS tracking systems, temperature sensors, parking sensors, and ambulance tracking. They are small, cheap, and reduce the cost and size of embedded systems. Microcontrollers are used in vehicle control systems and driver information displays. They have advantages like low cost and easy troubleshooting but are limited in the number of tasks they can perform simultaneously.
This document discusses embedded systems and robotics. It begins by defining embedded systems as electronic systems where a microprocessor is embedded into an application to perform a single task. Examples like cell phones, washing machines, and traffic signals are given. The document then discusses microprocessors and microcontrollers, their components, applications in areas like automobiles, shoes, and medical devices. It also covers topics like computer architecture, layers of a computer system, embedded applications in industrial automation and robotics. Projects designed using microcontrollers are presented, including temperature monitoring and a micromouse robot.
The document discusses the 8085 microprocessor. It describes that the 8085 is an 8-bit microprocessor that can address 64KB of memory using 40 pins that operate at 5V with a maximum frequency of 3MHz. It has registers, ALU, instruction decoder, address buffer and other functional blocks. The registers include general purpose registers, temporary registers, flags register and program counter and stack pointer. The document also discusses the addressing modes, instruction formats and types of instructions of the 8085 microprocessor.
This document provides an overview of TCP congestion control algorithms. It describes the basic additive increase/multiplicative decrease approach and key mechanisms like slow start, fast retransmit, and fast recovery. It also discusses algorithms for setting the retransmission timeout value and adaptations made in protocols like New Reno and Cubic.
This document provides an overview of robotics and embedded systems topics, including definitions of key concepts. It discusses embedded systems, robotics, advanced robotics involving various sensors and modules. It also introduces the ATmega16 microcontroller and programming in Arduino. Finally, it covers interfacing technologies like Bluetooth, Zigbee, GPS and ultrasonic sensors with microcontrollers.
Microcontroller based transformer protectioAminu Bugaje
This document provides an introduction and background to a project on designing a microcontroller-based transformer protection system. It discusses how transformers are critical components in power systems that require protection against faults like short circuits, overcurrent and overvoltage. The document then reviews previous work on transformer protection and outlines the objectives of this project, which are to design current and voltage sensing circuits, develop a microcontroller algorithm for overload, overvoltage and undervoltage protection, and test the system's performance. The chapter concludes by outlining the scope and limitations of the project, which involves both hardware and software design to develop a protection system that can monitor transformer parameters and trip circuit breakers or relays during faults.
Transformer protection using microcontroller and gsm technologyKartik Patel
This document describes a project to protect transformers from overload conditions using a microcontroller and GSM technology. It includes a block diagram and explanation of the circuit diagram. The key components are a step-down transformer, rectifier, microcontroller, current transformer, voltage transformer, and relays. The microcontroller monitors the current and voltage, and can trigger the relays to disconnect the transformer if the load exceeds safe levels, while also sending a message via GSM to alert authorities. The objectives are to prevent transformer damage from overloading and allow for load sharing to increase lifespan.
This document summarizes a presentation on congestion control in TCP/IP networks. It discusses basics of congestion and how it can be catastrophic if not handled. It then describes the basic strategies used by TCP to combat congestion, including slow start, congestion avoidance, detection, and illustration of algorithms like fast retransmit and recovery. Issues with wireless networks and variants of TCP like New Reno, Vegas, and Westwood are also summarized. The presentation proposes a new congestion control algorithm and discusses plans to simulate and test it.
The document discusses the architecture and support components of the 8085 microprocessor. It describes the pin diagram and functions of the 8085, its operations including memory and I/O access, internal architecture consisting of ALU, registers, buses, and interfacing with memory and I/O devices using memory-mapped and peripheral-mapped techniques. Examples of programs to read from an input port and write to an output port are also provided.
The document discusses various problem solving techniques in artificial intelligence, including different types of problems, components of well-defined problems, measuring problem solving performance, and different search strategies. It describes single-state and multiple-state problems, and defines the key components of a problem including the data type, operators, goal test, and path cost. It also explains different search strategies such as breadth-first search, uniform cost search, depth-first search, depth-limited search, iterative deepening search, and bidirectional search.
The document provides an introduction to computer systems, including:
1. A brief history of computer evolution from large, less powerful machines to today's smaller and more affordable personal computers.
2. An overview of computer organization and architecture, explaining that organization refers to operational units and interconnections while architecture refers to parameters visible to programmers.
3. A description of the basic computer model including the central processing unit, memory unit, input unit, and output unit.
A microprocessor is the central processing unit (CPU) of a computer system. It contains an arithmetic logic unit (ALU) that performs arithmetic and logic operations, a control unit that controls the flow of data and coordinates other units, and register sets that temporarily store data. It communicates with memory and input/output devices via buses. Early microprocessors had 4-bit, 8-bit, then increasingly larger data widths up to today's 64-bit designs. Common microprocessors include the 8085 and 8086 from the 1970s-80s era.
The document provides an overview of the components and architecture of the MARIE computer system, which was designed to illustrate basic computer concepts. It describes the CPU, registers, memory, bus, instruction set, and fetch-decode-execute cycle. The MARIE CPU has 7 registers, including the accumulator, program counter, and instruction register. It uses a 16-bit instruction format. Example load and add instructions are shown in register transfer language to demonstrate how instructions are executed as a series of microoperations. Interrupts can alter the execution cycle by adding an additional "process interrupt" step.
The document provides an overview of key components and processes in a computer system. It discusses registers which hold data for the CPU, the arithmetic logic unit (ALU) which performs operations, and control and program counter registers which determine system actions. It also describes buses which transfer data and addresses between components, clocks which synchronize operations, and input/output interfaces. Memory, interrupts, and the fetch-decode-execute instruction cycle are summarized as well.
The document discusses machine structure and system programming. It begins with an overview of system software components like assemblers, loaders, macros, compilers and formal systems. It then describes the general machine structure including CPU, memory and I/O channels. Specific details are provided about the IBM 360 machine structure including its memory, registers, data, instructions and special features. Machine language and different approaches to writing machine language programs are also summarized.
This document provides an overview of computer organization and assembly language concepts including the CPU, registers, memory, and system bus. It summarizes that the CPU contains an execution unit and bus interface unit, uses various registers like general purpose registers and segment registers to store and access data and memory addresses. It describes different types of memory like RAM, ROM, and cache, and how memory is organized into segments and addressed using segment:offset notation. It concludes with an explanation of the system bus that connects the CPU, memory, and I/O devices, and the types of data transfers that occur over the bus.
This document provides an overview of the 8085 microprocessor architecture and programming. It describes the internal architecture including the control unit, ALU, registers, flags, program counter, and stack pointer. It then discusses the 8085 system bus including the address bus, data bus, and control bus. Next, it lists the pin descriptions of the 8085 microprocessor and provides a functional description. Finally, it briefly mentions the status information available from the 8085.
Computer Arithmetic and Processor BasicsShinuMMAEI
Functional architectures,. Hardwired
Control, Multiple Bus organization, other enhancements Microprogrammed control. Number
representations - Fixed and floating point-number representation, Arithmetic operations on
floating
point numbers
A microprocessor is an electronic component that is used by a computer to do its work. It is a central processing unit on a single integrated circuit chip containing millions of very small components including transistors, resistors, and diodes that work together. Some microprocessors in the 20th century required several chips. Microprocessors help to do everything from controlling elevators to searching the Web. Everything a computer does is described by instructions of computer programs, and microprocessors carry out these instructions many millions of times a second. [1]
Microprocessors were invented in the 1970s for use in embedded systems. The majority are still used that way, in such things as mobile phones, cars, military weapons, and home appliances. Some microprocessors are microcontrollers, so small and inexpensive that they are used to control very simple products like flashlights and greeting cards that play music when you open them. A few especially powerful microprocessors are used in personal computers.
The document provides an overview of hardware concepts related to embedded systems. It discusses the major functional blocks of a computer system including input, output, memory, and the data path and control block. It also describes typical bus structures and how numbers, addresses, instructions, and other information are represented digitally. Additionally, the document outlines different types of instructions and addressing modes, as well as concepts like data and control flow, the instruction cycle, and register transfer level modeling. Microprocessors, microcontrollers, and DSPs are compared. Peripherals, memory systems, and the Harvard and von Neumann architectures are also introduced.
This document provides an overview of the internal architecture and programming of the 8085 microprocessor. It describes the main components of the 8085 including the control unit, arithmetic logic unit, registers, flags, program counter, stack pointer, and buses. It also covers the 8085 pin descriptions and functional details. The document is an introduction to understanding the 8085 architecture and programming model.
This document provides an overview of the internal architecture and programming of the 8085 microprocessor. It describes the main components of the 8085 including the control unit, arithmetic logic unit, registers, flags, program counter, stack pointer, and buses. It also covers the 8085 pin descriptions and functional details. The document is intended as a tutorial on understanding the 8085 architecture and programming model.
This document provides an overview of the internal architecture and programming of the 8085 microprocessor. It describes the main components of the 8085 including the control unit, arithmetic logic unit, registers, flags, program counter, stack pointer, and buses. It also covers the 8085 pin descriptions and functional details. The document is intended as a tutorial on understanding the 8085 architecture and programming model.
This document provides an overview of the internal architecture and programming of the 8085 microprocessor. It describes the main components of the 8085 including the control unit, arithmetic logic unit, registers, flags, program counter, stack pointer, and buses. It also covers the 8085 pin descriptions and functional details. The document is intended as a tutorial on understanding the 8085 architecture and programming model.
The document provides an overview of computer structure and components. It discusses the main parts including the processor, memory, and buses that connect the parts. It describes how data and instructions flow through the computer and how the processor communicates with other components using addresses. It also covers various types of memory and their speeds, as well as factors that influence computer performance such as clock speed, memory size, and data transfer rates.
The document provides an overview of computer structure and components. It discusses the main parts of a computer system including the processor, memory, and buses that connect the components. It describes the fetch-execute cycle that the processor uses to access and execute instructions stored in memory. Different types of memory like registers, cache, main memory, and backing storage are explained based on their speed and purpose. Factors that impact system performance such as clock speed, memory size, and data transfer rates are also covered.
The document provides an overview of computer structure and components. It discusses the main parts of a computer system including the processor, memory, and buses that connect the components. It describes the fetch-execute cycle that the processor uses to access and execute instructions stored in memory. Different types of memory like registers, cache, main memory, and backing storage are explained based on their speed and purpose. Factors that impact system performance such as clock speed, memory size, and data transfer rates are also covered.
The document discusses the basic structure of computers, explaining that they consist of five main units: input, memory, arithmetic and logic, output, and control. It describes the functions of each unit and how they work together, with the memory storing instructions and data, the arithmetic and logic unit performing operations, and the control unit coordinating everything. The document also provides details on memory types, addressing, bus structures, and how instructions are fetched and executed through the interaction of the processor and memory.
A microcontroller is a single-chip computer contained on an integrated circuit. It contains a CPU, memory (ROM and RAM), input/output ports, and other components to control electronic devices and systems. The CPU fetches and executes instructions stored in ROM or RAM and directs data flow. Microcontrollers use either a Harvard or Von Neumann architecture, with Harvard being more common. Microcontrollers differ from microprocessors in that they do not require additional chips to function as a complete computing system.
Relations can be represented as two-dimensional data tables with rows and columns. The rows of a relation are called tuples.
The columns of a relation are called attributes. The attributes draw values from a domain (a legal pool of values).
Relational data base management system (Unit 1)Ismail Mukiibi
Introduction to Relational database management system, A definition of an RDBMS is a DBMS in which data is stored in tables and the relationships among the data are also stored in tables. The data can be accessed or reassembled in many different ways without having to change the table forms.
What is Quality of Service?
-Basic mechanisms
-Leaky and token buckets
-Integrated Services (IntServ)
-Differentiated Services (DiffServ)
-Economics and Social factors facing QoS
-QoS Vs. Over Provisioning
How do we get datagrams to the right physical host?
Tricky part comes when a router is forwarding to a LAN with multiple hosts (which is typically the case)
IP datagrams contain an IP address
Configured in OS
NIC’s only understand addressing of their particular network
Ethernet’s 48 bit MAC addresses
Traffic characterization parameters like bandwidth, delay, and jitter requirements are used to specify network traffic flows. Traffic shaping techniques like leaky bucket and token bucket regulate traffic into defined patterns to facilitate admission control and traffic policing. The leaky bucket traffic shaper uses a finite bucket that leaks data out at a constant rate to shape traffic bursts according to the bucket size and leak rate. Queue scheduling disciplines like weighted fair queueing determine which packet is served next to affect packet delay, bandwidth, and jitter. Resource reservation protocols negotiate quality of service guarantees by reserving required network resources.
PHP is a server-side scripting language that can be embedded into HTML pages using PHP tags. When a PHP page is requested, the server will execute any PHP code and output the results. PHP allows variables, control structures, and functions to handle tasks like form processing, file uploads, and database access. Functions like file() can read file contents into an array, and files can be uploaded and moved using the $_FILES array and move_uploaded_file() function. PHP scripts can generate dynamic web page content on the server before sending the page to the client.
HTML is a markup language used to define the structure and layout of web pages. Key points:
- HTML uses tags like <h1> and <p> to describe headings and paragraphs in a web page.
- The <html> tag defines an HTML document, <body> contains visible page content.
- Links are defined with <a> tags, images with <img> tags.
- HTML documents are displayed in web browsers, which interpret the tags but hide them from view.
- HTML is a simple language for structuring information, not for page layout or formatting.
Advanced computer architecture lesson 1 and 2Ismail Mukiibi
An OS is a program that controls the execution of application programs and acts as an interface between the user of a computer and the computer hardware. .....................
Advanced computer architect lesson 3 and 4Ismail Mukiibi
The document discusses various addressing modes used in instruction sets including immediate, direct, indirect, register, register indirect, displacement, indexed, stack, and relative addressing. It provides the algorithms and merits and demerits of each mode. For example, immediate addressing has the operand value in the instruction but is limited in magnitude, while indirect addressing allows a large address space but requires multiple memory references. The document also summarizes addressing modes for various processors like Pentium, x86, PowerPC and their calculations.
Advanced computer architecture lesson 5 and 6Ismail Mukiibi
The document discusses reduced instruction set computers (RISC) and compares them to complex instruction set computers (CISC). Key characteristics of RISC include simple, uniform instructions that are executed in one cycle; register-to-register operations with simple addressing modes; and a large number of registers to optimize register usage and minimize memory accesses. Studies show programs use simple operations, operands, and addressing modes most frequently, informing the RISC design which aims to efficiently support common cases through hard-wired, streamlined instructions.
The document provides sample questions and answers related to PC maintenance and repair. It includes guidelines for preventive maintenance, definitions of technical terms like jumper pins and CMOS batteries, instructions for configuring hard disks and optical drives, and steps for installing Windows XP Service Pack 2 and activating unlicensed Windows 7. The key points covered are procedures for disassembling, cleaning, and checking hardware and software, definitions of components and interfaces, how to set jumper pins for multiple storage devices, and a detailed process for installing each operating system from start to finish.
MAC addresses are 48- or 64-bit identifiers linked to the hardware of network adapters. They are expressed as hexadecimal strings like 01-23-45-67-89-AB. There are two types: universally administered addresses, which are assigned at manufacture with the first three octets identifying the manufacturer, and locally administered addresses, which can be manually changed but must be unique on the local subnet. MAC addresses can be useful for security and troubleshooting network issues.
The document describes different types of computer networks, including peer-to-peer networks where all computers are equal and function as both clients and servers without a central administrator, and server-based networks where a central server controls resources and security is managed by an administrator. It also discusses local area networks (LANs) which connect computers within a single location using cables, wireless technology, or both, allowing for sharing of hardware, software, files, and other resources.
Peer-to-peer networks have no central server and all computers are equal, functioning as both clients and servers. They have low setup costs but also weak security and single computer failures can disrupt printing or file sharing. Client/server networks have centralized servers that manage security, backups, larger user capacity and remote access, but require upfront investment and maintenance staff. Both network types have advantages for certain environments depending on needs around costs, security, flexibility and scale.
The Pala kings were people-protectors. In fact, Gopal was elected to the throne only to end Matsya Nyaya. Bhagalpur Abhiledh states that Dharmapala imposed only fair taxes on the people. Rampala abolished the unjust taxes imposed by Bhima. The Pala rulers were lovers of learning. Vikramshila University was established by Dharmapala. He opened 50 other learning centers. A famous Buddhist scholar named Haribhadra was to be present in his court. Devpala appointed another Buddhist scholar named Veerdeva as the vice president of Nalanda Vihar. Among other scholars of this period, Sandhyakar Nandi, Chakrapani Dutta and Vajradatta are especially famous. Sandhyakar Nandi wrote the famous poem of this period 'Ramcharit'.
GDGLSPGCOER - Git and GitHub Workshop.pptxazeenhodekar
This presentation covers the fundamentals of Git and version control in a practical, beginner-friendly way. Learn key commands, the Git data model, commit workflows, and how to collaborate effectively using Git — all explained with visuals, examples, and relatable humor.
A measles outbreak originating in West Texas has been linked to confirmed cases in New Mexico, with additional cases reported in Oklahoma and Kansas. The current case count is 795 from Texas, New Mexico, Oklahoma, and Kansas. 95 individuals have required hospitalization, and 3 deaths, 2 children in Texas and one adult in New Mexico. These fatalities mark the first measles-related deaths in the United States since 2015 and the first pediatric measles death since 2003.
The YSPH Virtual Medical Operations Center Briefs (VMOC) were created as a service-learning project by faculty and graduate students at the Yale School of Public Health in response to the 2010 Haiti Earthquake. Each year, the VMOC Briefs are produced by students enrolled in Environmental Health Science Course 581 - Public Health Emergencies: Disaster Planning and Response. These briefs compile diverse information sources – including status reports, maps, news articles, and web content– into a single, easily digestible document that can be widely shared and used interactively. Key features of this report include:
- Comprehensive Overview: Provides situation updates, maps, relevant news, and web resources.
- Accessibility: Designed for easy reading, wide distribution, and interactive use.
- Collaboration: The “unlocked" format enables other responders to share, copy, and adapt seamlessly. The students learn by doing, quickly discovering how and where to find critical information and presenting it in an easily understood manner.
Exploring Substances:
Acidic, Basic, and
Neutral
Welcome to the fascinating world of acids and bases! Join siblings Ashwin and
Keerthi as they explore the colorful world of substances at their school's
National Science Day fair. Their adventure begins with a mysterious white paper
that reveals hidden messages when sprayed with a special liquid.
In this presentation, we'll discover how different substances can be classified as
acidic, basic, or neutral. We'll explore natural indicators like litmus, red rose
extract, and turmeric that help us identify these substances through color
changes. We'll also learn about neutralization reactions and their applications in
our daily lives.
by sandeep swamy
As of Mid to April Ending, I am building a new Reiki-Yoga Series. No worries, they are free workshops. So far, I have 3 presentations so its a gradual process. If interested visit: https://www.slideshare.net/YogaPrincess
https://ldmchapels.weebly.com
Blessings and Happy Spring. We are hitting Mid Season.
A measles outbreak originating in West Texas has been linked to confirmed cases in New Mexico, with additional cases reported in Oklahoma and Kansas. The current case count is 817 from Texas, New Mexico, Oklahoma, and Kansas. 97 individuals have required hospitalization, and 3 deaths, 2 children in Texas and one adult in New Mexico. These fatalities mark the first measles-related deaths in the United States since 2015 and the first pediatric measles death since 2003.
The YSPH Virtual Medical Operations Center Briefs (VMOC) were created as a service-learning project by faculty and graduate students at the Yale School of Public Health in response to the 2010 Haiti Earthquake. Each year, the VMOC Briefs are produced by students enrolled in Environmental Health Science Course 581 - Public Health Emergencies: Disaster Planning and Response. These briefs compile diverse information sources – including status reports, maps, news articles, and web content– into a single, easily digestible document that can be widely shared and used interactively. Key features of this report include:
- Comprehensive Overview: Provides situation updates, maps, relevant news, and web resources.
- Accessibility: Designed for easy reading, wide distribution, and interactive use.
- Collaboration: The “unlocked" format enables other responders to share, copy, and adapt seamlessly. The students learn by doing, quickly discovering how and where to find critical information and presenting it in an easily understood manner.
CURRENT CASE COUNT: 817 (As of 05/3/2025)
• Texas: 688 (+20)(62% of these cases are in Gaines County).
• New Mexico: 67 (+1 )(92.4% of the cases are from Eddy County)
• Oklahoma: 16 (+1)
• Kansas: 46 (32% of the cases are from Gray County)
HOSPITALIZATIONS: 97 (+2)
• Texas: 89 (+2) - This is 13.02% of all TX cases.
• New Mexico: 7 - This is 10.6% of all NM cases.
• Kansas: 1 - This is 2.7% of all KS cases.
DEATHS: 3
• Texas: 2 – This is 0.31% of all cases
• New Mexico: 1 – This is 1.54% of all cases
US NATIONAL CASE COUNT: 967 (Confirmed and suspected):
INTERNATIONAL SPREAD (As of 4/2/2025)
• Mexico – 865 (+58)
‒Chihuahua, Mexico: 844 (+58) cases, 3 hospitalizations, 1 fatality
• Canada: 1531 (+270) (This reflects Ontario's Outbreak, which began 11/24)
‒Ontario, Canada – 1243 (+223) cases, 84 hospitalizations.
• Europe: 6,814
K12 Tableau Tuesday - Algebra Equity and Access in Atlanta Public Schoolsdogden2
Algebra 1 is often described as a “gateway” class, a pivotal moment that can shape the rest of a student’s K–12 education. Early access is key: successfully completing Algebra 1 in middle school allows students to complete advanced math and science coursework in high school, which research shows lead to higher wages and lower rates of unemployment in adulthood.
Learn how The Atlanta Public Schools is using their data to create a more equitable enrollment in middle school Algebra classes.
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...larencebapu132
This is short and accurate description of World war-1 (1914-18)
It can give you the perfect factual conceptual clarity on the great war
Regards Simanchala Sarab
Student of BABed(ITEP, Secondary stage)in History at Guru Nanak Dev University Amritsar Punjab 🙏🙏
2. 06/02/14 2
Introduction and Basics
Computers are not complicated device,
They are not infinitely intelligent
They do not think better than people.
A computer can only do what a programs
instruct through programs
A program is just a sequence of simple
commands that help a computer solve a
problem
Computers execute instructions very fast .
3. 06/02/14 3
Basics
The power and magic of a computer
lies in the speed at which it executes
instructions without a mistake
The sequence of instructions executed
per second are very many (millions
steps) appears complicated altogether.
These are considered to be a series of
very simple steps or commands
4. 06/02/14 4
Basics (Cont’n)
The microprocessor is a simple integrated
circuit (IC). Or very small computer have the
same commands or instructions they can
perform.
The names used to describe the commands
make them vary.
Microprocessors have commands that can,
move data around, do maths (add,multiply
etc) bring data in side the microprocessor
from out side the system and also send it out
side the system
5. 06/02/14 5
Basic
A typical Microprocessor has three basic parts inside
it: the program counter (PC) ,memory and
input/output (I/O).
The program counter keeps track of which program is
to be executed
The memory contains commands to be executed.
The I/O deals with transferring of data from and to the
out systems.
Microprocessors are housed inside chips.
A microprocessor encounter branches during
program execution.Both conditional and non
conditional branches.
6. 06/02/14 6
Basics
The most difficult part of programming a
microprocessor is to define the problem
to solve.
This is called the logical thought
process
It is a good understanding of the
problem.
7. 06/02/14 7
Decimal, Binary and Hex
Microprocessors use binary numbering
system rather than the decimals for
counting ., and its why the computers are
called binary computers.
Decimal is base 10 and binary is base 2. Hex-
decimal is base 16.
The base of a system defines how many
possible numbers can be in each digit
position
Decimal: 0 to 9
Binary: 0 or 1
Hex 0 to 9, A, B C, D, E and F.
8. 06/02/14 8
Microprocessor Instructions
Microprocessors have instructions that they
send. The decimal, binary and hexadecimal
number indicated earlier are key to the
instruction execution.
There are many kinds of memories in a
system. There is the unrear memory called
the flags.
These are single bit numbers that are used to
indicate different conditions in a system.
Ther are flags coz they flag the program of
events or conditiond
9. 06/02/14 9
Instructions
If a flag is raised or has a 1 in it, then it is said
to be SET, otherwise if its 0 then it is said to b
RESET
In 8-bit byte, referred to as bit 0 through 7, 0
is right most and the least significant bit(LSB)
and 7 the most significant bit.
Inside a microprocessor there are many
registers. These vary from one CPU to CPU.
All have a register called the accumulator,
sometimes called the A register.
10. 06/02/14 10
Instructions
The accumulator is used in for temporary
results and is 8 bits wide or a byte .
In the CPU we will be using there are four
types of instructions, with a number of
variations. These four types are Arithmetic,
Logical, Branching, and Data Transfer. We
look at them independently next:
11. 06/02/14 11
Arithmetic
These include, addition, subtraction,
multiplication division, incrementing and
decrementing. In most early CPUs the
multiplications and division are not available.
There are two flags used in Arithmetic that tell
the program the outcome of an instruction.
These are
- Carry (C) flag
- Zero (Z) flag
the Z flag if set, indicates that the instruction
left a value 0 in the accumulator.
12. 06/02/14 12
Logical
These are also mathematical
instructions, and they include
-OR, AND, XOR, ROTATE,
COMPLEMENT and CLEAR
These commands are concerned with
the value or state of each bit in the data
rather than the value of the data they
work with.
13. 06/02/14 13
Branching
These are jumps or branches that help the
program flow commands. They are termed
differently depending on the way a jump is
done or the condition under which it is done,
e.g. overflow or underflow., zero result or not
zero.
But all stop the normal sequential execution
of the program, and jump to another location,
other than the next instruction in sequence
14. 06/02/14 14
Data Transfer
These use Moving and Exchanging
Moving helps move data across
registers and memory
Exchange is a variation on the move
instruction. Data is moved between two
positions
15. 06/02/14 15
Memory and Addressing
There are several different types of
memory in a micro.
One is Program memory.
This is where the program is located.
Another is Data memory.
Where data, that might be used by the
program, is located.
16. 06/02/14 16
Memory and Addressing-
cont’n
They both reside in the same memory space
and can be changed by the program.
That’s right, a program can actually alter itself
if that was necessary.
Two terms are used when talking about
memory.
Reading (load) is getting a value from
memory and Writing (store) is putting a value
into memory.
17. 06/02/14 17
Types of Buses & their
functions
There are three system buses associated
with the memory subsystem.
address bus,
data bus,
control bus.
It's important for you to know exactly how they work,
because these busses transport data and addresses
everywhere within the system.
All these buses are connected to the memory system,
which makes them interact with the microprocessors.
18. 06/02/14 18
Functions
We have different types of microprocessors:
8085, 8086 and other more types….
In the 8085 microprocessor, the address bus
is 16-bits wide. It selects one of locations in
the 216
memory locations.
The control bus determines whether this will
be a read or a write
In the case of an instruction fetch, the control bus is set
up for a read operation.
Data is read or written through the data bus,
which is 8 bits wide. Explains why registers
and memory is 8-bits wide.
19. 06/02/14 19
Bytes and Microprocessors
A byte is the most used number in a
microprocessor because each memory
location or register is one byte wide.
Memory has to be thought of as a sort of file
cabinet with each location in it being a folder in
the cabinet.
To get to each memory location, a
different method is used, that is
a unique address is assigned to each location.
20. 06/02/14 20
Bytes
In most microprocessors the address is
a word or 16 bits, or 4 digit hex.
This allows for a maximum of 65536 (216
or
64K) unique addresses or memory locations
that can be accessed.
21. 06/02/14 21
Program Counter
The Program Counter is what holds this
address when the microprocessor is
executing instructions.
The reason instructions are read sequentially,
is because the program counter automatically
increments after fetching the current
instruction.
It does this even before the current instruction
is acted upon.
22. 06/02/14 22
Program Counter
The sequence is that the program
counter's contents are placed on the
memory address bus.
this allows the instruction to be fetched
from memory through the data bus, and
immediately the program counter is
incremented by 1.
Then the microprocessor looks at the
instruction and starts processing it
23. 06/02/14 23
8086 Microprocessor
Program, data and stack memories occupy the
same memory space.
The total addressable memory size is 1MB KB.
As the most of the processor instructions use
16-bit pointers the processor can effectively
address only 64 KB of memory.
To access memory outside of 64 KB the CPU
uses special segment registers to specify
where the code, stack and data 64 KB
segments are positioned within 1 MB of
memory
24. 06/02/14 24
8086 Microprocessor
16-bit pointers and data are stored as:
address: low-order byte
address+1: high-order byte
32-bit addresses are stored in
"segment:offset" format as:
address: low-order byte of segment
address+1: high-order byte of segment
address+2: low-order byte of offset
address+3: high-order byte of offset
Physical memory address pointed by
segment:offset pair is calculated as:
address = (<segment> * 16) + <offset>
25. 06/02/14 25
8086 Memory
Program memory - program can be
located anywhere in memory.
Jump and call instructions can be used
for short jumps within currently
selected 64 KB code segment, as well
as for far jumps anywhere within 1 MB
of memory.
All conditional jump instructions can be
used to jump within approximately
+127 to -127 bytes from current
instruction.
26. 06/02/14 26
Memory-Cont’n
Data memory - the processor can access
data in any one out of 4 available segments,
which limits the size of accessible memory to
256 KB (if all four segments point to different
64 KB blocks).
Accessing data from the Data, Code, Stack or
Extra segments can be usually done by
prefixing instructions with the DS:, CS:, SS: or
ES:
Some registers and instructions by default
may use the ES or SS segments instead of DS
segment.
27. 06/02/14 27
Memory- cont’n
Word data can be located at odd or even byte
boundaries.
The processor uses two memory accesses to
read 16-bit word located at odd byte
boundaries. Reading word data from even byte
boundaries requires only one memory access.
Stack memory can be placed anywhere in
memory. The stack can be located at odd
memory addresses, but it is not recommended
for performance reasons.
28. 06/02/14 28
Reserved Locations
Reserved locations:
0000h - 03FFh are reserved for interrupt
vectors.
Each interrupt vector is a 32-bit pointer
in format segment:offset.
FFFF0h - FFFFFh - after RESET the
processor always starts program
execution at the FFFF0h address.
29. 06/02/14 29
Interrupts
The processor has the following interrupts:
INTR is a maskable hardware interrupt. The interrupt
can be enabled/disabled using STI/CLI instructions or
using more complicated method of updating the FLAGS
register with the help of the POPF instruction.
When an interrupt occurs, the processor stores FLAGS
register into stack, disables further interrupts, fetches
from the bus one byte representing interrupt type, and
jumps to interrupt processing routine address of which
is stored in location 4 * <interrupt type>.
Interrupt processing routine should return with the IRET
instruction
30. 06/02/14 30
Interrupts
NMI is a non-maskable interrupt. Interrupt is
processed in the same way as the INTR
interrupt.
Interrupt type of the NMI is 2, i.e. the address
of the NMI processing routine is stored in
location 0008h.
This interrupt has higher priority than the
maskable interrupt
31. 06/02/14 31
Software Interrupts
Software interrupts can be caused
by:
INT instruction - breakpoint interrupt. This
is a type 3 interrupt.
INT <interrupt number> instruction - any
one interrupt from available 256 interrupts.
INTO instruction - interrupt on overflow
Single-step interrupt - generated if the TF
flag is set. This is a type 1 interrupt.
32. 06/02/14 32
Software Interrupts
When the CPU processes this interrupt it
clears TF flag before calling the
interrupt processing routine.
Processor exceptions: divide error (type 0),
unused opcode (type 6) and escape opcode
(type 7).
Software interrupt processing is the
same as for the hardware interrupts.
I/O ports
65536 8-bit I/O ports. These ports can be also
addressed as 32768 16-bit I/O ports
33. 06/02/14 33
Registers
Most of the registers contain
data/instruction offsets within 64 KB
memory segment.
There are four different 64 KB segments
for instructions, stack, data and extra
data.
To specify where in 1 MB of processor
memory these 4 segments are located
the processor uses four segment
registers:
34. 06/02/14 34
Segment Registers
Code segment (CS) is a 16-bit register containing
address of 64 KB segment with processor instructions.
The processor uses CS segment for all accesses to
instructions referenced by instruction pointer (IP)
register. CS register cannot be changed directly. The CS
register is automatically updated during far jump, far
call and far return instructions.
Stack segment (SS) is a 16-bit register containing
address of 64KB segment with program stack. By
default, the processor assumes that all data referenced
by the stack pointer (SP) and base pointer (BP)
registers is located in the stack segment. SS register
can be changed directly using POP instruction.
35. 06/02/14 35
Segments
Data segment (DS) is a 16-bit register containing
address of 64KB segment with program data. By
default, the processor assumes that all data referenced
by general registers (AX, BX, CX, DX) and index
register (SI, DI) is located in the data segment. DS
register can be changed directly using POP and LDS
instructions.
Extra segment (ES) is a 16-bit register containing
address of 64KB segment, usually with program data.
By default, the processor assumes that the DI register
references the ES segment in string manipulation
instructions. ES register can be changed directly using
POP and LES instructions.
36. 06/02/14 36
Analysis-segments
It is possible to change default
segments used by general and
index registers by prefixing
instructions with a CS, SS, DS or
ES prefix.
All general registers of the 8086
microprocessor can be used for
arithmetic and logic operations.
37. 06/02/14 37
General Registers
Accumulator register consists of 2 8-bit
registers AL and AH, which can be combined
together and used as a 16-bit register AX. AL
in this, it case contains the low-order byte of
the word, and AH contains the high-order
byte.
Accumulator can be used for I/O operations
and string manipulation.
Base register consists of 2 8-bit registers BL
and BH, which can be combined together and
used as a 16-bit register BX. BL in this case
contains the low-order byte of the word, and
38. 06/02/14 38
General Registers-cont’n
contains the high-order byte. BX register usually
contains a data pointer used for based, based indexed
or register indirect addressing.
Count register consists of 2 8-bit registers CL and CH,
which can be combined together and used as a 16-bit
register CX.
When combined, CL register contains the low-order byte
of the word, and CH contains the high-order byte.
Count register can be used as a counter in string
manipulation and shift/rotate instructions.
39. 06/02/14 39
General Registers – Cont’n
Data register consists of 2 8-bit registers DL and
DH, which can be combined together and used as a
16-bit register DX.
When combined, DL register contains the low-order
byte of the word, and DH contains the high-order
byte.
Data register can be used as a port number in I/O
operations.
In integer 32-bit multiply and divide instruction the DX
register contains high-order word of the initial or
resulting number.
40. 06/02/14 40
Index Registers
Stack Pointer (SP) is a 16-bit register pointing to
program stack.
Base Pointer (BP) is a 16-bit register pointing to data
in stack segment. BP register is usually used for based,
based indexed or register indirect addressing.
Source Index (SI) is a 16-bit register. SI is used for
indexed, based indexed and register indirect
addressing, as well as a source data address in string
manipulation instructions.
Destination Index (DI) is a 16-bit register. DI is used
for indexed, based indexed and register indirect
addressing, as well as a destination data address in
string manipulation instructions.
41. 06/02/14 41
Other Registers
Instruction Pointer (IP) is
a 16-bit register.
Flags is a 16-bit register
containing 9 1-bit flags:
Overflow Flag (OF) - set if
the result is too large
positive number, or is too
small negative number to
fit into destination operand.
Direction Flag (DF) - if set
then string manipulation
instructions will auto-
decrement index registers.
If cleared then the index
registers will be auto-
incremented.
Interrupt-enable Flag (IF) -
setting this bit enables
maskable interrupts.
Single-step Flag (TF) - if set
then single-step interrupt
will occur after the next
instruction.
Sign Flag (SF) - set if the
most significant bit of the
result is set.
Zero Flag (ZF) - set if the
result is zero.
Auxiliary carry Flag (AF) -
set if there was a carry
from or borrow to bits 0-3
in the register.
42. 06/02/14 42
Parity Flag (PF) - set if parity (the
number of "1" bits) in the low-
order byte of the result is even.
Carry Flag (CF) - set if there was a
carry from or borrow to the most
significant bit during last result
calculation.
43. 06/02/14 43
Instruction Set-8086
8086 instruction set consists of the following
instructions:
Data moving instructions.
Arithmetic - add, subtract, increment, decrement, convert
byte/word and compare.
Logic - AND, OR, exclusive OR, shift/rotate and test.
String manipulation - load, store, move, compare and scan
for byte/word.
Control transfer - conditional, unconditional, call
subroutine and return from subroutine.
Input/Output instructions.
Other - setting/clearing flag bits, stack operations,
software interrupts, etc.
44. 06/02/14 44
Addressing Mode
Implied - the data value/data address is
implicitly associated with the instruction.
Register - references the data in a register or
in a register pair.
Immediate - the data is provided in the
instruction.
Direct - the instruction operand specifies the
memory address where data is located.
Register indirect - instruction specifies a
register containing an address, where data is
located. This addressing mode works with SI,
DI, BX and BP registers.
45. 06/02/14 45
Addressing Mode
Based - 8-bit or 16-bit instruction operand is added to the
contents of a base register (BX or BP), the resulting value is a
pointer to location where data resides.
Indexed - 8-bit or 16-bit instruction operand is added to the
contents of an index register (SI or DI), the resulting value is
a pointer to location where data resides.
Based Indexed - the contents of a base register (BX or BP)
is added to the contents of an index register (SI or DI), the
resulting value is a pointer to location where data resides.
Based Indexed with displacement - 8-bit or 16-bit
instruction operand is added to the contents of a base register
(BX or BP) and index register (SI or DI), the resulting value is
a pointer to location where data resides.