head.s分析(3):数据及指针寄存器清0

快乐虾

http://blog.csdn.net/lights_joy/

[email protected]

本文适用于

ADI bf561 DSP

uclinux-2008r1.5-rc3 (移植到vdsp5)

Visual DSP++ 5.0(update 5)

欢迎转载,但请保留作者信息

R0 = 0;

/* Clear Out All the data and pointer Registers */

R1 = R0;

R2 = R0;

R3 = R0;

R4 = R0;

R5 = R0;

R6 = R0;

P0 = R0;

P1 = R0;

P2 = R0;

P3 = R0;

P4 = R0;

P5 = R0;

LC0 = r0;

LC1 = r0;

L0 = r0;

L1 = r0;

L2 = r0;

L3 = r0;

/* Clear Out All the DAG Registers */

B0 = r0;

B1 = r0;

B2 = r0;

B3 = r0;

I0 = r0;

I1 = r0;

I2 = r0;

I3 = r0;

M0 = r0;

M1 = r0;

M2 = r0;

M3 = r0;

这段代码虽然长,但是功能就很简单了,寄存器清0而已。

1 参考资料

head.s分析(1):保存u-boot传递过来的指针(2009-1-19)

head.s分析(2)SYSCFG配置(2009-1-19)

你可能感兴趣的:(.net,Blog)