Re: A89: More ASM help please


[Prev][Next][Index][Thread]

Re: A89: More ASM help please




>>Yes, that's the main point of (pc).
>> If you wrote without PC, then it would have been an adress relative to th
>>\/ beginning of the program, and so it would have to be relocated to be an
>> absolute adress.
>> 
>So how do you relocate the variable without using the (pc)...
This is automatically done during compilation: some relocation info is
added into the header. So you don't have to really care about that.

>Is there an
>advantage to doing this...?
Not in this case, because the size of the instruction itself is bigger, and
plus it has to add relocation info in the file --> it's really bigger


Xavier VASSOR
---The Doors Team
E-mail:xvassor@mail.dotcom.fr
Doors Homepage: http://www.altern.org/doors
ICQ:10241721


References: