. Read the data from memory to a register (LDR).
2. Add one to the register (ADD).
3. Write the register to memory (STR).
On x86, such an operation would require only one instruction (either INC or ADD) because it can directly access memory. The MOVS instruction can read and write memory at the same time.
01: 1B 68 LDR R3, [R3]
- Chapter 1: x86 and x64
- from Practical Reverse Engineering: x86, x64, ARM, Windows Kernel, Reversing Tools, and Obfuscation
- Publisher: John Wiley & Sons
- Released: February 2014
basic memory assembler instructions
Share this highlighthttp://www.safaribooksonline.com/a/practical-reverse-engineering/44149/