I have folow configurations: 1. Debug 2. Test - run internal tests. 3. Release 'Test' includes additional functions, such as vprintf. This functions may be called from top branch of code tree. In this case I see overflow internal data memory. For resolve this problem in 'Test' version I set memory model from SMALL to LARGE. But all project assembler functions writed for SMALL memory model and used IDATA for parameter passing. In LARGE memory model used XDATA for this. How I can say to compiler, that for some functions used SMALL memory model and it parameter passing? For example:
#pragma save #pragma small void asm_func(int,int,int,int); #pragma restore