I add and call 2 assembler routines defined in C as void rtn (void) to a C program After being surprised I rewrite the assembler routines as rtn: ret I get the following linker error: *** ERROR 107: ADDRESS SPACE OVERFLOW SPACE: DATA SEGMENT: _DATA_GROUP_ LENGTH: 002AH I know what the message means and can possibly salvage some data space elsewhere BUT: what are those data segment bytes and is there any way to get rid of this (non)use of valuable space ? Erik Malund
1) What happens when you replace the assembly with this C code? (I.E. try to remove the assembler from this problem.)
void rtn1 (void) {}; void rtn2 (void) {};