Homebrew ASM Question about LDR

  • Thread starter Thread starter ely42
  • Start date Start date
  • Views Views 900
  • Replies Replies 4

ely42

Member
Newcomer
Joined
May 28, 2016
Messages
19
Reaction score
7
Trophies
0
XP
111
Country
France
Hello guys, I was looking at the disassembly of NTR CFW and I want know if in the expresion:
Code:
STR    R1, [R7,#(install_state - 0x10A924)]
the minus ("-") is for a substraction.

Thank in advance :)
 
Thanks man :) So in this case R1 = R7 + (install_state -0x10A924) right ?

I read it more as "save the value of R1 to memory location at R7 + (install_state - 0x10A924)", but I think that might be what you're already saying, just worded differently
 
  • Like
Reactions: ely42
Oh my bad, you're right :) It write from R1 not load to R1. I'm still reading the disassembly and the line I was reading contained a LDR instruction, it confused me :) A big thank to you :)
 

Site & Scene News

Popular threads in this forum