Wolfgang Denk wrote:
Dear Valentine,

In message <4a61a48d.8060...@ru.mvista.com> you wrote:
PowerPC instructions are 32-bit long. So, there are only 16 bits available within the instruction for constant values. Since address can be up to 64 bits, we have to load it a piece at a time. The "@" within the assembler instruct it to give a specially-processed form of a symbol value:

@highest -- refers to bits 48-63 of a constant
@higher -- refers to bits 32-47 of a constant
@h -- refers to bits 16-31 of a constant
@l -- refers to bits 0-15 of a constant

Actually these bit numbers are wrong, as bit 0 is the MSB for PowerPC
;-)

All right, you got me ;)
Even copy-pasting from the IBM docs, one has to double-check :)

Regards,
Val.


Best regards,

Wolfgang Denk


_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to