.text
section of disassemble code
__exit:
0x0: 0xe59f1008 LDR R1, [PC, #0x8] ; [0x10] 0x20026 (131110)
0x4: 0xe3a00018 MOV R0, #24 ; 0x18
0x8: 0xef123456 SVC #0x123456
0xc: 0xeafffffb B __exit
I am calling the exit()
function in my main function. The above assembly code is appearing in a disassemble window .
How to execute the B __exit
instruction?
My source code is main(){ __exit(arg); }
This is a related question to arm semihosting.