| FlashMemoryEnd | Variable (ROM Call 0x43D) |
| AMS 2.00 or higher | flash.h |
| unsigned char *const FlashMemoryEnd; |
A pointer to the first byte after the end of the archive memory.
FlashMemoryEnd can be used in a function reading the archive memory like this:
void ReadSomethingInArchive(unsigned char *start)
{
unsigned char *end = FlashMemoryEnd;
for (; start < end; start++)
{
// Read something here...
}
}