![]() Peripheral Data Registers: TL0, TH0, TL1, TH1 and SBUF CPU or Math Registers A or Accumulator (ACC) Peripheral Control Registers: PCON, SCON, TCON, TMOD, IE and IP I/O Port Latches: P0 (Port 0), P1 (Port 1), P2 (Port 2) and P3 (Port 3) Pointer Registers: DPTR (Data Pointer – DPL, DPH) and SP (Stack Pointer) Status Register: PSW (Program Status Word) The 21 Special Function Registers of 8051 Microcontroller are categorized in to seven groups. There are many ways to categorize these 21 Special Function Registers but I find the following way as an appropriate one. List of 8051 Microcontroller Special Function RegistersĬategories of 8051 Microcontroller Special Function RegistersĪll Microcontroller Special Function Registers (SFRs) along with their functions and Internal RAM Address is given in the following table. ![]() TIP: As only 21 of the possible 128 SFR memory locations are assigned, it is recommended that the remaining registers or memory locations are not accessed during programming.īefore going further, get an idea on 8051 MICROCONTROLLER ARCHITECTURE. The main difference is the address space: first 128 Bytes (00H to 7FH) is for regular Internal RAM and next 128 Bytes (80H to FFH) is for SFRs. Since the SFRs are a part of the Internal RAM Structure, you can access SFRs as if you access the Internal RAM. Each SFR has one Byte Address and also a unique name which specifies its purpose. Out of these 128 Memory Locations (80H to FFH), there are only 21 locations that are actually assigned to SFRs. If you observe in Internal RAM Structure, the Address Space from 80H to FFH is allocated to SFRs. The 8051 Microcontroller Special Function Registers act as a control table that monitor and control the operation of the 8051 Microcontroller. Categories of 8051 Microcontroller Special Function RegistersĨ051 Microcontroller Special Function Registers (SFRs).List of 8051 Microcontroller Special Function Registers.8051 Microcontroller Special Function Registers (SFRs).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |