STC15 Memory and Special Function Registers

Insert image description here
Insert image description here
Insert image description here

Program memory (FLASH)

Insert image description here
After reset, the PC points to 0000H, and the interrupt vector table is initially placed in the program memory. When we write C program code, the contents of 000H~00ABH will be automatically added for us after KEIL is compiled and converted into assembly.

Program memory (SRAM)

Insert image description here
Insert image description here
Indirect addressing is a concept based on direct addressing. The address is not given directly like direct addressing, but is obtained through a specific memory unit. The first time is to get the address in a specific memory unit. Address data, for the second time, perform the operation of DS + offset address H on the obtained address and address it directly!

Guess you like

Origin blog.csdn.net/ai_moe/article/details/128943750