I am using the 24 bit addressing mode with a Dallas 80C390 ... there is a bug in the silicon that causes an ACALL to not work if it falls within a few bytes of a 64K boundary ... is there a way to make sure the compiler does not put code near these 64K boundaries?
Or do not use ACALL at all. If you're using 24 bit addressing, you must have enough code space for a few hundred bytes more when LCALLs are used.