1 / 15

MICROCONTROLLER ARCHITECTURE & ASSEMBLY LANGUAGE PROGRAMMING

MICROCONTROLLER ARCHITECTURE & ASSEMBLY LANGUAGE PROGRAMMING. Presented by S .HIMABINDU Department of ELETRONICS AND COMMUNICATIONS. Outline PIC18 Microcontroller families PIC18 architecture Data RAM file Register. INTRODUCTION.

noek
Download Presentation

MICROCONTROLLER ARCHITECTURE & ASSEMBLY LANGUAGE PROGRAMMING

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. MICROCONTROLLER ARCHITECTURE & ASSEMBLY LANGUAGE PROGRAMMING Presented by S.HIMABINDU Department of ELETRONICS AND COMMUNICATIONS

  2. Outline • PIC18 Microcontroller families • PIC18 architecture • Data RAM file Register

  3. INTRODUCTION PIC is a family of modified Harvard architecture microcontrollers made by Microchip Technology, derived from the PIC1650 originally developed by General Instrument's Microelectronics Division.  The name PIC initially referred to "Peripheral Interface Controller”

  4. PICs are popular with both industrial developers and hobbyists alike due to their: • 1. low cost, • 2. wide availability, • 3.large user base, • 4.extensive collection of application notes, • 5.availability of low cost or free development tools, • 6.serial programming (and re-programming with flash memory) capability.

  5. PIC Families

  6. PIN DIAGRAMS

  7. PIN DIAGRAM

  8. PIC18 Architecture • PIC microcontrollers are based on advanced RISC architecture. • RISC stands for Reduced Instruction Set Computing. In this architecture, the instruction set of hardware gets reduced which increases the execution rate (speed) of system. •  • PIC microcontrollers follow Harvard architecture for internal data transfer

  9. RISC vs CISC • Reduced instruction set computing, or RISCis a CPU design strategy based on the insight that simplified instructions can provide higher performance if this simplicity enables much faster execution of each instruction. • A complex instruction set computer (CISC), is a computer where single instructions can execute several low-level operations

  10. ABOUT PIC18 • PIC microcontrollers are designed using the Harvard Architecture which includes: • Microprocessor unit (MPU) • Program memory for instructions • Data memory for data • I/O ports • Support devices such as timers

  11. Harvard Architecture vs Von Neumann Architecture • Von Neumann Architecture: • –Used single memory space for program and data. • –Limits operating bandwidth • •Harvard Architecture: • –Uses two separate memory spaces for program instructions and data • –Improved operating bandwidth • –Allows for different bus widths • Von Neumann Architecture8-bit BusCPUProgram & Data MemoryCPUHarvardArchitectureDataMemoryProgram Memory8-bit Bus16-bit Bus

  12. PIC18 Architecture

  13. PIC18 Features: CPU core The function of the CPU is to execute (process) information stored in memory. Program ROM The ROM use to store program

  14. EXAMPLE • Show the status of the C, DC and Z flag after the addition of 38H and 2FH. • Solution: • 38H 00111000 • + 2FH + 00101111 • 67H 01100111 • C = 0 • DC = 1 • Z = 0

  15. References • Microchip.com • Wikipedia, the free encyclopedia • http://www.engineersgarage.com

More Related