The DevDscr has details about the target and could be extended to have information about where the algo is placed in RAM (start, buffer, SP,etc..) These are currently hardcoded in the generate script and also the templates. Should be dynamically generated by the flash algo projects being they're aware of the target on which they run