显示标签为“ARM”的博文。显示所有博文
显示标签为“ARM”的博文。显示所有博文

2013年7月19日星期五

stmdb r13!, {r0-r3}

闲话少说,直接上图

stmdb r13!, {r0-r3}

 

我用模拟器运行一下这条汇编

看看运行后的结果

有没有注意到,SP初始时指的4个字节是不会更新的,而是从低地址的下一个4字节开始。

再上一个清晰的抽象图

2010年3月24日星期三

Linux tool chain

CodeSourcery is the best choice of Linux tool chain. When you consider which tool chain you will use to compiler Linux kernel, as well as Linux applications, do not hesitate, CodeSourcery product is your first choice. And the source code of their tool chain you can obtain freely.