Docsity

Introduction to 8051, Summaries of Microcontrollers

Toggle sidebar
bg1
Name: Parth Manoj Janai UID:25109007
Topic Name: memory map diagram of the 8051 microcontroller.โ€
These values match standard references like Mazidi โ€“ โ€œ8051 Microcontroller
1) Internal RAM (128 Bytes)
โ€ข 00H โ€“ 1FH โ†’ Register Banks (4 banks ร— 8 registers)
โ€ข 20H โ€“ 2FH โ†’ Bit-addressable memory (16 bytes = 128 bits)
โ€ข 30H โ€“ 7FH โ†’ General-purpose RAM
Special Function Registers (SFR)
โ€ข 80H โ€“ FFH
โ€ข Example registers:
o ACC (Accumulator) โ†’ E0H
o B Register โ†’ F0H
o Port 0 โ†’ 80H
o Timer Control โ†’ 88H
pf3

Partial preview of the text

Download Introduction to 8051 and more Summaries Microcontrollers in PDF only on Docsity!

Name: Parth Manoj Janai UID:

Topic Name: memory map diagram of the 8051 microcontroller.โ€

These values match standard references like Mazidi โ€“ โ€œ8051 Microcontroller 1) Internal RAM (128 Bytes)

  • 00H โ€“ 1FH โ†’ Register Banks (4 banks ร— 8 registers)
  • 20H โ€“ 2FH โ†’ Bit-addressable memory (16 bytes = 128 bits)
  • 30H โ€“ 7FH โ†’ General-purpose RAM Special Function Registers (SFR)
  • 80H โ€“ FFH
  • Example registers: o ACC (Accumulator) โ†’ E0H o B Register โ†’ F0H o Port 0 โ†’ 80H o Timer Control โ†’ 88H

๐Ÿ”น Program Memory (Code Memory)

  • Internal ROM: typically 4 KB (0000H โ€“ 0FFFH) in basic 8051
  • Expandable up to: o 64 KB external code memory (0000H โ€“ FFFFH)

๐Ÿ”น External Data Memory

โ€ข Address range:

0000H โ€“ FFFFH (64 KB)

1. Internal Data Memory (RAM)

Address Range Size Section Description 00H โ€“ 07H 8B Register Bank 0 R0โ€“R 08H โ€“ 0FH 8B Register Bank 1 R0โ€“R 10H โ€“ 17H 8B Register Bank 2 R0โ€“R 18H โ€“ 1FH 8B Register Bank 3 R0โ€“R 20H โ€“ 2FH 16B Bit-addressable area 128 bits individually addressable 30H โ€“ 7FH 80B General Purpose RAM Used for variables

2. Special Function Registers (SFR)

Address Range

Register

Name

Function

80H P0 Port 0

81H SP Stack Pointer

82Hโ€“83H DPL, DPH Data Pointer

87H PCON Power Control