adding 2 assembler routines (for test reduced to [routine: RET] produces *** ERROR 107: ADDRESS SPACE OVERFLOW SPACE: DATA SEGMENT: _DATA_GROUP_ LENGTH: 002AH I am aware of the meaning of the message and may be able to reduce the use of the data segment elsewhere but: Why does an "empty" routine use data space ? Erik Malund
Are non-registered parameters passed?
minimized for test: one routine only adds 3 bytes to data segment xxx.h : void rtn (void) yyy.a51 : rtn: ret same result Erik
Maybe the calling routine is saving some registers before the call. try adding:
$reguse rtn ( ACC )
$reguse rtn ()