• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
memory  8051
 

memory 8051

on

  • 9,621 views

 

Statistics

Views

Total Views
9,621
Views on SlideShare
9,502
Embed Views
119

Actions

Likes
2
Downloads
232
Comments
0

3 Embeds 119

http://www.ustudy.in 98
http://ustudy.in 12
http://www.slideshare.net 9

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    memory  8051 memory 8051 Presentation Transcript

    • 8051
      MEMORY & I/O ADDRESSING
    • Memory Addressing
    • PROGRAM MEMORY - ROM
      ROM ( READ ONLYMEMORY )
      8051 can address 4K bytes on chip memory – map range 0000 TO 0FFFh
      IT can address 64 KB external memory
      map range – 0000 TO FFFFh
      Memory map of internal and external program overlaps
      The internal and external ROM distinguished by PSEN’ signal
      ROM less version of 8051 – PSEN’ used to access external memory
    • ROM - program
    • DATA MEMORY - RAM
      EXTERNAL RAM
      8051 supports 64KB external data memory- range – 0000 to FFFFh
      Accessed by DPTR
      8051 generates RD’, WR’ during external access .
      CS’ can be derived from address lines
    • ONCHIP (INTERNAL) RAM
    • RAM
    • INTERNAL RAM
    • Registers
      1F
      18
      Bank 3
      Four Register Banks
      Each bank has R0-R7
      Selectable by psw.2,3
      17
      10
      Bank 2
      0F
      08
      Bank 1
      07
      06
      05
      04
      03
      02
      01
      00
      R7
      R6
      R5
      R4
      R3
      R2
      R1
      R0
      Bank 0
    • Bit Addressable Memory
      2F
      2E
      2D
      2C
      2B
      2A
      29
      28
      20h – 2Fh (16 locations X 8-bits = 128 bits)
      Bit addressing:
      mov C, 1Ah
      or
      mov C, 23h.2
      27
      26
      25
      24
      23
      22
      21
      20
    • Special Function Registers
      • DATA registers
      • CONTROL registers
      • Timers
      • Serial ports
      • Interrupt system
      • Analog to Digital converter
      • Digital to Analog converter
      • Etc.
      Addresses 80h – FFh
      Direct Addressing used to access SPRs
    • I/O ADDRESSING
    • I/O INTERFACING
      External i/o devices are interfaced as memorymapped i/o devices
      Devicestreated as externalmemory locations and consume externalmemoryaddress
      The address of external program and data memorymayoverlap