STP: Store Pair of Registers
- Calculates an address from a base register value and an immediate offset, and stores two 32bit words or two 64bit
- doublewords to the calculated address, from two registers.q
https://blog.naver.com/PostView.naver?blogId=crushhh&logNo=222386913294
Usage
Post-index
STP <Wt1>, <Wt2>, [<Xn|SP>], #<imm>
STP <Xt1>, <Xt2>, [<Xn|SP>], #<imm>
Pre-index
STP <Wt1>, <Wt2>, [<Xn|SP>, #<imm>]!
STP <Xt1>, <Xt2>, [<Xn|SP>, #<imm>]!
- SP를
<imm>
만큼 이동 SP, #<imm>
주소: Xt1 저장SP, #<imm>
주소 + 0x8: Xt1 저장
Signed offset
STP <Wt1>, <Wt2>, [<Xn|SP>{, #<imm>}]
STP <Xt1>, <Xt2>, [<Xn|SP>{, #<imm>}]
Armv7