SaveData |
Top |
void SaveData(unsigned char file_name[], int format, int addr_space, unsigned long start_addr, unsigned long end_addr); Description To save memory area from buffer{buffer} in the file. Parameters: file_name - Name of unloaded file. format - Format of unloaded file. Character constants with the prefix F_ declared in the mprog.h header file are provided for this parameter. To understand this better, open the Save Program Dialog and go through format names. addr_space - address space{addr_sp} where data is unloaded from. start_addr - Initial address of unloaded area. end_addr - Final address of unloaded area (inclusive). Example SaveData("C:\\PROG\\TEST.HEX", F_HEX, SubLevel(0, 0), 0, 0x3FFF); |