• assign an absolute memory location
    I am kind of confused about using the _at_ keyword to assign a specific address to a variable. so for example : extern xdata char variable _at_ 0x000f; it fills 3 bytes in xram . can any...
  • Locating costants at absolute memory address
    Hello everybody, I'm using a stm32 family device (stm32f4), it is possible to place constants at absolute memory address? In my case R/O base starts from 0x0800 0000 and my code look like this: ...
  • Locating members of a struct variable to absolute memory locations
    I would like to know if I can use "_at_" to locate struct members to absolute memory locations. For instance, I have a struct variable defined as following, xdata struct { unsigned char member1;...
  • Absolute location of code in bank
    I am migrating from another toolset. I have a project that uses banked codespace, with a common from 0x00000-0x07FFF, and two banks from 0x08000-0x0FFFF. I have three subroutines that I need to locate...
  • differences of absolute locations
    I want an instance of a structure to be put at a specific address in xdata. What is the difference between these declarations: #define tSetupPacket (* (tDEVICE_REQUEST xdata *)0xFF00) tDEVICE_REQUEST...