View Single Post
  #7    
Old July 23rd, 2013, 02:06 PM
Kurapika's Avatar
Kurapika
Grudgebearer
 
Join Date: Feb 2013
Location: Lavendar Town - Morocco
Gender: Male
Nature: Naughty
Quote:
Originally Posted by Juan View Post
ldr Rx, offset+1
bx Rx

or

ldr Rx, offset
mov PC Rx
How do you insert that offset?
I mean, when I try to compile "ldr r0, 0x08900001 bx r0" it threws an error.
Should I do:
ldr r0, .offset
bx r0
.offset: .word 0x8900001

??
__________________
Reply With Quote