按照《RENAMECLASS Compiler Directive》http://www.keil.com/support/man/docs/c166/c166_renameclass.htm
#include "variables.h"
extern void sub_000A0();
#pragma HLARGE
#pragma RENAMECLASS(FCODE=FCODE1)
int sub_00000(int a,int b)
{
int c;
sub_000A0();
c = a+b;
return c;
}
#include "variables.h"
#pragma HLARGE
#pragma RENAMECLASS(FCODE=FCODE1)
void sub_000A0()
{
printf("hello
");
}
void main (void) { /* execution starts here */
c = sub_00000(a,b);
}