Docsity

Microprocessor & Computer Architecture Lab: Microprocessors and Microcontrollers, Slides of Microprocessor and Assembly Language Programming

Partial preview of the text

Download Microprocessor & Computer Architecture Lab: Microprocessors and Microcontrollers and more Slides Microprocessor and Assembly Language Programming in PDF only on Docsity!

Microprocessor & Computer Architecture Lab (EE3321) Lab 01

Difference between Microprocessors and Microcontroller.

  • (^) All microcomputers contain microprocessors. They are the core of any microcomputer system. Microcontrollers are special-purpose computer systems, usually programmed to perform a single task. As they are computers in and of themselves, microcontrollers will have a microprocessor as part of their system hardware.

What are the kinds of languages

that a microprocessor can

understands

About Microprocessors

  • (^) A microprocessor is often also called the CPU, or Central Processing Unit, of a Microcomputer. It is ,in essence, the brain of computer system. It is tasked to perform variety of functions.

About Microcontroller

  • (^) Microcontroller are small, task-specific computer. They will have a Microprocessor on Board to handle logic and instruction processing. Yet, They still must have all the essential elements of any computer system

Differences

  • (^) The main difference between the microcontroller and a typical computer is a matter of scale. Usually, a microcontroller is programmed for a specific task and left alone to do it without further human input. However, a general computer system can be tasked with a wide verity of jobs

Example

  • (^) A microcontroller would be well-suited to monitoring the water level in a swimming pool. It can read level inputs. It can check them against programmed limits, and it could even drain or fill pumps as needed to maintain the proper level. A full-powered computer system would be overkill for a job???????

Atmega

Memory Organization

Code

Flash 32KB

Data

Register GPR 32_8bit SFR (I/O) 64_8bit RAM(2KB) EEPROM IKB

Memory Organization

Data Memory and its

Organization

# of GPR (32)

# of SFR (I/O) (64)

SRAM 2KB

Additional SFR

  • Atmega

Atmega

  • (^) 40-pins chip, 32-pins for four digital I/O ports PORTA , PORTB , PORTC and PORTD
  • (^) Port A can be used as either DIGITAL I/O Lines or ADC
  • (^) 8-bit single chip microcontroller
  • (^) Harvard Architecture
  • (^) RISC Architecture
  • (^) 4.5V-5.5V operating voltage