📄 ram.c
字号:
// Include Files
#include <ADuC7026.h>
#include<stdio.h>
// Function Prototypes
void Ram_Function(void);
extern int getPC (void);
void Ram_Function() __ram // __ram attribute indicates that the code is to be placed in RAM
{
register unsigned int PC;
//print current program counter address - currently executing from RAM!!!
printf("This is the RAM Function.\n");
PC = getPC(); // Getting current locatin of Program Counter (Register R15)
printf("The Current location of the Program Counter is : 0x%08X\n",PC);
return;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -