diff options
Diffstat (limited to 'apps/common/crt0_bfin.S')
-rw-r--r-- | apps/common/crt0_bfin.S | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/apps/common/crt0_bfin.S b/apps/common/crt0_bfin.S index dda3a82..2cac2b9 100644 --- a/apps/common/crt0_bfin.S +++ b/apps/common/crt0_bfin.S @@ -1,34 +1,34 @@ #include "cfg.h" - - .extern _AppStack - .extern _Cstart - .global start - .text +.extern _AppStack +.extern _Cstart +.global start + +.text start: - /* Clear all DAG registers: - */ - R0 = 0 - I0 = R0 - I1 = R0 - I2 = R0 - I3 = R0 - L0 = R0 - L1 = R0 - L2 = R0 - L3 = R0 - B0 = R0 - B1 = R0 - B2 = R0 - B3 = R0 - M0 = R0 - M1 = R0 - M2 = R0 - M3 = R0 - LC0 = R0; - LC1 = R0; +/* Clear all DAG registers: + */ +R0 = 0 + I0 = R0 + I1 = R0 + I2 = R0 + I3 = R0 + L0 = R0 + L1 = R0 + L2 = R0 + L3 = R0 + B0 = R0 + B1 = R0 + B2 = R0 + B3 = R0 + M0 = R0 + M1 = R0 + M2 = R0 + M3 = R0 + LC0 = R0; +LC1 = R0; - sp.h = _AppStack+(APPSTACKSIZE-32) - sp.l = _AppStack+(APPSTACKSIZE-32) - jump _Cstart +sp.h = _AppStack+(APPSTACKSIZE-32) + sp.l = _AppStack+(APPSTACKSIZE-32) + jump _Cstart |