02.07.2013 Views

Uboot中start.S源码的指令级的详尽解析

Uboot中start.S源码的指令级的详尽解析

Uboot中start.S源码的指令级的详尽解析

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

更加详细一点,见下:<br />

“<br />

Predeclared register names<br />

图表 30 ARM 寄存器的别名<br />

寄存器名字<br />

Reg # APCS 意义<br />

R0 a1 工作寄存器<br />

R1 a2 "<br />

R2 a3 "<br />

R3 a4 "<br />

R4 v1 必须保护<br />

R5 v2 "<br />

R6 v3 "<br />

R7 v4 "<br />

R8 v5 "<br />

R9 v6 "<br />

R10 sl 栈限制<br />

R11 fp 桢指针<br />

R12 ip 内部过程调用寄存器<br />

R13 sp 栈指针<br />

R14 lr 连接寄存器<br />

R15 pc 程序计数器<br />

http://www.keil.com/support/man/docs/armasm/armasm_ch03s03s01.htm<br />

The following register names are predeclared:<br />

r0-r15 and R0-R15<br />

a1-a4 (argument, result, or scratch registers, synonyms for r0 to<br />

r3)<br />

v1-v8 (variable registers, r4 to r11)<br />

sb and SB (static base, r9)<br />

ip and IP (intra-procedure-call scratch register, r12)<br />

sp and SP (stack pointer, r13)<br />

lr and LR (link register, r14)<br />

pc and PC (program counter, r15).<br />

Predeclared extension register names<br />

http://www.keil.com/support/man/docs/armasm/armasm_ch03s03s02.htm<br />

The following extension register names are predeclared:<br />

d0-d31 and D0-D31 (VFP double-precision registers)<br />

s0-s31 and S0-S31 (VFP single-precision registers).<br />

Predeclared coprocessor names

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!