Set address?

kanata kanata@celab1.ee.ntou.edu.tw
Wed Jun 14 19:56:00 GMT 2000


Hi All,
Does C has the assembly-link instruction "org" to force set address??
Like this...
main()
{
    aaa(0);
}
org 0xa0000100;
void aaa(int var1)
{
    var1=1;
}
I want procedure aaa to be puted at address 0xa0000100. How can I do it?

Thanks for your kindly support...
Kanata


More information about the Gcc-help mailing list