Zach Welch writes:
> I'm working to port Linux to our SA-1100 platform and having been delving
> into the arch/arm/kernel source pretty heavily. In my pursuit, I ran across
> the 'adr' opcode several times. Being unfamiliar with the opcode, I looked
> through the 'info' page only to discover the following message:
> 
> *TODO* Document the pseudo-ops (adr, ops)

"adr rd, sym" equates to either an "add rd, pc, #constant" or
"sub rd, pc, #constant" such that "rd" ends up being the address of "sym".
   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |        Russell King       [EMAIL PROTECTED]      --- ---
  | | | |            http://www.arm.linux.org.uk/            /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |

unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
++        Please use [EMAIL PROTECTED] for           ++
++                        kernel-related discussions.                      ++

Reply via email to