首页
\
问答
\
哪个是ARM DA(递减后)寻址模式的第一个地址?(Which is the first address of ARM DA(Decrement After) addressing mode?)
哪个是ARM DA(递减后)寻址模式的第一个地址?(Which is the first address of ARM DA(Decrement After) addressing mode?)
我有两个关于DA寻址模式的问题。 例如:
STMDA R0!, {R1-R7}
根据ARM体系结构参考手册 ,起始地址为
R0 - (7 * 4) + 4
,即R0-24
,end_address为R0
。所以:
R1
的值是否会存储到R0-24
或R0
?- 如果
R1
存储到R0-24
,那么后续存储将增长到存储器的顶部(从R0-24
到R0
)?I have two questions about DA addressing mode. For example:
STMDA R0!, {R1-R7}
The start address will be
R0 - (7 * 4) + 4
, that is,R0-24
, according to the ARM Architecture reference manual and end_address will beR0
.So:
- Will the value of
R1
will be stored toR0-24
orR0
?- If
R1
is stored toR0-24
, then subsequent stores will grow towards the top of memory (fromR0-24
toR0
)?
原文:https://stackoverflow.com/questions/1748319
更新时间:2021-12-31 20:12