dm642init.asm
上传用户:dahaojd
上传日期:2008-01-29
资源大小:14357k
文件大小:23k
源码类别:

DSP编程

开发平台:

C/C++

  1. ;******************************************************************************
  2. ;* TMS320C6x C/C++ Codegen                                    PC Version 4.36 *
  3. ;* Date/Time created: Wed Mar 22 15:36:30 2006                                *
  4. ;******************************************************************************
  5. ;******************************************************************************
  6. ;* GLOBAL FILE PARAMETERS                                                     *
  7. ;*                                                                            *
  8. ;*   Architecture      : TMS320C64xx                                          *
  9. ;*   Optimization      : Enabled at level 3                                   *
  10. ;*   Optimizing for    : Speed                                                *
  11. ;*                       Based on options: -o3, no -ms                        *
  12. ;*   Endian            : Little                                               *
  13. ;*   Interrupt Thrshld : Disabled                                             *
  14. ;*   Memory Model      : Large                                                *
  15. ;*   Calls to RTS      : Far                                                  *
  16. ;*   Pipelining        : Enabled                                              *
  17. ;*   Speculative Load  : Enabled                                              *
  18. ;*   Memory Aliases    : Presume not aliases (optimistic)                     *
  19. ;*   Debug Info        : No Debug Info                                        *
  20. ;*                                                                            *
  21. ;******************************************************************************
  22. .asg A15, FP
  23. .asg B14, DP
  24. .asg B15, SP
  25. .global $bss
  26. .sect ".cinit"
  27. .align 8
  28. .field   IR_1,32
  29. .field   _LinkStr+0,32
  30. .field   SL1,32 ; _LinkStr[0] @ 0
  31. .field   SL2,32 ; _LinkStr[1] @ 32
  32. .field   SL3,32 ; _LinkStr[2] @ 64
  33. .field   SL4,32 ; _LinkStr[3] @ 96
  34. .field   SL5,32 ; _LinkStr[4] @ 128
  35. IR_1: .set 20
  36. .sect ".text"
  37. _LinkStr: .usect ".far",20,8
  38. _bMacAddr: .usect ".far",8,8
  39. ; c:tic6000cgtoolsbinopt6x.exe -t -DI0 -v6400 -q -O3 C:DOCUME~1ZHAOQI~1LOCALS~1TempTI2720_2 C:DOCUME~1ZHAOQI~1LOCALS~1TempTI2720_5 -w C:/ICETEK-DM642-C V2.22/jpeg_motion/obj/ 
  40. .sect ".text"
  41. .global _dm642_init
  42. ;******************************************************************************
  43. ;* FUNCTION NAME: _dm642_init                                                 *
  44. ;*                                                                            *
  45. ;*   Regs Modified     : A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,B0,B1,B2,B3,B4,B5,B6,  *
  46. ;*                           B7,B8,B9,SP,A16,A17,A18,A19,A20,A21,A22,A23,A24, *
  47. ;*                           A25,A26,A27,A28,A29,A30,A31,B16,B17,B18,B19,B20, *
  48. ;*                           B21,B22,B23,B24,B25,B26,B27,B28,B29,B30,B31      *
  49. ;*   Regs Used         : A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,B0,B1,B2,B3,B4,B5,B6,  *
  50. ;*                           B7,B8,B9,SP,A16,A17,A18,A19,A20,A21,A22,A23,A24, *
  51. ;*                           A25,A26,A27,A28,A29,A30,A31,B16,B17,B18,B19,B20, *
  52. ;*                           B21,B22,B23,B24,B25,B26,B27,B28,B29,B30,B31      *
  53. ;*   Local Frame Size  : 0 Args + 0 Auto + 4 Save = 4 byte                    *
  54. ;******************************************************************************
  55. _dm642_init:
  56. ;** --------------------------------------------------------------------------*
  57.            MVKL    .S1     0x1848200,A3      ; |350| 
  58.            MVKH    .S1     0x1848200,A3      ; |350| 
  59.            LDW     .D1T1   *A3,A3            ; |350| 
  60.            MVKL    .S2     0x1848200,B4      ; |350| 
  61.            MVKL    .S2     0x1848200,B5      ; |351| 
  62.            MVKH    .S2     0x1848200,B4      ; |350| 
  63.            MVKH    .S2     0x1848200,B5      ; |351| 
  64.            OR      .D1     1,A3,A3           ; |350| 
  65.            STW     .D2T1   A3,*B4            ; |350| 
  66.            LDW     .D2T2   *B5,B4            ; |351| 
  67.            NOP             3
  68.            STW     .D2T2   B3,*SP--(8)       ; |38| 
  69.            AND     .D2     1,B4,B0           ; |351| 
  70.    [ B0]   B       .S1     L4                ; |351| 
  71.    [!B0]   MVKL    .S1     0x1848200,A3      ; |351| (P) <0,0> 
  72.    [!B0]   MVKH    .S1     0x1848200,A3      ; |351| (P) <0,1> 
  73.    [ B0]   MVKL    .S1     0x1848204,A3      ; |350| 
  74. || [!B0]   LDW     .D1T1   *A3,A4            ; |351| (P) <0,2>  ^ 
  75.    [ B0]   MVKH    .S1     0x1848204,A3      ; |350| 
  76.    [ B0]   LDW     .D1T1   *A3,A3            ; |350| 
  77.            ; BRANCH OCCURS                   ; |351| 
  78. ;** --------------------------------------------------------------------------*
  79.            MVK     .D2     0x1,B0
  80.            NOP             1
  81.            AND     .D1     1,A4,A0           ; |351| (P) <0,7>  ^ 
  82. ||         MVKL    .S1     0x1848200,A3      ; |351| (P) <1,0> 
  83. ;*----------------------------------------------------------------------------*
  84. ;*   SOFTWARE PIPELINE INFORMATION
  85. ;*
  86. ;*      Loop source line                 : 351
  87. ;*      Loop closing brace source line   : 351
  88. ;*      Known Minimum Trip Count         : 1
  89. ;*      Known Max Trip Count Factor      : 1
  90. ;*      Loop Carried Dependency Bound(^) : 7
  91. ;*      Unpartitioned Resource Bound     : 2
  92. ;*      Partitioned Resource Bound(*)    : 2
  93. ;*      Resource Partition:
  94. ;*                                A-side   B-side
  95. ;*      .L units                     0        0     
  96. ;*      .S units                     2*       1     
  97. ;*      .D units                     1        0     
  98. ;*      .M units                     0        0     
  99. ;*      .X cross paths               0        0     
  100. ;*      .T address paths             1        0     
  101. ;*      Long read paths              0        0     
  102. ;*      Long write paths             0        0     
  103. ;*      Logical  ops (.LS)           0        0     (.L or .S unit)
  104. ;*      Addition ops (.LSD)          1        1     (.L or .S or .D unit)
  105. ;*      Bound(.L .S .LS)             1        1     
  106. ;*      Bound(.L .S .D .LS .LSD)     2*       1     
  107. ;*
  108. ;*      Searching for software pipeline schedule at ...
  109. ;*         ii = 7  Schedule found with 3 iterations in parallel
  110. ;*
  111. ;*      Register Usage Table:
  112. ;*          +-----------------------------------------------------------------+
  113. ;*          |AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA|BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB|
  114. ;*          |00000000001111111111222222222233|00000000001111111111222222222233|
  115. ;*          |01234567890123456789012345678901|01234567890123456789012345678901|
  116. ;*          |--------------------------------+--------------------------------|
  117. ;*       0: |*  **                           |*                               |
  118. ;*       1: |   **                           |*                               |
  119. ;*       2: |    *                           |*                               |
  120. ;*       3: |    *                           |*                               |
  121. ;*       4: |    *                           |*                               |
  122. ;*       5: |    *                           |*                               |
  123. ;*       6: |    *                           |*                               |
  124. ;*          +-----------------------------------------------------------------+
  125. ;*
  126. ;*      Done
  127. ;*
  128. ;*      Loop is interruptible
  129. ;*      Collapsed epilog stages     : 2
  130. ;*      Prolog not removed
  131. ;*      Collapsed prolog stages     : 0
  132. ;*
  133. ;*      Minimum required memory pad : 0 bytes
  134. ;*
  135. ;*      Minimum safe trip count     : 1
  136. ;*----------------------------------------------------------------------------*
  137. ;*       SETUP CODE
  138. ;*
  139. ;*                  MVK             0x1,B0
  140. ;*                  ZERO            A4
  141. ;*
  142. ;*        SINGLE SCHEDULED ITERATION
  143. ;*
  144. ;*        C38:
  145. ;*   0              MVKL    .S1     0x1848200,A3      ; |351| 
  146. ;*   1              MVKH    .S1     0x1848200,A3      ; |351| 
  147. ;*   2      [ B0]   LDW     .D1T1   *A3,A4            ; |351|  ^ 
  148. ;*   3              NOP             4
  149. ;*   7              AND     .D1     1,A4,A0           ; |351|  ^ 
  150. ;*   8      [ A0]   ZERO    .D2     B0                ;  ^ 
  151. ;*   9      [ B0]   B       .S2     C38               ; |351| 
  152. ;*  10              NOP             5
  153. ;*                  ; BRANCH OCCURS                   ; |351| 
  154. ;*----------------------------------------------------------------------------*
  155. L1:    ; PIPED LOOP PROLOG
  156. ;** --------------------------------------------------------------------------*
  157. L2:    ; PIPED LOOP KERNEL
  158.    [ A0]   ZERO    .D2     B0                ; <0,8>  ^ 
  159. ||         MVKH    .S1     0x1848200,A3      ; |351| <1,1> 
  160.    [ B0]   BNOP    .S2     L2,4              ; |351| <0,9> 
  161. || [ B0]   LDW     .D1T1   *A3,A4            ; |351| <1,2>  ^ 
  162.            AND     .D1     1,A4,A0           ; |351| <1,7>  ^ 
  163. ||         MVKL    .S1     0x1848200,A3      ; |351| <2,0> 
  164. ;** --------------------------------------------------------------------------*
  165. L3:    ; PIPED LOOP EPILOG
  166. ;** --------------------------------------------------------------------------*
  167.            MVKL    .S1     0x1848204,A3      ; |350| 
  168.            MVKH    .S1     0x1848204,A3      ; |350| 
  169.            LDW     .D1T1   *A3,A3            ; |350| 
  170. ;** --------------------------------------------------------------------------*
  171. L4:    
  172.            MVKL    .S2     0x1848204,B5      ; |350| 
  173.            MVKL    .S2     0x1848204,B4      ; |351| 
  174.            MVKH    .S2     0x1848204,B5      ; |350| 
  175.            MVKH    .S2     0x1848204,B4      ; |351| 
  176.            OR      .D1     1,A3,A3           ; |350| 
  177.            STW     .D2T1   A3,*B5            ; |350| 
  178.            LDW     .D2T2   *B4,B4            ; |351| 
  179.            NOP             4
  180.            AND     .D2     1,B4,B0           ; |351| 
  181.    [ B0]   B       .S1     L8                ; |351| 
  182.    [!B0]   MVKL    .S1     0x1848204,A3      ; |351| (P) <0,0> 
  183.    [!B0]   MVKH    .S1     0x1848204,A3      ; |351| (P) <0,1> 
  184.    [ B0]   MVKL    .S1     _EVMDM642_init,A3 ; |44| 
  185. || [!B0]   LDW     .D1T1   *A3,A4            ; |351| (P) <0,2>  ^ 
  186.    [ B0]   MVKH    .S1     _EVMDM642_init,A3 ; |44| 
  187.            NOP             1
  188.            ; BRANCH OCCURS                   ; |351| 
  189. ;** --------------------------------------------------------------------------*
  190.            MVK     .D2     0x1,B0
  191.            MVKL    .S1     0x1848204,A3      ; |351| (P) <1,0> 
  192.            AND     .D1     1,A4,A0           ; |351| (P) <0,7>  ^ 
  193. ;*----------------------------------------------------------------------------*
  194. ;*   SOFTWARE PIPELINE INFORMATION
  195. ;*
  196. ;*      Loop source line                 : 351
  197. ;*      Loop closing brace source line   : 351
  198. ;*      Known Minimum Trip Count         : 1
  199. ;*      Known Max Trip Count Factor      : 1
  200. ;*      Loop Carried Dependency Bound(^) : 7
  201. ;*      Unpartitioned Resource Bound     : 2
  202. ;*      Partitioned Resource Bound(*)    : 2
  203. ;*      Resource Partition:
  204. ;*                                A-side   B-side
  205. ;*      .L units                     0        0     
  206. ;*      .S units                     2*       1     
  207. ;*      .D units                     1        0     
  208. ;*      .M units                     0        0     
  209. ;*      .X cross paths               0        0     
  210. ;*      .T address paths             1        0     
  211. ;*      Long read paths              0        0     
  212. ;*      Long write paths             0        0     
  213. ;*      Logical  ops (.LS)           0        0     (.L or .S unit)
  214. ;*      Addition ops (.LSD)          1        1     (.L or .S or .D unit)
  215. ;*      Bound(.L .S .LS)             1        1     
  216. ;*      Bound(.L .S .D .LS .LSD)     2*       1     
  217. ;*
  218. ;*      Searching for software pipeline schedule at ...
  219. ;*         ii = 7  Schedule found with 3 iterations in parallel
  220. ;*
  221. ;*      Register Usage Table:
  222. ;*          +-----------------------------------------------------------------+
  223. ;*          |AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA|BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB|
  224. ;*          |00000000001111111111222222222233|00000000001111111111222222222233|
  225. ;*          |01234567890123456789012345678901|01234567890123456789012345678901|
  226. ;*          |--------------------------------+--------------------------------|
  227. ;*       0: |*  **                           |*                               |
  228. ;*       1: |   **                           |*                               |
  229. ;*       2: |    *                           |*                               |
  230. ;*       3: |    *                           |*                               |
  231. ;*       4: |    *                           |*                               |
  232. ;*       5: |    *                           |*                               |
  233. ;*       6: |    *                           |*                               |
  234. ;*          +-----------------------------------------------------------------+
  235. ;*
  236. ;*      Done
  237. ;*
  238. ;*      Loop is interruptible
  239. ;*      Collapsed epilog stages     : 2
  240. ;*      Prolog not removed
  241. ;*      Collapsed prolog stages     : 0
  242. ;*
  243. ;*      Minimum required memory pad : 0 bytes
  244. ;*
  245. ;*      Minimum safe trip count     : 1
  246. ;*----------------------------------------------------------------------------*
  247. ;*       SETUP CODE
  248. ;*
  249. ;*                  MVK             0x1,B0
  250. ;*                  ZERO            A4
  251. ;*
  252. ;*        SINGLE SCHEDULED ITERATION
  253. ;*
  254. ;*        C16:
  255. ;*   0              MVKL    .S1     0x1848204,A3      ; |351| 
  256. ;*   1              MVKH    .S1     0x1848204,A3      ; |351| 
  257. ;*   2      [ B0]   LDW     .D1T1   *A3,A4            ; |351|  ^ 
  258. ;*   3              NOP             4
  259. ;*   7              AND     .D1     1,A4,A0           ; |351|  ^ 
  260. ;*   8      [ A0]   ZERO    .D2     B0                ;  ^ 
  261. ;*   9      [ B0]   B       .S2     C16               ; |351| 
  262. ;*  10              NOP             5
  263. ;*                  ; BRANCH OCCURS                   ; |351| 
  264. ;*----------------------------------------------------------------------------*
  265. L5:    ; PIPED LOOP PROLOG
  266. ;** --------------------------------------------------------------------------*
  267. L6:    ; PIPED LOOP KERNEL
  268.    [ A0]   ZERO    .D2     B0                ; <0,8>  ^ 
  269. ||         MVKH    .S1     0x1848204,A3      ; |351| <1,1> 
  270.    [ B0]   BNOP    .S2     L6,4              ; |351| <0,9> 
  271. || [ B0]   LDW     .D1T1   *A3,A4            ; |351| <1,2>  ^ 
  272.            AND     .D1     1,A4,A0           ; |351| <1,7>  ^ 
  273. ||         MVKL    .S1     0x1848204,A3      ; |351| <2,0> 
  274. ;** --------------------------------------------------------------------------*
  275. L7:    ; PIPED LOOP EPILOG
  276. ;** --------------------------------------------------------------------------*
  277.            MVKL    .S1     _EVMDM642_init,A3 ; |44| 
  278.            MVKH    .S1     _EVMDM642_init,A3 ; |44| 
  279.            NOP             1
  280. ;** --------------------------------------------------------------------------*
  281. L8:    
  282.            CALL    .S2X    A3                ; |44| 
  283.            ADDKPC  .S2     RL0,B3,4          ; |44| 
  284. RL0:       ; CALL OCCURS                     ; |44| 
  285.            MVKL    .S1     _EVMDM642_LED_init,A3 ; |45| 
  286.            MVKH    .S1     _EVMDM642_LED_init,A3 ; |45| 
  287.            NOP             1
  288.            CALL    .S2X    A3                ; |45| 
  289.            ADDKPC  .S2     RL1,B3,4          ; |45| 
  290. RL1:       ; CALL OCCURS                     ; |45| 
  291.            LDW     .D2T2   *++SP(8),B3       ; |53| 
  292.            NOP             2
  293.            MVKL    .S1     0x141015a,A5      ; |49| 
  294.            MVKH    .S1     0x141015a,A5      ; |49| 
  295.            RET     .S2     B3                ; |53| 
  296.            MVKL    .S2     0x1410444,B4      ; |49| 
  297.            MVKH    .S2     0x1410444,B4      ; |49| 
  298.            MVKL    .S2     _bMacAddr,B5      ; |49| 
  299.            MV      .D1X    B4,A4             ; |49| 
  300. ||         MVKH    .S2     _bMacAddr,B5      ; |49| 
  301.            STDW    .D2T1   A5:A4,*B5         ; |49| 
  302.            ; BRANCH OCCURS                   ; |53| 
  303. .sect ".text"
  304. .global _DM642EMAC_linkStatus
  305. ;******************************************************************************
  306. ;* FUNCTION NAME: _DM642EMAC_linkStatus                                       *
  307. ;*                                                                            *
  308. ;*   Regs Modified     : A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,B0,B1,B2,B3,B4,B5, *
  309. ;*                           B6,B7,B8,B9,B13,SP,A16,A17,A18,A19,A20,A21,A22,  *
  310. ;*                           A23,A24,A25,A26,A27,A28,A29,A30,A31,B16,B17,B18, *
  311. ;*                           B19,B20,B21,B22,B23,B24,B25,B26,B27,B28,B29,B30, *
  312. ;*                           B31                                              *
  313. ;*   Regs Used         : A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,B0,B1,B2,B3,B4,B5, *
  314. ;*                           B6,B7,B8,B9,B13,SP,A16,A17,A18,A19,A20,A21,A22,  *
  315. ;*                           A23,A24,A25,A26,A27,A28,A29,A30,A31,B16,B17,B18, *
  316. ;*                           B19,B20,B21,B22,B23,B24,B25,B26,B27,B28,B29,B30, *
  317. ;*                           B31                                              *
  318. ;*   Local Frame Size  : 8 Args + 0 Auto + 8 Save = 16 byte                   *
  319. ;******************************************************************************
  320. _DM642EMAC_linkStatus:
  321. ;** --------------------------------------------------------------------------*
  322.            MVKL    .S2     _printf,B4        ; |82| 
  323. ||         MVKL    .S1     _LinkStr,A3       ; |82| 
  324. ||         MV      .D1X    B4,A5             ; |81| 
  325.            MVKH    .S2     _printf,B4        ; |82| 
  326. ||         MVKH    .S1     _LinkStr,A3       ; |82| 
  327.            CALL    .S2     B4                ; |82| 
  328. ||         LDW     .D1T1   *+A3[A5],A3       ; |82| 
  329.            STW     .D2T1   A10,*SP--(16)     ; |81| 
  330.            MVKL    .S2     SL6+0,B5          ; |82| 
  331.            STW     .D2T2   B13,*+SP(12)      ; |81| 
  332. ||         MVKH    .S2     SL6+0,B5          ; |82| 
  333.            STW     .D2T2   B5,*+SP(4)        ; |82| 
  334.            ADDKPC  .S2     RL2,B3,0          ; |82| 
  335. ||         STW     .D2T1   A3,*+SP(8)        ; |82| 
  336. ||         MV      .L2     B3,B13            ; |81| 
  337. ||         MV      .D1     A4,A10            ; |81| 
  338. RL2:       ; CALL OCCURS                     ; |82| 
  339.            MVKL    .S2     _MDIO_phyRegWrite,B5 ; |86| 
  340.            MVKH    .S2     _MDIO_phyRegWrite,B5 ; |86| 
  341.            CALL    .S2     B5                ; |86| 
  342.            MVK     .S2     0x14,B4           ; |86| 
  343.            MVKL    .S1     0xd5d0,A6         ; |86| 
  344.            ADDKPC  .S2     RL3,B3,0          ; |86| 
  345.            MV      .D1     A10,A4            ; |86| 
  346.            MVKH    .S1     0xd5d0,A6         ; |86| 
  347. RL3:       ; CALL OCCURS                     ; |86| 
  348.            MV      .D2     B13,B3            ; |87| 
  349.            RET     .S2     B3                ; |87| 
  350. ||         LDW     .D2T2   *+SP(12),B13      ; |87| 
  351.            LDW     .D2T1   *++SP(16),A10     ; |87| 
  352.            NOP             4
  353.            ; BRANCH OCCURS                   ; |87| 
  354. .sect ".text"
  355. .global _DM642EMAC_getConfig
  356. ;******************************************************************************
  357. ;* FUNCTION NAME: _DM642EMAC_getConfig                                        *
  358. ;*                                                                            *
  359. ;*   Regs Modified     : A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,B0,B1,B2,B3,B4,*
  360. ;*                           B5,B6,B7,B8,B9,B10,B13,SP,A16,A17,A18,A19,A20,   *
  361. ;*                           A21,A22,A23,A24,A25,A26,A27,A28,A29,A30,A31,B16, *
  362. ;*                           B17,B18,B19,B20,B21,B22,B23,B24,B25,B26,B27,B28, *
  363. ;*                           B29,B30,B31                                      *
  364. ;*   Regs Used         : A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,B0,B1,B2,B3,B4,*
  365. ;*                           B5,B6,B7,B8,B9,B10,B13,SP,A16,A17,A18,A19,A20,   *
  366. ;*                           A21,A22,A23,A24,A25,A26,A27,A28,A29,A30,A31,B16, *
  367. ;*                           B17,B18,B19,B20,B21,B22,B23,B24,B25,B26,B27,B28, *
  368. ;*                           B29,B30,B31                                      *
  369. ;*   Local Frame Size  : 32 Args + 0 Auto + 16 Save = 48 byte                 *
  370. ;******************************************************************************
  371. _DM642EMAC_getConfig:
  372. ;** --------------------------------------------------------------------------*
  373.            STW     .D2T2   B10,*SP--(48)     ; |63| 
  374.            MVKL    .S1     _bMacAddr,A10     ; |64| 
  375. ||         STDW    .D2T1   A11:A10,*+SP(40)  ; |63| 
  376.            MVKH    .S1     _bMacAddr,A10     ; |64| 
  377.            LDBU    .D1T2   *A10,B5           ; |64| 
  378. ||         MVKL    .S1     SL7+0,A3          ; |64| 
  379.            MVKH    .S1     SL7+0,A3          ; |64| 
  380.            STW     .D2T1   A3,*+SP(4)        ; |64| 
  381.            LDBU    .D1T1   *+A10(1),A8       ; |64| 
  382.            LDBU    .D1T1   *+A10(2),A5       ; |64| 
  383. ||         STW     .D2T2   B13,*+SP(36)      ; |63| 
  384.            LDBU    .D1T1   *+A10(3),A3       ; |64| 
  385. ||         MVKL    .S2     _printf,B5        ; |64| 
  386. ||         STW     .D2T2   B5,*+SP(8)        ; |64| 
  387.            MVKH    .S2     _printf,B5        ; |64| 
  388. ||         LDBU    .D1T1   *+A10(4),A6       ; |64| 
  389.            CALL    .S2     B5                ; |64| 
  390. ||         LDBU    .D1T1   *+A10(5),A7       ; |64| 
  391.            STW     .D2T1   A8,*+SP(12)       ; |64| 
  392.            STW     .D2T1   A5,*+SP(16)       ; |64| 
  393.            STW     .D2T1   A3,*+SP(20)       ; |64| 
  394.            STW     .D2T1   A6,*+SP(24)       ; |64| 
  395. ||         MV      .S2     B4,B10            ; |63| 
  396.            ADDKPC  .S2     RL4,B3,0          ; |64| 
  397. ||         STW     .D2T1   A7,*+SP(28)       ; |64| 
  398. ||         MV      .L2     B3,B13            ; |63| 
  399. ||         MV      .D1     A4,A11            ; |63| 
  400. RL4:       ; CALL OCCURS                     ; |64| 
  401.            MVKL    .S2     _mmCopy,B5        ; |69| 
  402.            MVKH    .S2     _mmCopy,B5        ; |69| 
  403.            CALL    .S2     B5                ; |69| 
  404.            ADDKPC  .S2     RL5,B3,1          ; |69| 
  405.            MV      .D1     A11,A4            ; |69| 
  406.            MV      .D2X    A10,B4            ; |69| 
  407.            MVK     .S1     0x6,A6            ; |69| 
  408. RL5:       ; CALL OCCURS                     ; |69| 
  409.            LDW     .D2T2   *+SP(36),B13      ; |71| 
  410. ||         MV      .S2     B13,B3            ; |71| 
  411.            MVK     .S2     15,B4             ; |70| 
  412. ||         LDDW    .D2T1   *+SP(40),A11:A10  ; |71| 
  413.            RET     .S2     B3                ; |71| 
  414. ||         STW     .D2T2   B4,*B10           ; |70| 
  415.            LDW     .D2T2   *++SP(48),B10     ; |71| 
  416.            NOP             4
  417.            ; BRANCH OCCURS                   ; |71| 
  418. ;******************************************************************************
  419. ;* STRINGS                                                                    *
  420. ;******************************************************************************
  421. .sect ".const"
  422. SL1: .string "No Link",0
  423. SL2: .string "10Mb/s Half Duplex",0
  424. SL3: .string "10Mb/s Full Duplex",0
  425. SL4: .string "100Mb/s Half Duplex",0
  426. SL5: .string "100Mb/s Full Duplex",0
  427. SL6: .string "Link Status: %s",10,0
  428. SL7: .string "Using MAC Address: %02x-%02x-%02x-%02x-%02x-%02x",10,0
  429. ;******************************************************************************
  430. ;* UNDEFINED EXTERNAL REFERENCES                                              *
  431. ;******************************************************************************
  432. .global _printf
  433. .global _mmCopy
  434. .global _EVMDM642_init
  435. .global _EVMDM642_LED_init
  436. .global _MDIO_phyRegWrite