Or in C void (*fp)(void) = 0xfff0; fp();
> Try: > > _asm lcall 0xfff0 _endasm; > > > At 10:59 AM 18/01/2009, Gudjon I. Gudjonsson wrote: > > >Hi > > Sorry once again if the question is silly but I am trying to call the > >PGM_MTP at address 0xFFF0 > >function in the in application bootloader for the NXP 8051 microcontrollers. > >The problem is that I don't know how to put an absolute address on a > >function. I know how to absolute address variables but not functions. Can > >someone help me. > > > >Thanks > >Gudjon > > > >------------------------------------------------------------------------------ > >This SF.net email is sponsored by: > >SourcForge Community > >SourceForge wants to tell your story. > >http://p.sf.net/sfu/sf-spreadtheword > >_______________________________________________ > >Sdcc-user mailing list > >Sdcc-user@lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/sdcc-user > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > Sdcc-user mailing list > Sdcc-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sdcc-user > ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user