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