B
Bryan
Hello,
I have a questin about the getting for the label address.Cpu is
ppc8260,compiler is gcc2.76.
If I want get the address of the label in embedding asm,how should I
do? I can get the low 16 bit and high 16 bit respectively just as
follow,then make a 32 bit value.
__asm__ (" \
lis 29, 5f@h \n\
lis 28, 5f@l \n\
...
...
5:
...
...
I think it is not a good method.Have a good method to get the label
address more simply?
Sincerely
Bryan
I have a questin about the getting for the label address.Cpu is
ppc8260,compiler is gcc2.76.
If I want get the address of the label in embedding asm,how should I
do? I can get the low 16 bit and high 16 bit respectively just as
follow,then make a 32 bit value.
__asm__ (" \
lis 29, 5f@h \n\
lis 28, 5f@l \n\
...
...
5:
...
...
I think it is not a good method.Have a good method to get the label
address more simply?
Sincerely
Bryan