LDM/STM instructions are mainly used for field protection, data copying, parameter transfer, etc.
STMFD Instructions
STMFD Rn{!},{reglist}{^}
STMFD Instruction Explanation
Example:
STMFD SP! , {R0-R7, LR}
For the explanation of the pseudo code of this instruction, this is roughly the same:
SP = 9 -times;4;address = SP;for i = 0 to 7Memory[address] = Ri;address = address + 4;Memory[address] = LR;
Assuming the SP address is: 0x40000460, the following figure can be obtained from the pseudo code (blue padding is the address)
Stack indication< Br>
LDMFD instruction
LDMFD Rn{!},{reglist}{^}
The meaning of this instruction is based on Rn (starting address), value Write to the register list.
LDMFD Instruction Explanation
Example:
LDMFD SP! , {R0-R7, PC}^
For the explanation of the pseudo code of this instruction, this is roughly the same:
address = SP; for i = 0 to 7Ri = Memory[address , 4]address = address + 4; SP = address;
Assume that the SP address is: 0x4000043C, the following figure can be obtained from the pseudo code (blue fill area is the address):
LDMFD instruction stack indication
blue The color marked SP is the SP address before the execution of the instruction, and the red marked SP is the SP address after the execution of the instruction.
The YUV format has two broad categories: planar and packed. For the planar YUV format, the Y of all
A public IP is a public address that is assigned by InterNIC and consists of a class-based network I
There are WINDOWS on the computer and LINUX Some people like GRUB, and some people like NT Loader to
1. Log in to Linux with telnet: Need to install telnet related packages for Linux Configure /etc/Xin
You may not know Linux interprocess communication
Using library files and writing library files on AIX
Shell regular expressions use detailed explanation
Introduction to the tens of millions of concurrent HAproxy balanced load systems
Webalizer Chinese help file noun explanation
Detailed installation process of DB2 database under inux
Add a password to the Apache directory under the Linux operating system
Solve the problem of CPU 7 high in Windows 7
Win7 desktop icon only shows the solution that does not display the icon.
About the five major misunderstandings of blade servers
Setup does not accept Windows 10 upgrades are useless Microsoft will harass you every day
Win8 default gateway is not available how to fix
Unix tools under windows unxutils
What if I can't install the software in the application store of win10 computer?