network_main.asm
上传用户:dahaojd
上传日期:2008-01-29
资源大小:14357k
文件大小:66k
- ;******************************************************************************
- ;* TMS320C6x C/C++ Codegen PC Version 4.36 *
- ;* Date/Time created: Wed Mar 22 15:36:31 2006 *
- ;******************************************************************************
- ;******************************************************************************
- ;* GLOBAL FILE PARAMETERS *
- ;* *
- ;* Architecture : TMS320C64xx *
- ;* Optimization : Enabled at level 3 *
- ;* Optimizing for : Speed *
- ;* Based on options: -o3, no -ms *
- ;* Endian : Little *
- ;* Interrupt Thrshld : Disabled *
- ;* Memory Model : Large *
- ;* Calls to RTS : Far *
- ;* Pipelining : Enabled *
- ;* Speculative Load : Enabled *
- ;* Memory Aliases : Presume not aliases (optimistic) *
- ;* Debug Info : No Debug Info *
- ;* *
- ;******************************************************************************
- .asg A15, FP
- .asg B14, DP
- .asg B15, SP
- .global $bss
- .sect ".cinit"
- .align 8
- .field 4,32
- .field _VerStr+0,32
- .field SL1,32 ; _VerStr @ 0
- .sect ".text"
- .global _VerStr
- _VerStr: .usect ".far",4,4
- .sect ".cinit"
- .align 8
- .field 4,32
- .field _HostName+0,32
- .field SL2,32 ; _HostName @ 0
- .sect ".text"
- .global _HostName
- _HostName: .usect ".far",4,4
- .sect ".cinit"
- .align 8
- .field 4,32
- .field _LocalIPAddr+0,32
- .field SL3,32 ; _LocalIPAddr @ 0
- .sect ".text"
- .global _LocalIPAddr
- _LocalIPAddr: .usect ".far",4,4
- .sect ".cinit"
- .align 8
- .field 4,32
- .field _LocalIPMask+0,32
- .field SL4,32 ; _LocalIPMask @ 0
- .sect ".text"
- .global _LocalIPMask
- _LocalIPMask: .usect ".far",4,4
- .sect ".cinit"
- .align 8
- .field 4,32
- .field _GatewayIP+0,32
- .field SL5,32 ; _GatewayIP @ 0
- .sect ".text"
- .global _GatewayIP
- _GatewayIP: .usect ".far",4,4
- .sect ".cinit"
- .align 8
- .field 4,32
- .field _DomainName+0,32
- .field SL6,32 ; _DomainName @ 0
- .sect ".text"
- .global _DomainName
- _DomainName: .usect ".far",4,4
- .sect ".cinit"
- .align 8
- .field 4,32
- .field _DNSServer+0,32
- .field SL7,32 ; _DNSServer @ 0
- .sect ".text"
- .global _DNSServer
- _DNSServer: .usect ".far",4,4
- .sect ".cinit"
- .align 8
- .field IR_1,32
- .field _TaskName+0,32
- .field SL8,32 ; _TaskName[0] @ 0
- .field SL9,32 ; _TaskName[1] @ 32
- .field SL10,32 ; _TaskName[2] @ 64
- .field SL11,32 ; _TaskName[3] @ 96
- .field SL12,32 ; _TaskName[4] @ 128
- .field SL13,32 ; _TaskName[5] @ 160
- IR_1: .set 24
- .sect ".text"
- _TaskName: .usect ".far",24,8
- .sect ".cinit"
- .align 8
- .field IR_2,32
- .field _ReportStr+0,32
- .field SL14,32 ; _ReportStr[0] @ 0
- .field SL15,32 ; _ReportStr[1] @ 32
- .field SL16,32 ; _ReportStr[2] @ 64
- .field SL17,32 ; _ReportStr[3] @ 96
- .field SL18,32 ; _ReportStr[4] @ 128
- IR_2: .set 20
- .sect ".text"
- _ReportStr: .usect ".far",20,8
- .sect ".cinit"
- .align 8
- .field IR_3,32
- .field _StatusStr+0,32
- .field SL19,32 ; _StatusStr[0] @ 0
- .field SL20,32 ; _StatusStr[1] @ 32
- .field SL21,32 ; _StatusStr[2] @ 64
- .field SL22,32 ; _StatusStr[3] @ 96
- .field SL23,32 ; _StatusStr[4] @ 128
- IR_3: .set 20
- .sect ".text"
- _StatusStr: .usect ".far",20,8
- .sect ".cinit"
- .align 8
- .field 4,32
- .field _fSystemReady$1+0,32
- .field 0,32 ; _fSystemReady$1 @ 0
- .sect ".text"
- _fSystemReady$1: .usect ".far",4,4
- ; c:tic6000cgtoolsbinopt6x.exe -t -DI0 -v6400 -q -O3 C:DOCUME~1ZHAOQI~1LOCALS~1TempTI384_2 C:DOCUME~1ZHAOQI~1LOCALS~1TempTI384_5 -w C:/ICETEK-DM642-C V2.22/jpeg_motion/obj/
- .sect ".text"
- .global _network_main
- ;******************************************************************************
- ;* FUNCTION NAME: _network_main *
- ;* *
- ;* Regs Modified : A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,B0,*
- ;* B1,B2,B3,B4,B5,B6,B7,B8,B9,B10,B11,B12,B13,SP, *
- ;* A16,A17,A18,A19,A20,A21,A22,A23,A24,A25,A26,A27, *
- ;* A28,A29,A30,A31,B16,B17,B18,B19,B20,B21,B22,B23, *
- ;* B24,B25,B26,B27,B28,B29,B30,B31 *
- ;* Regs Used : A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,B0,*
- ;* B1,B2,B3,B4,B5,B6,B7,B8,B9,B10,B11,B12,B13,DP,SP,*
- ;* A16,A17,A18,A19,A20,A21,A22,A23,A24,A25,A26,A27, *
- ;* A28,A29,A30,A31,B16,B17,B18,B19,B20,B21,B22,B23, *
- ;* B24,B25,B26,B27,B28,B29,B30,B31 *
- ;* Local Frame Size : 8 Args + 176 Auto + 40 Save = 224 byte *
- ;******************************************************************************
- _network_main:
- ;** --------------------------------------------------------------------------*
- MVKL .S2 _NC_SystemOpen,B4 ; |54|
- MVKH .S2 _NC_SystemOpen,B4 ; |54|
- CALL .S2 B4 ; |54|
- ADDK .S2 -224,SP ; |46|
- || MV .D1X SP,A31 ; |46|
- STW .D2T1 A14,*+SP(224)
- STDW .D2T2 B13:B12,*+SP(216)
- STDW .D2T2 B11:B10,*+SP(208)
- || STDW .D1T1 A11:A10,*-A31(32)
- ADDKPC .S2 RL0,B3,0 ; |54|
- || STW .D2T2 B3,*+SP(188)
- || STDW .D1T1 A13:A12,*-A31(24)
- RL0: ; CALL OCCURS ; |54|
- MVKL .S1 __mmBulkAllocSeg,A3 ; |56|
- MVKH .S1 __mmBulkAllocSeg,A3 ; |56|
- MVKL .S1 _extHeap,A4 ; |56|
- CALL .S2X A3 ; |56|
- || MVKH .S1 _extHeap,A4 ; |56|
- LDW .D1T1 *A4,A4 ; |56|
- ADDKPC .S2 RL1,B3,3 ; |56|
- RL1: ; CALL OCCURS ; |56|
- MVKL .S1 _printf,A3 ; |59|
- MVKH .S1 _printf,A3 ; |59|
- || MVKL .S2 _VerStr,B4 ; |59|
- MVKH .S2 _VerStr,B4 ; |59|
- CALL .S2X A3 ; |59|
- || LDW .D2T2 *B4,B4 ; |59|
- ADDKPC .S2 RL2,B3,3 ; |59|
- STW .D2T2 B4,*+SP(4) ; |59|
- RL2: ; CALL OCCURS ; |59|
- MVKL .S2 _C62_enableIER,B4 ; |63|
- MVKH .S2 _C62_enableIER,B4 ; |63|
- CALL .S2 B4 ; |63|
- ADDKPC .S2 RL3,B3,3 ; |63|
- MVK .S1 0x100,A4 ; |63|
- RL3: ; CALL OCCURS ; |63|
- MVKL .S1 _CfgNew,A3 ; |70|
- MVKH .S1 _CfgNew,A3 ; |70|
- NOP 1
- CALL .S2X A3 ; |70|
- ADDKPC .S2 RL4,B3,4 ; |70|
- RL4: ; CALL OCCURS ; |70|
- MV .D1 A4,A0 ; |70|
- [ A0] B .S1 L1 ; |71|
- MVKL .S2 SL24+0,B6 ; |73|
- MVKL .S2 _printf,B5 ; |73|
- MVKH .S2 SL24+0,B6 ; |73|
- || MVKL .S1 _DomainName,A3 ; |173|
- MVKH .S2 _printf,B5 ; |73|
- || MV .D1 A4,A11 ; |70|
- || MVK .D2 0xffffffff,B4 ; |172|
- || MVKH .S1 _DomainName,A3 ; |173|
- [ A0] LDW .D1T1 *A3,A3 ; |173|
- ; BRANCH OCCURS ; |71|
- ;** --------------------------------------------------------------------------*
- CALL .S2 B5 ; |73|
- ADDKPC .S2 RL5,B3,1 ; |73|
- STW .D2T2 B6,*+SP(4) ; |73|
- NOP 2
- RL5: ; CALL OCCURS ; |73|
- BNOP .S1 L19,2 ; |74|
- MVKL .S1 _NC_SystemClose,A3 ; |182|
- MVKH .S1 _NC_SystemClose,A3 ; |182|
- NOP 1
- ; BRANCH OCCURS ; |74|
- ;** --------------------------------------------------------------------------*
- L1:
- NOP 3
- MV .D1X B4,A5
- || MVC .S2 CSR,B4
- AND .D2 -2,B4,B5
- || SUB .D1 A3,1,A3 ; |173|
- MVC .S2 B5,CSR ; interrupts off
- || LDB .D1T1 *++A3,A0 ; |175| (P) <0,0> ^
- ;*----------------------------------------------------------------------------*
- ;* SOFTWARE PIPELINE INFORMATION
- ;*
- ;* Loop source line : 175
- ;* Loop opening brace source line : 175
- ;* Loop closing brace source line : 175
- ;* Known Minimum Trip Count : 1
- ;* Known Max Trip Count Factor : 1
- ;* Loop Carried Dependency Bound(^) : 1
- ;* Unpartitioned Resource Bound : 1
- ;* Partitioned Resource Bound(*) : 1
- ;* Resource Partition:
- ;* A-side B-side
- ;* .L units 0 0
- ;* .S units 0 1*
- ;* .D units 1* 0
- ;* .M units 0 0
- ;* .X cross paths 0 0
- ;* .T address paths 1* 0
- ;* Long read paths 0 0
- ;* Long write paths 0 0
- ;* Logical ops (.LS) 0 0 (.L or .S unit)
- ;* Addition ops (.LSD) 2 1 (.L or .S or .D unit)
- ;* Bound(.L .S .LS) 0 1*
- ;* Bound(.L .S .D .LS .LSD) 1* 1*
- ;*
- ;* Searching for software pipeline schedule at ...
- ;* ii = 1 Schedule found with 12 iterations in parallel
- ;*
- ;* Register Usage Table:
- ;* +-----------------------------------------------------------------+
- ;* |AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA|BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB|
- ;* |00000000001111111111222222222233|00000000001111111111222222222233|
- ;* |01234567890123456789012345678901|01234567890123456789012345678901|
- ;* |--------------------------------+--------------------------------|
- ;* 0: |* * ** |* |
- ;* +-----------------------------------------------------------------+
- ;*
- ;* Done
- ;*
- ;* Collapsed epilog stages : 11
- ;* Prolog not removed
- ;* Collapsed prolog stages : 0
- ;*
- ;* Minimum required memory pad : 11 bytes
- ;* Minimum threshold value : -mh14
- ;*
- ;* Minimum safe trip count : 1
- ;*----------------------------------------------------------------------------*
- ;* SETUP CODE
- ;*
- ;* MVK 0x1,B0
- ;* ZERO A6
- ;*
- ;* SINGLE SCHEDULED ITERATION
- ;*
- ;* C91:
- ;* 0 LDB .D1T1 *++A3,A0 ; |175| ^
- ;* 1 NOP 3
- ;* 4 ADD .L1 1,A5,A5 ; |175| ^
- ;* 5 [ B0] MV .S1 A5,A6 ; |175| ^
- ;* || [!A0] ZERO .D2 B0 ; ^
- ;* 6 [ B0] B .S2 C91 ; |175|
- ;* 7 NOP 5
- ;* ; BRANCH OCCURS ; |175|
- ;*
- ;* RESTORE CODE
- ;*
- ;* MV A6,A5
- ;*----------------------------------------------------------------------------*
- L2: ; PIPED LOOP PROLOG
- LDB .D1T1 *++A3,A0 ; |175| (P) <1,0> ^
- LDB .D1T1 *++A3,A0 ; |175| (P) <2,0> ^
- LDB .D1T1 *++A3,A0 ; |175| (P) <3,0> ^
- MVK .D2 0x1,B0
- || ZERO .S1 A6
- || ADD .L1 1,A5,A5 ; |175| (P) <0,4> ^
- || LDB .D1T1 *++A3,A0 ; |175| (P) <4,0> ^
- [!A0] ZERO .D2 B0 ; (P) <0,5> ^
- || [ B0] MV .S1 A5,A6 ; |175| (P) <0,5> ^
- || ADD .L1 1,A5,A5 ; |175| (P) <1,4> ^
- || LDB .D1T1 *++A3,A0 ; |175| (P) <5,0> ^
- [ B0] B .S2 L3 ; |175| (P) <0,6>
- || [!A0] ZERO .D2 B0 ; (P) <1,5> ^
- || [ B0] MV .S1 A5,A6 ; |175| (P) <1,5> ^
- || ADD .L1 1,A5,A5 ; |175| (P) <2,4> ^
- || LDB .D1T1 *++A3,A0 ; |175| (P) <6,0> ^
- [!A0] ZERO .D2 B0 ; (P) <2,5> ^
- || [ B0] MV .S1 A5,A6 ; |175| (P) <2,5> ^
- || ADD .L1 1,A5,A5 ; |175| (P) <3,4> ^
- || LDB .D1T1 *++A3,A0 ; |175| (P) <7,0> ^
- || [ B0] B .S2 L3 ; |175| (P) <1,6>
- [ B0] B .S2 L3 ; |175| (P) <2,6>
- || [!A0] ZERO .D2 B0 ; (P) <3,5> ^
- || [ B0] MV .S1 A5,A6 ; |175| (P) <3,5> ^
- || ADD .L1 1,A5,A5 ; |175| (P) <4,4> ^
- || LDB .D1T1 *++A3,A0 ; |175| (P) <8,0> ^
- [!A0] ZERO .D2 B0 ; (P) <4,5> ^
- || [ B0] MV .S1 A5,A6 ; |175| (P) <4,5> ^
- || ADD .L1 1,A5,A5 ; |175| (P) <5,4> ^
- || LDB .D1T1 *++A3,A0 ; |175| (P) <9,0> ^
- || [ B0] B .S2 L3 ; |175| (P) <3,6>
- [ B0] B .S2 L3 ; |175| (P) <4,6>
- || [!A0] ZERO .D2 B0 ; (P) <5,5> ^
- || [ B0] MV .S1 A5,A6 ; |175| (P) <5,5> ^
- || ADD .L1 1,A5,A5 ; |175| (P) <6,4> ^
- || LDB .D1T1 *++A3,A0 ; |175| (P) <10,0> ^
- ;** --------------------------------------------------------------------------*
- L3: ; PIPED LOOP KERNEL
- [ B0] B .S2 L3 ; |175| <5,6>
- || [!A0] ZERO .D2 B0 ; <6,5> ^
- || [ B0] MV .S1 A5,A6 ; |175| <6,5> ^
- || ADD .L1 1,A5,A5 ; |175| <7,4> ^
- || LDB .D1T1 *++A3,A0 ; |175| <11,0> ^
- ;** --------------------------------------------------------------------------*
- L4: ; PIPED LOOP EPILOG
- ;** --------------------------------------------------------------------------*
- MVK .D1 0xffffffff,A8 ; |172|
- || MVKL .S1 _HostName,A3 ; |173|
- || MVK .S2 64,B5 ; |176|
- MV .D1 A8,A5 ; |172|
- || MVKH .S1 _HostName,A3 ; |173|
- || CMPLTU .L2X A6,B5,B0 ; |176|
- [!B0] B .S2 L18 ; |176|
- MVC .S2 B4,CSR ; interrupts on
- [ B0] LDW .D1T1 *A3,A7 ; |173|
- || [!B0] MVKL .S1 _printf,A3 ; |81|
- NOP 1
- [!B0] MVKH .S1 _printf,A3 ; |81|
- NOP 1
- ; BRANCH OCCURS ; |176|
- ;** --------------------------------------------------------------------------*
- MVC .S2 CSR,B4
- AND .D2 -2,B4,B5
- || SUB .D1 A7,1,A3 ; |173|
- MVC .S2 B5,CSR ; interrupts off
- || LDB .D1T1 *++A3,A0 ; |175| (P) <0,0> ^
- ;*----------------------------------------------------------------------------*
- ;* SOFTWARE PIPELINE INFORMATION
- ;*
- ;* Loop source line : 175
- ;* Loop opening brace source line : 175
- ;* Loop closing brace source line : 175
- ;* Known Minimum Trip Count : 1
- ;* Known Max Trip Count Factor : 1
- ;* Loop Carried Dependency Bound(^) : 1
- ;* Unpartitioned Resource Bound : 1
- ;* Partitioned Resource Bound(*) : 1
- ;* Resource Partition:
- ;* A-side B-side
- ;* .L units 0 0
- ;* .S units 0 1*
- ;* .D units 1* 0
- ;* .M units 0 0
- ;* .X cross paths 0 0
- ;* .T address paths 1* 0
- ;* Long read paths 0 0
- ;* Long write paths 0 0
- ;* Logical ops (.LS) 0 0 (.L or .S unit)
- ;* Addition ops (.LSD) 2 1 (.L or .S or .D unit)
- ;* Bound(.L .S .LS) 0 1*
- ;* Bound(.L .S .D .LS .LSD) 1* 1*
- ;*
- ;* Searching for software pipeline schedule at ...
- ;* ii = 1 Schedule found with 12 iterations in parallel
- ;*
- ;* Register Usage Table:
- ;* +-----------------------------------------------------------------+
- ;* |AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA|BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB|
- ;* |00000000001111111111222222222233|00000000001111111111222222222233|
- ;* |01234567890123456789012345678901|01234567890123456789012345678901|
- ;* |--------------------------------+--------------------------------|
- ;* 0: |* * ** |* |
- ;* +-----------------------------------------------------------------+
- ;*
- ;* Done
- ;*
- ;* Collapsed epilog stages : 11
- ;* Prolog not removed
- ;* Collapsed prolog stages : 0
- ;*
- ;* Minimum required memory pad : 11 bytes
- ;* Minimum threshold value : -mh14
- ;*
- ;* Minimum safe trip count : 1
- ;*----------------------------------------------------------------------------*
- ;* SETUP CODE
- ;*
- ;* MVK 0x1,B0
- ;* ZERO A6
- ;*
- ;* SINGLE SCHEDULED ITERATION
- ;*
- ;* C69:
- ;* 0 LDB .D1T1 *++A3,A0 ; |175| ^
- ;* 1 NOP 3
- ;* 4 ADD .L1 1,A5,A5 ; |175| ^
- ;* 5 [ B0] MV .S1 A5,A6 ; |175| ^
- ;* || [!A0] ZERO .D2 B0 ; ^
- ;* 6 [ B0] B .S2 C69 ; |175|
- ;* 7 NOP 5
- ;* ; BRANCH OCCURS ; |175|
- ;*
- ;* RESTORE CODE
- ;*
- ;* MV A6,A5
- ;*----------------------------------------------------------------------------*
- L5: ; PIPED LOOP PROLOG
- LDB .D1T1 *++A3,A0 ; |175| (P) <1,0> ^
- LDB .D1T1 *++A3,A0 ; |175| (P) <2,0> ^
- ZERO .S1 A6
- || LDB .D1T1 *++A3,A0 ; |175| (P) <3,0> ^
- MVK .D2 0x1,B0
- || SUB .S1 A7,1,A7 ; |173|
- || ADD .L1 1,A5,A5 ; |175| (P) <0,4> ^
- || LDB .D1T1 *++A3,A0 ; |175| (P) <4,0> ^
- [!A0] ZERO .D2 B0 ; (P) <0,5> ^
- || [ B0] MV .S1 A5,A6 ; |175| (P) <0,5> ^
- || ADD .L1 1,A5,A5 ; |175| (P) <1,4> ^
- || LDB .D1T1 *++A3,A0 ; |175| (P) <5,0> ^
- [ B0] B .S2 L6 ; |175| (P) <0,6>
- || [!A0] ZERO .D2 B0 ; (P) <1,5> ^
- || [ B0] MV .S1 A5,A6 ; |175| (P) <1,5> ^
- || ADD .L1 1,A5,A5 ; |175| (P) <2,4> ^
- || LDB .D1T1 *++A3,A0 ; |175| (P) <6,0> ^
- [!A0] ZERO .D2 B0 ; (P) <2,5> ^
- || [ B0] MV .S1 A5,A6 ; |175| (P) <2,5> ^
- || ADD .L1 1,A5,A5 ; |175| (P) <3,4> ^
- || LDB .D1T1 *++A3,A0 ; |175| (P) <7,0> ^
- || [ B0] B .S2 L6 ; |175| (P) <1,6>
- [ B0] B .S2 L6 ; |175| (P) <2,6>
- || [!A0] ZERO .D2 B0 ; (P) <3,5> ^
- || [ B0] MV .S1 A5,A6 ; |175| (P) <3,5> ^
- || ADD .L1 1,A5,A5 ; |175| (P) <4,4> ^
- || LDB .D1T1 *++A3,A0 ; |175| (P) <8,0> ^
- [!A0] ZERO .D2 B0 ; (P) <4,5> ^
- || [ B0] MV .S1 A5,A6 ; |175| (P) <4,5> ^
- || ADD .L1 1,A5,A5 ; |175| (P) <5,4> ^
- || LDB .D1T1 *++A3,A0 ; |175| (P) <9,0> ^
- || [ B0] B .S2 L6 ; |175| (P) <3,6>
- [ B0] B .S2 L6 ; |175| (P) <4,6>
- || [!A0] ZERO .D2 B0 ; (P) <5,5> ^
- || [ B0] MV .S1 A5,A6 ; |175| (P) <5,5> ^
- || ADD .L1 1,A5,A5 ; |175| (P) <6,4> ^
- || LDB .D1T1 *++A3,A0 ; |175| (P) <10,0> ^
- ;** --------------------------------------------------------------------------*
- L6: ; PIPED LOOP KERNEL
- [ B0] B .S2 L6 ; |175| <5,6>
- || [!A0] ZERO .D2 B0 ; <6,5> ^
- || [ B0] MV .S1 A5,A6 ; |175| <6,5> ^
- || ADD .L1 1,A5,A5 ; |175| <7,4> ^
- || LDB .D1T1 *++A3,A0 ; |175| <11,0> ^
- ;** --------------------------------------------------------------------------*
- L7: ; PIPED LOOP EPILOG
- ;** --------------------------------------------------------------------------*
- MV .D1 A8,A5 ; |172|
- || MV .L1 A7,A3 ; |173|
- || MVK .S1 0x40,A7 ; |176|
- NOP 2
- MVC .S2 B4,CSR ; interrupts on
- CMPLTU .L1 A6,A7,A0 ; |176|
- [!A0] BNOP .S2 L18,2 ; |176|
- [!A0] MVKL .S1 _printf,A3 ; |81|
- [!A0] MVKH .S1 _printf,A3 ; |81|
- NOP 1
- ; BRANCH OCCURS ; |176|
- ;** --------------------------------------------------------------------------*
- MVC .S2 CSR,B4
- AND .D2 -2,B4,B5
- LDB .D1T1 *++A3,A0 ; |175| (P) <0,0> ^
- || MVC .S2 B5,CSR ; interrupts off
- ;*----------------------------------------------------------------------------*
- ;* SOFTWARE PIPELINE INFORMATION
- ;*
- ;* Loop source line : 175
- ;* Loop opening brace source line : 175
- ;* Loop closing brace source line : 175
- ;* Known Minimum Trip Count : 1
- ;* Known Max Trip Count Factor : 1
- ;* Loop Carried Dependency Bound(^) : 1
- ;* Unpartitioned Resource Bound : 1
- ;* Partitioned Resource Bound(*) : 1
- ;* Resource Partition:
- ;* A-side B-side
- ;* .L units 0 0
- ;* .S units 0 1*
- ;* .D units 1* 0
- ;* .M units 0 0
- ;* .X cross paths 0 0
- ;* .T address paths 1* 0
- ;* Long read paths 0 0
- ;* Long write paths 0 0
- ;* Logical ops (.LS) 0 0 (.L or .S unit)
- ;* Addition ops (.LSD) 2 1 (.L or .S or .D unit)
- ;* Bound(.L .S .LS) 0 1*
- ;* Bound(.L .S .D .LS .LSD) 1* 1*
- ;*
- ;* Searching for software pipeline schedule at ...
- ;* ii = 1 Schedule found with 12 iterations in parallel
- ;*
- ;* Register Usage Table:
- ;* +-----------------------------------------------------------------+
- ;* |AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA|BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB|
- ;* |00000000001111111111222222222233|00000000001111111111222222222233|
- ;* |01234567890123456789012345678901|01234567890123456789012345678901|
- ;* |--------------------------------+--------------------------------|
- ;* 0: |* * ** |* |
- ;* +-----------------------------------------------------------------+
- ;*
- ;* Done
- ;*
- ;* Collapsed epilog stages : 11
- ;* Prolog not removed
- ;* Collapsed prolog stages : 0
- ;*
- ;* Minimum required memory pad : 11 bytes
- ;* Minimum threshold value : -mh14
- ;*
- ;* Minimum safe trip count : 1
- ;*----------------------------------------------------------------------------*
- ;* SETUP CODE
- ;*
- ;* MVK 0x1,B0
- ;* ZERO A6
- ;*
- ;* SINGLE SCHEDULED ITERATION
- ;*
- ;* C47:
- ;* 0 LDB .D1T1 *++A3,A0 ; |175| ^
- ;* 1 NOP 3
- ;* 4 ADD .L1 1,A5,A5 ; |175| ^
- ;* 5 [ B0] MV .S1 A5,A6 ; |175| ^
- ;* || [!A0] ZERO .D2 B0 ; ^
- ;* 6 [ B0] B .S2 C47 ; |175|
- ;* 7 NOP 5
- ;* ; BRANCH OCCURS ; |175|
- ;*
- ;* RESTORE CODE
- ;*
- ;* MV A6,A5
- ;*----------------------------------------------------------------------------*
- L8: ; PIPED LOOP PROLOG
- LDB .D1T1 *++A3,A0 ; |175| (P) <1,0> ^
- LDB .D1T1 *++A3,A0 ; |175| (P) <2,0> ^
- LDB .D1T1 *++A3,A0 ; |175| (P) <3,0> ^
- MVK .D2 0x1,B0
- || ZERO .S1 A6
- || ADD .L1 1,A5,A5 ; |175| (P) <0,4> ^
- || LDB .D1T1 *++A3,A0 ; |175| (P) <4,0> ^
- [!A0] ZERO .D2 B0 ; (P) <0,5> ^
- || [ B0] MV .S1 A5,A6 ; |175| (P) <0,5> ^
- || ADD .L1 1,A5,A5 ; |175| (P) <1,4> ^
- || LDB .D1T1 *++A3,A0 ; |175| (P) <5,0> ^
- [ B0] B .S2 L9 ; |175| (P) <0,6>
- || [!A0] ZERO .D2 B0 ; (P) <1,5> ^
- || [ B0] MV .S1 A5,A6 ; |175| (P) <1,5> ^
- || ADD .L1 1,A5,A5 ; |175| (P) <2,4> ^
- || LDB .D1T1 *++A3,A0 ; |175| (P) <6,0> ^
- [!A0] ZERO .D2 B0 ; (P) <2,5> ^
- || [ B0] MV .S1 A5,A6 ; |175| (P) <2,5> ^
- || ADD .L1 1,A5,A5 ; |175| (P) <3,4> ^
- || LDB .D1T1 *++A3,A0 ; |175| (P) <7,0> ^
- || [ B0] B .S2 L9 ; |175| (P) <1,6>
- [ B0] B .S2 L9 ; |175| (P) <2,6>
- || [!A0] ZERO .D2 B0 ; (P) <3,5> ^
- || [ B0] MV .S1 A5,A6 ; |175| (P) <3,5> ^
- || ADD .L1 1,A5,A5 ; |175| (P) <4,4> ^
- || LDB .D1T1 *++A3,A0 ; |175| (P) <8,0> ^
- [!A0] ZERO .D2 B0 ; (P) <4,5> ^
- || [ B0] MV .S1 A5,A6 ; |175| (P) <4,5> ^
- || ADD .L1 1,A5,A5 ; |175| (P) <5,4> ^
- || LDB .D1T1 *++A3,A0 ; |175| (P) <9,0> ^
- || [ B0] B .S2 L9 ; |175| (P) <3,6>
- [ B0] B .S2 L9 ; |175| (P) <4,6>
- || [!A0] ZERO .D2 B0 ; (P) <5,5> ^
- || [ B0] MV .S1 A5,A6 ; |175| (P) <5,5> ^
- || ADD .L1 1,A5,A5 ; |175| (P) <6,4> ^
- || LDB .D1T1 *++A3,A0 ; |175| (P) <10,0> ^
- ;** --------------------------------------------------------------------------*
- L9: ; PIPED LOOP KERNEL
- [ B0] B .S2 L9 ; |175| <5,6>
- || [!A0] ZERO .D2 B0 ; <6,5> ^
- || [ B0] MV .S1 A5,A6 ; |175| <6,5> ^
- || ADD .L1 1,A5,A5 ; |175| <7,4> ^
- || LDB .D1T1 *++A3,A0 ; |175| <11,0> ^
- ;** --------------------------------------------------------------------------*
- L10: ; PIPED LOOP EPILOG
- MVK .D1 0xc,A6 ; |176|
- || ZERO .D2 B6 ; |176|
- || MV .L1 A6,A8
- || MVKL .S1 _CfgAddEntry,A3 ; |176|
- ZERO .D1 A10 ; |176|
- || MVKH .S1 _CfgAddEntry,A3 ; |176|
- NOP 1
- MVC .S2 B4,CSR ; interrupts on
- MVKL .S2 _HostName,B4 ; |176|
- MVKH .S2 _HostName,B4 ; |176|
- MVK .L2 0x7,B4 ; |176|
- || LDW .D2T2 *B4,B8 ; |176|
- || CALL .S2X A3 ; |176|
- ADDKPC .S2 RL6,B3,4 ; |176|
- RL6: ; CALL OCCURS ; |176|
- NOP 1
- MVKL .S1 _LocalIPAddr,A3 ; |90|
- || MVKL .S2 _inet_addr,B4 ; |90|
- MVKH .S1 _LocalIPAddr,A3 ; |90|
- || MVKH .S2 _inet_addr,B4 ; |90|
- LDW .D1T1 *A3,A4 ; |90|
- || CALL .S2 B4 ; |90|
- ADDKPC .S2 RL7,B3,4 ; |90|
- RL7: ; CALL OCCURS ; |90|
- ;** --------------------------------------------------------------------------*
- MVKL .S1 _LocalIPAddr,A14 ; |98|
- || MVKL .S2 _inet_addr,B13 ; |98|
- || ADDAW .D2 SP,13,B7 ; |97|
- || MV .D1 A4,A0 ; |90|
- MVKH .S2 _inet_addr,B13 ; |98|
- || MVKL .S1 _LocalIPMask,A13 ; |99|
- MVKL .S2 _ServiceReport,B4 ; |134|
- || MV .D1X B7,A4 ; |97|
- || MVK .S1 148,A3 ; |131|
- MVKH .S1 _LocalIPMask,A13 ; |99|
- || ADD .D1X A3,SP,A3 ; |131|
- || MVKL .S2 _mmZeroInit,B8 ; |131|
- MVKH .S1 _LocalIPAddr,A14 ; |98|
- || MVKH .S2 _mmZeroInit,B8 ; |131|
- MVKH .S2 _ServiceReport,B4 ; |134|
- MVKL .S2 _CfgAddEntry,B12 ; |135|
- MVK .S2 0x50,B4 ; |97|
- || MV .D1X B4,A12 ; |134|
- MVKH .S2 _CfgAddEntry,B12 ; |135|
- MVKL .S2 _DomainName,B11 ; |184|
- [!A0] B .S2 L15 ; |90|
- MVKL .S2 _mmZeroInit,B5 ; |97|
- MVKL .S2 _inet_addr,B10 ; |99|
- MVKH .S2 _mmZeroInit,B5 ; |97|
- MVKH .S2 _DomainName,B11 ; |184|
- MVKH .S2 _inet_addr,B10 ; |99|
- ; BRANCH OCCURS ; |90|
- ;** --------------------------------------------------------------------------*
- CALL .S2 B5 ; |97|
- ADDKPC .S2 RL8,B3,4 ; |97|
- RL8: ; CALL OCCURS ; |97|
- CALL .S2 B13 ; |98|
- LDW .D1T1 *A14,A4 ; |98|
- ADDKPC .S2 RL9,B3,3 ; |98|
- RL9: ; CALL OCCURS ; |98|
- CALL .S2 B10 ; |99|
- LDW .D1T1 *A13,A4 ; |99|
- || MV .S1 A4,A3 ; |98|
- ADDKPC .S2 RL10,B3,0 ; |99|
- STW .D2T1 A3,*+SP(56) ; |98|
- NOP 2
- RL10: ; CALL OCCURS ; |99|
- LDW .D2T2 *B11,B5 ; |184|
- NOP 1
- STW .D2T1 A4,*+SP(60) ; |99|
- MVK .S2 67,B4 ; |183|
- ADD .D2 B4,SP,B4 ; |183|
- LDB .D2T2 *B5,B0 ; |186|
- NOP 4
- [!B0] BNOP .S1 L14,2 ; |186|
- [!B0] MVKL .S1 _CfgAddEntry,A3 ; |104|
- STB .D2T2 B0,*++B4 ; |186|
- NOP 1
- ; BRANCH OCCURS ; |186|
- ;** --------------------------------------------------------------------------*
- MVC .S2 CSR,B6
- LDB .D2T2 *++B5,B0 ; |186| (P) <0,0> ^
- || AND .S2 -2,B6,B7
- MVC .S2 B7,CSR ; interrupts off
- ;*----------------------------------------------------------------------------*
- ;* SOFTWARE PIPELINE INFORMATION
- ;*
- ;* Loop source line : 186
- ;* Loop closing brace source line : 186
- ;* Known Minimum Trip Count : 1
- ;* Known Max Trip Count Factor : 1
- ;* Loop Carried Dependency Bound(^) : 1
- ;* Unpartitioned Resource Bound : 1
- ;* Partitioned Resource Bound(*) : 2
- ;* Resource Partition:
- ;* A-side B-side
- ;* .L units 0 0
- ;* .S units 1 0
- ;* .D units 0 2*
- ;* .M units 0 0
- ;* .X cross paths 0 0
- ;* .T address paths 0 2*
- ;* Long read paths 0 0
- ;* Long write paths 0 0
- ;* Logical ops (.LS) 0 0 (.L or .S unit)
- ;* Addition ops (.LSD) 1 0 (.L or .S or .D unit)
- ;* Bound(.L .S .LS) 1 0
- ;* Bound(.L .S .D .LS .LSD) 1 1
- ;*
- ;* Searching for software pipeline schedule at ...
- ;* ii = 2 Schedule found with 6 iterations in parallel
- ;*
- ;* Register Usage Table:
- ;* +-----------------------------------------------------------------+
- ;* |AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA|BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB|
- ;* |00000000001111111111222222222233|00000000001111111111222222222233|
- ;* |01234567890123456789012345678901|01234567890123456789012345678901|
- ;* |--------------------------------+--------------------------------|
- ;* 0: |* | ** |
- ;* 1: |* |* ** |
- ;* +-----------------------------------------------------------------+
- ;*
- ;* Done
- ;*
- ;* Collapsed epilog stages : 5
- ;* Prolog not removed
- ;* Collapsed prolog stages : 0
- ;*
- ;* Minimum required memory pad : 5 bytes
- ;* Minimum threshold value : -mh14
- ;*
- ;* Minimum safe trip count : 1
- ;*----------------------------------------------------------------------------*
- ;* SETUP CODE
- ;*
- ;* MVK 0x1,A0
- ;*
- ;* SINGLE SCHEDULED ITERATION
- ;*
- ;* C34:
- ;* 0 LDB .D2T2 *++B5,B0 ; |186| ^
- ;* 1 NOP 4
- ;* 5 [ A0] STB .D2T2 B0,*++B4 ; |186| ^
- ;* || [!B0] ZERO .D1 A0 ; ^
- ;* 6 [ A0] B .S1 C34 ; |186|
- ;* 7 NOP 5
- ;* ; BRANCH OCCURS ; |186|
- ;*----------------------------------------------------------------------------*
- L11: ; PIPED LOOP PROLOG
- LDB .D2T2 *++B5,B0 ; |186| (P) <1,0> ^
- NOP 1
- MVK .D1 0x1,A0
- || LDB .D2T2 *++B5,B0 ; |186| (P) <2,0> ^
- [!B0] ZERO .D1 A0 ; (P) <0,5> ^
- || [ A0] STB .D2T2 B0,*++B4 ; |186| (P) <0,5> ^
- LDB .D2T2 *++B5,B0 ; |186| (P) <3,0> ^
- || [ A0] B .S1 L12 ; |186| (P) <0,6>
- [!B0] ZERO .D1 A0 ; (P) <1,5> ^
- || [ A0] STB .D2T2 B0,*++B4 ; |186| (P) <1,5> ^
- [ A0] B .S1 L12 ; |186| (P) <1,6>
- || LDB .D2T2 *++B5,B0 ; |186| (P) <4,0> ^
- [!B0] ZERO .D1 A0 ; (P) <2,5> ^
- || [ A0] STB .D2T2 B0,*++B4 ; |186| (P) <2,5> ^
- ;** --------------------------------------------------------------------------*
- L12: ; PIPED LOOP KERNEL
- [ A0] B .S1 L12 ; |186| <2,6>
- || LDB .D2T2 *++B5,B0 ; |186| <5,0> ^
- [!B0] ZERO .D1 A0 ; <3,5> ^
- || [ A0] STB .D2T2 B0,*++B4 ; |186| <3,5> ^
- ;** --------------------------------------------------------------------------*
- L13: ; PIPED LOOP EPILOG
- ;** --------------------------------------------------------------------------*
- NOP 2
- MVC .S2 B6,CSR ; interrupts on
- MVKL .S1 _CfgAddEntry,A3 ; |104|
- ;** --------------------------------------------------------------------------*
- L14:
- MVKH .S1 _CfgAddEntry,A3 ; |104|
- MVK .S2 0x4,B4 ; |104|
- CALL .S2X A3 ; |104|
- ADDAW .D2 SP,13,B8 ; |104|
- ADDKPC .S2 RL11,B3,0 ; |104|
- MV .D1 A11,A4 ; |104|
- ZERO .L2 B10 ; |101|
- STW .D2T2 B10,*+SP(52) ; |101|
- || MVK .S1 0x50,A8 ; |104|
- || ZERO .L2 B6 ; |104|
- || MVK .L1 0x1,A6 ; |104|
- RL11: ; CALL OCCURS ; |104|
- MVKL .S2 _mmZeroInit,B5 ; |110|
- MVKH .S2 _mmZeroInit,B5 ; |110|
- CALL .S2 B5 ; |110|
- MVK .S2 0x10,B4 ; |110|
- MVK .S1 132,A3 ; |110|
- ADDKPC .S2 RL12,B3,1 ; |110|
- ADD .D1X A3,SP,A4 ; |110|
- RL12: ; CALL OCCURS ; |110|
- MVKL .S1 _inet_addr,A3 ; |113|
- MVKL .S2 _GatewayIP,B4 ; |113|
- || MVKH .S1 _inet_addr,A3 ; |113|
- MVKH .S2 _GatewayIP,B4 ; |113|
- CALL .S2X A3 ; |113|
- LDW .D2T1 *B4,A4 ; |113|
- STW .D2T2 B10,*+SP(132) ; |111|
- ADDKPC .S2 RL13,B3,0 ; |113|
- STW .D2T2 B10,*+SP(136) ; |112|
- NOP 1
- RL13: ; CALL OCCURS ; |113|
- MVKL .S1 _CfgAddEntry,A3 ; |116|
- MVKH .S1 _CfgAddEntry,A3 ; |116|
- MV .D1 A4,A5 ; |113|
- CALL .S2X A3 ; |116|
- ZERO .L2 B6 ; |116|
- MVK .S2 132,B5 ; |116|
- STW .D2T1 A5,*+SP(140) ; |113|
- ADDKPC .S2 RL14,B3,0 ; |116|
- MV .D1 A11,A4 ; |116|
- || MVK .D2 0x5,B4 ; |116|
- || ADD .L2 B5,SP,B8 ; |116|
- || MVK .S1 0x10,A8 ; |116|
- || ZERO .L1 A6 ; |116|
- RL14: ; CALL OCCURS ; |116|
- MVKL .S2 _inet_addr,B4 ; |120|
- MVKL .S1 _DNSServer,A3 ; |120|
- || MVKH .S2 _inet_addr,B4 ; |120|
- CALL .S2 B4 ; |120|
- || MVKH .S1 _DNSServer,A3 ; |120|
- LDW .D1T1 *A3,A4 ; |120|
- ADDKPC .S2 RL15,B3,3 ; |120|
- RL15: ; CALL OCCURS ; |120|
- MV .D1 A4,A0 ; |120|
- [!A0] B .S1 L16 ; |121|
- ADD .L2 12,SP,B8 ; |122|
- || MVKL .S2 _CfgAddEntry,B5 ; |122|
- || STW .D2T1 A0,*+SP(12) ; |121|
- MVK .D2 0x7,B4 ; |122|
- || MVKH .S2 _CfgAddEntry,B5 ; |122|
- || MVK .D1 0x6,A6 ; |122|
- || ZERO .L2 B6 ; |122|
- || MVK .S1 0x4,A8 ; |122|
- || MV .L1 A11,A4 ; |120|
- [!A0] MVKL .S1 _AddWebFiles,A3 ; |140|
- [!A0] MVKH .S1 _AddWebFiles,A3 ; |140|
- NOP 1
- ; BRANCH OCCURS ; |121|
- ;** --------------------------------------------------------------------------*
- CALL .S2 B5 ; |122|
- ADDKPC .S2 RL16,B3,4 ; |122|
- RL16: ; CALL OCCURS ; |122|
- BNOP .S1 L16,2 ; |122|
- MVKL .S1 _AddWebFiles,A3 ; |140|
- MVKH .S1 _AddWebFiles,A3 ; |140|
- NOP 1
- ; BRANCH OCCURS ; |122|
- ;** --------------------------------------------------------------------------*
- L15:
- CALL .S2 B8 ; |131|
- MVK .S2 0x28,B4 ; |131|
- ADDKPC .S2 RL17,B3,2 ; |131|
- MV .D1 A3,A4 ; |131|
- RL17: ; CALL OCCURS ; |131|
- CALL .S2 B12 ; |135|
- MVK .D2 0x1,B7 ; |132|
- MVK .S2 148,B5 ; |135|
- ZERO .L2 B6 ; |135|
- || MVK .S2 0x1,B4 ; |132|
- || STW .D2T2 B7,*+SP(156) ; |132|
- MV .S2X A12,B4 ; |133|
- || ADD .L2 B5,SP,B8 ; |135|
- || STW .D2T2 B4,*+SP(168) ; |133|
- MVK .L1 0x5,A6 ; |135|
- || MVK .S1 0x28,A8 ; |135|
- || MV .D1 A11,A4 ; |131|
- || MVK .L2 0x3,B4 ; |135|
- || STW .D2T2 B4,*+SP(176) ; |134|
- || ADDKPC .S2 RL18,B3,0 ; |135|
- RL18: ; CALL OCCURS ; |135|
- MVKL .S1 _AddWebFiles,A3 ; |140|
- MVKH .S1 _AddWebFiles,A3 ; |140|
- NOP 1
- ;** --------------------------------------------------------------------------*
- L16:
- CALL .S2X A3 ; |140|
- ADDKPC .S2 RL19,B3,4 ; |140|
- RL19: ; CALL OCCURS ; |140|
- MVKL .S1 _mmZeroInit,A3 ; |143|
- MVKH .S1 _mmZeroInit,A3 ; |143|
- ADD .D2 SP,20,B5 ; |143|
- CALL .S2X A3 ; |143|
- MVK .S2 0x20,B4 ; |143|
- ADDKPC .S2 RL20,B3,2 ; |143|
- MV .D1X B5,A4 ; |143|
- RL20: ; CALL OCCURS ; |143|
- MVKL .S2 _CfgAddEntry,B5 ; |146|
- MVKH .S2 _CfgAddEntry,B5 ; |146|
- CALL .S2 B5 ; |146|
- MVKL .S1 _ServiceReport,A3 ; |145|
- MVKH .S1 _ServiceReport,A3 ; |145|
- ADD .D2 SP,20,B8 ; |146|
- ZERO .L2 B6 ; |146|
- || ZERO .S2 B4 ; |144|
- || STW .D2T1 A3,*+SP(48) ; |145|
- MVK .L1 0x2,A6 ; |146|
- || MVK .S1 0x20,A8 ; |146|
- || MV .D1 A11,A4 ; |144|
- || MVK .L2 0x3,B4 ; |146|
- || STW .D2T2 B4,*+SP(44) ; |144|
- || ADDKPC .S2 RL21,B3,0 ; |146|
- RL21: ; CALL OCCURS ; |146|
- MVKL .S1 _CfgAddEntry,A3 ; |155|
- MVKH .S1 _CfgAddEntry,A3 ; |155|
- ADD .D2 SP,16,B8 ; |155|
- CALL .S2X A3 ; |155|
- MV .L1 A11,A4 ; |154|
- MVK .S1 0x1,A6 ; |155|
- MVK .S2 2,B4 ; |154|
- STW .D2T2 B4,*+SP(16) ; |154|
- MVK .L2 0x1,B4 ; |155|
- || MVK .D2 0x1,B6 ; |155|
- || MVK .D1 0x4,A8 ; |155|
- || ADDKPC .S2 RL22,B3,0 ; |155|
- RL22: ; CALL OCCURS ; |155|
- MVKL .S2 _CfgAddEntry,B5 ; |160|
- MVKH .S2 _CfgAddEntry,B5 ; |160|
- CALL .S2 B5 ; |160|
- MVK .S2 0x1,B6 ; |160|
- MVK .S1 0x19,A6 ; |160|
- MVK .S2 8760,B4 ; |159|
- STW .D2T2 B4,*+SP(16) ; |159|
- MVK .L1 0x4,A8 ; |160|
- || MVK .L2 0x2,B4 ; |160|
- || MV .D1 A11,A4 ; |159|
- || ADD .D2 SP,16,B8 ; |160|
- || ADDKPC .S2 RL23,B3,0 ; |160|
- RL23: ; CALL OCCURS ; |160|
- MVKL .S2 _NetworkOpen,B10
- MVKL .S2 _NetworkIPAddr,B11
- MVKL .S1 _NetworkClose,A10
- || MVKH .S2 _NetworkOpen,B10
- MVKH .S1 _NetworkClose,A10
- || MVKH .S2 _NetworkIPAddr,B11
- MVKL .S2 _NC_NetStart,B5 ; |171|
- MVKH .S2 _NC_NetStart,B5 ; |171|
- ;*----------------------------------------------------------------------------*
- ;* SOFTWARE PIPELINE INFORMATION
- ;* Disqualified loop: Loop contains a call
- ;*----------------------------------------------------------------------------*
- L17:
- CALL .S2 B5 ; |171|
- ADDKPC .S2 RL24,B3,0 ; |171|
- MV .D2 B11,B6 ; |171|
- MV .L2 B10,B4 ; |171|
- MV .D1 A11,A4 ; |171|
- MV .S1 A10,A6 ; |171|
- RL24: ; CALL OCCURS ; |171|
- CMPGT .L1 A4,0,A0 ; |172|
- [ A0] BNOP .S1 L17,1 ; |172|
- STW .D2T1 A4,*+SP(16) ; |172|
- || [ A0] MVKL .S2 _NC_NetStart,B5 ; |171|
- [ A0] MVKH .S2 _NC_NetStart,B5 ; |171|
- [!A0] MVKL .S2 _RemoveWebFiles,B4 ; |175|
- [!A0] MVKH .S2 _RemoveWebFiles,B4 ; |175|
- ; BRANCH OCCURS ; |172|
- ;** --------------------------------------------------------------------------*
- CALL .S2 B4 ; |175|
- ADDKPC .S2 RL25,B3,4 ; |175|
- RL25: ; CALL OCCURS ; |175|
- MVKL .S1 _CfgFree,A3 ; |178|
- MVKH .S1 _CfgFree,A3 ; |178|
- MV .D1 A11,A4 ; |178|
- CALL .S2X A3 ; |178|
- ADDKPC .S2 RL26,B3,4 ; |178|
- RL26: ; CALL OCCURS ; |178|
- BNOP .S1 L19,2 ; |178|
- MVKL .S1 _NC_SystemClose,A3 ; |182|
- MVKH .S1 _NC_SystemClose,A3 ; |182|
- NOP 1
- ; BRANCH OCCURS ; |178|
- ;** --------------------------------------------------------------------------*
- L18:
- CALL .S2X A3 ; |81|
- ADDKPC .S2 RL27,B3,1 ; |81|
- MVKL .S2 SL25+0,B4 ; |81|
- MVKH .S2 SL25+0,B4 ; |81|
- STW .D2T2 B4,*+SP(4) ; |81|
- RL27: ; CALL OCCURS ; |81|
- MVKL .S1 _NC_SystemClose,A3 ; |182|
- MVKH .S1 _NC_SystemClose,A3 ; |182|
- NOP 1
- ;** --------------------------------------------------------------------------*
- L19:
- CALL .S2X A3 ; |182|
- ADDKPC .S2 RL28,B3,4 ; |182|
- RL28: ; CALL OCCURS ; |182|
- LDW .D2T2 *+SP(188),B3 ; |183|
- LDW .D2T1 *+SP(224),A14 ; |183|
- LDDW .D2T2 *+SP(208),B11:B10 ; |183|
- LDDW .D2T1 *+SP(200),A13:A12 ; |183|
- LDDW .D2T2 *+SP(216),B13:B12 ; |183|
- RET .S2 B3 ; |183|
- LDDW .D2T1 *+SP(192),A11:A10 ; |183|
- NOP 3
- ADDK .S2 224,SP ; |183|
- ; BRANCH OCCURS ; |183|
- .sect ".text"
- ;******************************************************************************
- ;* FUNCTION NAME: _ServiceReport *
- ;* *
- ;* Regs Modified : A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,B0,B1,B2,B3,B4,B5, *
- ;* B6,B7,B8,B9,B10,B11,B13,SP,A16,A17,A18,A19,A20, *
- ;* A21,A22,A23,A24,A25,A26,A27,A28,A29,A30,A31,B16, *
- ;* B17,B18,B19,B20,B21,B22,B23,B24,B25,B26,B27,B28, *
- ;* B29,B30,B31 *
- ;* Regs Used : A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,B0,B1,B2,B3,B4,B5, *
- ;* B6,B7,B8,B9,B10,B11,B13,SP,A16,A17,A18,A19,A20, *
- ;* A21,A22,A23,A24,A25,A26,A27,A28,A29,A30,A31,B16, *
- ;* B17,B18,B19,B20,B21,B22,B23,B24,B25,B26,B27,B28, *
- ;* B29,B30,B31 *
- ;* Local Frame Size : 24 Args + 4 Auto + 16 Save = 44 byte *
- ;******************************************************************************
- _ServiceReport:
- ;** --------------------------------------------------------------------------*
- MVKL .S2 _TaskName,B5 ; |251|
- MVKL .S2 0x3fffffc,B6 ; |251|
- MVKL .S1 _ReportStr,A5 ; |251|
- || SHL .S2X A4,2,B7 ; |251|
- MVKL .S1 _StatusStr,A6 ; |251|
- || MVKH .S2 _TaskName,B5 ; |251|
- || MV .D1 A6,A10 ; |250|
- || STW .D2T1 A10,*SP--(48) ; |250|
- MVKH .S1 _ReportStr,A5 ; |251|
- || MVKH .S2 0x3fffffc,B6 ; |251|
- || SUB .D2 B7,4,B7 ; |251|
- ADD .D2 B5,B7,B5 ; |251|
- || SHRU .S1 A10,6,A7 ; |251|
- || MV .D1X B4,A3 ; |250|
- LDW .D2T2 *B5,B5 ; |251|
- || AND .D1X B6,A7,A7 ; |251|
- || MVKH .S1 _StatusStr,A6 ; |251|
- LDW .D1T1 *+A6[A3],A5 ; |251|
- || ADD .S1 A5,A7,A3 ; |251|
- MVKL .S1 SL26+0,A3 ; |251|
- || LDW .D1T1 *A3,A6 ; |251|
- || STDW .D2T2 B11:B10,*+SP(40) ; |250|
- MVKH .S1 SL26+0,A3 ; |251|
- || STW .D2T2 B13,*+SP(36) ; |250|
- STW .D2T1 A3,*+SP(4) ; |251|
- MVKL .S2 _printf,B5 ; |251|
- || STW .D2T2 B5,*+SP(8) ; |251|
- MVKH .S2 _printf,B5 ; |251|
- CALL .S2 B5 ; |251|
- STW .D2T1 A5,*+SP(12) ; |251|
- CMPEQ .L2X A4,5,B11 ; |261|
- STW .D2T1 A6,*+SP(16) ; |251|
- EXTU .S1 A10,24,24,A3 ; |251|
- || CMPEQ .L2 B4,4,B10 ; |261|
- ADDKPC .S2 RL29,B3,0 ; |251|
- || STW .D2T1 A3,*+SP(20) ; |251|
- || MV .L2 B3,B13 ; |250|
- RL29: ; CALL OCCURS ; |251|
- MVK .S1 273,A3 ; |261|
- CMPEQ .L1 A10,A3,A3 ; |261|
- || MVK .S2 275,B4 ; |261|
- CMPEQ .L2X A10,B4,B4 ; |261|
- OR .D2X B4,A3,B5 ; |261|
- || AND .S2 B10,B11,B6 ; |261|
- AND .D2 B5,B6,B0 ; |261|
- [!B0] BNOP .S1 L20,3 ; |261|
- MVKL .S1 _DNSServer,A3 ; |269|
- || MVKL .S2 _inet_addr,B4 ; |269|
- MVKH .S1 _DNSServer,A3 ; |269|
- || MVKH .S2 _inet_addr,B4 ; |269|
- || [!B0] LDDW .D2T2 *+SP(40),B11:B10 ; |274|
- || [!B0] MV .L2 B13,B3 ; |274|
- ; BRANCH OCCURS ; |261|
- ;** --------------------------------------------------------------------------*
- CALL .S2 B4 ; |269|
- LDW .D1T1 *A3,A4 ; |269|
- ADDKPC .S2 RL30,B3,3 ; |269|
- RL30: ; CALL OCCURS ; |269|
- MV .D1 A4,A0 ; |269|
- [!A0] BNOP .S1 L20,2 ; |270|
- ADD .D2 SP,28,B8 ; |271|
- || ZERO .L2 B6 ; |271|
- || MVK .D1 0x6,A6 ; |271|
- || MVKL .S2 _CfgAddEntry,B5 ; |271|
- STW .D2T1 A0,*+SP(28) ; |269|
- || ZERO .D1 A4 ; |271|
- || MVKH .S2 _CfgAddEntry,B5 ; |271|
- || MVK .L2 0x7,B4 ; |271|
- || MVK .S1 0x4,A8 ; |271|
- || ZERO .L1 A10 ; |271|
- [!A0] LDDW .D2T2 *+SP(40),B11:B10 ; |274|
- || [!A0] MV .S2 B13,B3 ; |274|
- ; BRANCH OCCURS ; |270|
- ;** --------------------------------------------------------------------------*
- CALL .S2 B5 ; |271|
- ADDKPC .S2 RL31,B3,4 ; |271|
- RL31: ; CALL OCCURS ; |271|
- LDDW .D2T2 *+SP(40),B11:B10 ; |274|
- || MV .S2 B13,B3 ; |274|
- ;** --------------------------------------------------------------------------*
- L20:
- RET .S2 B3 ; |274|
- || LDW .D2T2 *+SP(36),B13 ; |274|
- LDW .D2T1 *++SP(48),A10 ; |274|
- NOP 4
- ; BRANCH OCCURS ; |274|
- .sect ".text"
- ;******************************************************************************
- ;* FUNCTION NAME: _NetworkOpen *
- ;* *
- ;* Regs Modified : *
- ;* Regs Used : B3 *
- ;* Local Frame Size : 0 Args + 0 Auto + 0 Save = 0 byte *
- ;******************************************************************************
- _NetworkOpen:
- ;** --------------------------------------------------------------------------*
- RETNOP .S2 B3,5 ; |196|
- ; BRANCH OCCURS ; |196|
- .sect ".text"
- ;******************************************************************************
- ;* FUNCTION NAME: _NetworkIPAddr *
- ;* *
- ;* Regs Modified : A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,B0,B1,B2,B3,B4,B5, *
- ;* B6,B7,B8,B9,B10,B11,B13,SP,A16,A17,A18,A19,A20, *
- ;* A21,A22,A23,A24,A25,A26,A27,A28,A29,A30,A31,B16, *
- ;* B17,B18,B19,B20,B21,B22,B23,B24,B25,B26,B27,B28, *
- ;* B29,B30,B31 *
- ;* Regs Used : A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,B0,B1,B2,B3,B4,B5, *
- ;* B6,B7,B8,B9,B10,B11,B13,SP,A16,A17,A18,A19,A20, *
- ;* A21,A22,A23,A24,A25,A26,A27,A28,A29,A30,A31,B16, *
- ;* B17,B18,B19,B20,B21,B22,B23,B24,B25,B26,B27,B28, *
- ;* B29,B30,B31 *
- ;* Local Frame Size : 24 Args + 0 Auto + 16 Save = 40 byte *
- ;******************************************************************************
- _NetworkIPAddr:
- ;** --------------------------------------------------------------------------*
- MVKL .S2 _printf,B5 ; |224|
- MVKL .S2 SL28+0,B7 ; |222|
- MVKL .S2 _printf,B6 ; |222|
- || MV .D1 A6,A0 ; |217|
- [ A0] B .S1 L21 ; |221|
- || MVKL .S2 SL27+0,B8 ; |224|
- MVKH .S2 _printf,B5 ; |224|
- MVKH .S2 SL28+0,B7 ; |222|
- MVKH .S2 _printf,B6 ; |222|
- || STW .D2T1 A10,*SP--(40) ; |217|
- MV .L2X A4,B10 ; |217|
- || MVKH .S2 SL27+0,B8 ; |224|
- || STDW .D2T2 B11:B10,*+SP(32) ; |217|
- MV .S2 B3,B13 ; |217|
- || STW .D2T2 B13,*+SP(28) ; |217|
- || MV .L2 B4,B11 ; |217|
- || MV .D1 A6,A10 ; |217|
- ; BRANCH OCCURS ; |221|
- ;** --------------------------------------------------------------------------*
- CALL .S2 B5 ; |224|
- ADDKPC .S2 RL32,B3,1 ; |224|
- STW .D2T2 B8,*+SP(4) ; |224|
- NOP 2
- RL32: ; CALL OCCURS ; |224|
- B .S1 L22 ; |224|
- EXTU .S2 B10,16,24,B4 ; |228|
- SHRU .S2 B10,24,B6 ; |228|
- SHL .S2 B10,24,B7 ; |228|
- EXTU .S2 B10,8,24,B8 ; |228|
- MVKL .S2 SL29+0,B5 ; |228|
- ; BRANCH OCCURS ; |224|
- ;** --------------------------------------------------------------------------*
- L21:
- CALL .S2 B6 ; |222|
- ADDKPC .S2 RL33,B3,1 ; |222|
- STW .D2T2 B7,*+SP(4) ; |222|
- NOP 2
- RL33: ; CALL OCCURS ; |222|
- EXTU .S2 B10,16,24,B4 ; |228|
- SHRU .S2 B10,24,B6 ; |228|
- SHL .S2 B10,24,B7 ; |228|
- EXTU .S2 B10,8,24,B8 ; |228|
- MVKL .S2 SL29+0,B5 ; |228|
- ;** --------------------------------------------------------------------------*
- L22:
- ADD .D2 B7,B6,B4 ; |228|
- || SHL .S2 B4,16,B6 ; |228|
- SHL .S2 B8,8,B6 ; |228|
- || ADD .D2 B6,B4,B4 ; |228|
- ADD .D2 B6,B4,B4 ; |228|
- || MVKH .S2 SL29+0,B5 ; |228|
- STW .D2T2 B5,*+SP(4) ; |228|
- SHRU .S1X B4,24,A3 ; |228|
- || STW .D2T2 B11,*+SP(8) ; |228|
- MVKL .S1 _printf,A3 ; |228|
- || STW .D2T1 A3,*+SP(12) ; |228|
- MVKH .S1 _printf,A3 ; |228|
- EXTU .S2 B4,8,24,B5 ; |228|
- CALL .S2X A3 ; |228|
- STW .D2T2 B5,*+SP(16) ; |228|
- EXTU .S2 B4,16,24,B5 ; |228|
- STW .D2T2 B5,*+SP(20) ; |228|
- EXTU .S2 B4,24,24,B4 ; |228|
- ADDKPC .S2 RL34,B3,0 ; |228|
- || STW .D2T2 B4,*+SP(24) ; |228|
- RL34: ; CALL OCCURS ; |228|
- MVKL .S1 _fSystemReady$1,A3 ; |234|
- MVKH .S1 _fSystemReady$1,A3 ; |234|
- LDW .D1T1 *A3,A4 ; |234|
- CMPEQ .L2X A10,0,B6 ; |234|
- MVKL .S1 _fSystemReady$1,A3 ; |236|
- MVKL .S2 SL30+0,B4 ; |237|
- MVKH .S1 _fSystemReady$1,A3 ; |236|
- CMPEQ .L1 A4,0,A7 ; |234|
- XOR .D2 1,B6,B7 ; |234|
- AND .D2X A7,B7,B0 ; |234|
- [!B0] B .S1 L23 ; |234|
- MVKL .S2 _TaskCreate,B5 ; |237|
- MVKH .S2 _TaskCreate,B5 ; |237|
- MVKL .S1 _tskNetwork,A4 ; |237|
- MVKH .S2 SL30+0,B4 ; |237|
- || MVK .D1 1,A5 ; |236|
- || MVK .L1 0x5,A6 ; |237|
- MVKH .S1 _tskNetwork,A4 ; |237|
- || MVK .S2 0x1000,B6 ; |237|
- || ZERO .D1 A10 ; |237|
- || ZERO .D2 B8 ; |237|
- || ZERO .L1 A8 ; |237|
- ; BRANCH OCCURS ; |234|
- ;** --------------------------------------------------------------------------*
- CALL .S2 B5 ; |237|
- ADDKPC .S2 RL35,B3,1 ; |237|
- STW .D1T1 A5,*A3 ; |236|
- NOP 2
- RL35: ; CALL OCCURS ; |237|
- ;** --------------------------------------------------------------------------*
- L23:
- LDDW .D2T2 *+SP(32),B11:B10 ; |239|
- || MV .S2 B13,B3 ; |239|
- RET .S2 B3 ; |239|
- || LDW .D2T2 *+SP(28),B13 ; |239|
- LDW .D2T1 *++SP(40),A10 ; |239|
- NOP 4
- ; BRANCH OCCURS ; |239|
- .sect ".text"
- ;******************************************************************************
- ;* FUNCTION NAME: _NetworkClose *
- ;* *
- ;* Regs Modified : *
- ;* Regs Used : B3 *
- ;* Local Frame Size : 0 Args + 0 Auto + 0 Save = 0 byte *
- ;******************************************************************************
- _NetworkClose:
- ;** --------------------------------------------------------------------------*
- RETNOP .S2 B3,5 ; |206|
- ; BRANCH OCCURS ; |206|
- ;******************************************************************************
- ;* STRINGS *
- ;******************************************************************************
- .sect ".const"
- SL1: .string 10,"TCP/IP Stack NetCam Example",10,0
- SL2: .string "mikecam",0
- SL3: .string "192.168.1.77",0
- SL4: .string "255.255.255.0",0
- SL5: .string "192.168.0.1",0
- SL6: .string "demo.net",0
- SL7: .string "0.0.0.0",0
- SL8: .string "Telnet",0
- SL9: .string "HTTP",0
- SL10: .string "NAT",0
- SL11: .string "DHCPS",0
- SL12: .string "DHCPC",0
- SL13: .string "DNS",0
- SL14: .string 0
- SL15: .string "Running",0
- SL16: .string "Updated",0
- SL17: .string "Complete",0
- SL18: .string "Fault",0
- SL19: .string "Disabled",0
- SL20: .string "Waiting",0
- SL21: .string "IPTerm",0
- SL22: .string "Failed",0
- SL23: .string "Enabled",0
- SL24: .string "Unable to create configuration",10,0
- SL25: .string "Names too long",10,0
- SL26: .string "Service Status: %-9s: %-9s: %-9s: %03d",10,0
- SL27: .string "Network Removed: ",0
- SL28: .string "Network Added: ",0
- SL29: .string "If-%d:%d.%d.%d.%d",10,0
- SL30: .string "NetRF5",0
- ;******************************************************************************
- ;* UNDEFINED EXTERNAL REFERENCES *
- ;******************************************************************************
- .global _printf
- .global _TaskCreate
- .global _mmZeroInit
- .global _CfgNew
- .global _CfgFree
- .global _CfgAddEntry
- .global _inet_addr
- .global _NC_SystemOpen
- .global _NC_SystemClose
- .global _NC_NetStart
- .global __mmBulkAllocSeg
- .global _AddWebFiles
- .global _RemoveWebFiles
- .global _C62_enableIER
- .global _tskNetwork
- .global _extHeap