#pragma DATA_SECTION(function name or global variable name, "user-defined segment name in data space"); #pragma CODE_SECTION(function name or global variable name, "user-defined segment name in program space"); Cannot be declared in the function body. Must be declared before definition and use. #pragma can prevent optimization of uncalled functions. #pragma DATA_ALIGN(symbol, constant) The function of the instruction is to align symbol to the column boundary pointed to by constant. For example, #pragma DATA_ALIGN(rxdata_stream, 128) makes the last 7 bits of the address of rxdata_stream 0 (binary address), which is 128-byte alignment. The purpose of alignment is generally to read and write external memory for CACHE. If a CACHE line is 128 bytes. In this way, if the data is 128-byte aligned, then it is enough to use only one CACHE line to fetch a 128-byte data. #prgma DATA_ALIGN(efd, 8) When compiling, the address of the efd variable will be arranged at an 8-byte aligned position, that is, the lower 3 bits of the efd address will be 0.