[ 2008-12-14 9:58:00 | By: SystemARM ]
 
0

Using the __at macro that is defined in the header file absacc.h allows you to locate variables to absolute addresses as shown below:

C Example:
#i nclude <absacc.h>

const char MyText[] __at (0x1F00) = "TEXT AT ADDRESS 0x1F00";
int x __at (0x40003000);     // variable at address 0x40003000

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-29
  • 2021-04-23
  • 2022-02-08
  • 2021-05-23
猜你喜欢
  • 2022-12-23
  • 2021-04-15
  • 2021-07-22
  • 2022-12-23
  • 2021-07-02
  • 2021-11-06
  • 2021-12-21
相关资源
相似解决方案