View Single Post
  #7    
Old July 23rd, 2013 (02:06 PM).
Kurapika's Avatar
Kurapika Kurapika is offline
Grudgebearer
 
Join Date: Feb 2013
Location: Lavendar Town - Morocco
Gender: Male
Nature: Naughty
Posts: 398
Quote originally posted by Juan:
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