ParameterSet.s43
上传用户:xhjmsc
上传日期:2019-09-13
资源大小:389k
文件大小:5k
- NAME ParameterSet
- RTMODEL "__double_size", "32"
- RTMODEL "__pic", "no"
- RTMODEL "__reg_r4", "free"
- RTMODEL "__reg_r5", "free"
- RTMODEL "__rt_version", "1"
- RSEG CSTACK:DATA:SORT:NOROOT(1)
- EXTERN aucSoftUartRxBuf
- EXTERN gucSoftUartRxCnt
- EXTERN FTHDIS
- EXTERN FTHCSI
- EXTERN ?longjmp_r4
- EXTERN ?longjmp_r5
- EXTERN ?setjmp_r4
- EXTERN ?setjmp_r5
- PUBWEAK ?setjmp_save_r4
- PUBWEAK ?setjmp_save_r5
- PUBLIC SetCSIandDIS
- FUNCTION SetCSIandDIS,0203H
- LOCFRAME CSTACK, 2, STACK
-
- CFI Names cfiNames0
- CFI StackFrame CFA SP DATA
- CFI Resource PC:16, SP:16, SR:16, R4:16, R5:16, R6:16, R7:16, R8:16
- CFI Resource R9:16, R10:16, R11:16, R12:16, R13:16, R14:16, R15:16
- CFI EndNames cfiNames0
-
- CFI Common cfiCommon0 Using cfiNames0
- CFI CodeAlign 2
- CFI DataAlign 2
- CFI ReturnAddress PC CODE
- CFI CFA SP+2
- CFI PC Frame(CFA, -2)
- CFI SR Undefined
- CFI R4 SameValue
- CFI R5 SameValue
- CFI R6 SameValue
- CFI R7 SameValue
- CFI R8 SameValue
- CFI R9 SameValue
- CFI R10 SameValue
- CFI R11 SameValue
- CFI R12 Undefined
- CFI R13 Undefined
- CFI R14 Undefined
- CFI R15 Undefined
- CFI EndCommon cfiCommon0
-
- // E:projectFaxProgramVson_Bryan_Fax_Conexant_070423filesParameterSet.c
- // 1 //
- // 2
- // 3 #include "includeH.h"
- // 4
- // 5
- RSEG CODE:CODE:SORT:NOROOT(1)
- // 6 void SetCSIandDIS(void)
- SetCSIandDIS:
- CFI Block cfiBlock0 Using cfiCommon0
- CFI Function SetCSIandDIS
- // 7 {
- // 8 FTHDIS[4]=aucSoftUartRxBuf[gucSoftUartRxCnt-3];
- MOV.W #aucSoftUartRxBuf, R15
- MOV.B &gucSoftUartRxCnt, R14
- AND.W #0xff, R14
- ADD.W R14, R15
- MOV.B 0xfffd(R15), &FTHDIS + 0x4
- // 9 FTHCSI[22]=aucSoftUartRxBuf[gucSoftUartRxCnt-4];
- MOV.W #aucSoftUartRxBuf, R15
- MOV.B &gucSoftUartRxCnt, R14
- AND.W #0xff, R14
- ADD.W R14, R15
- MOV.B 0xfffc(R15), &FTHCSI + 0x16
- // 10 FTHCSI[21]=aucSoftUartRxBuf[gucSoftUartRxCnt-5];
- MOV.W #aucSoftUartRxBuf, R15
- MOV.B &gucSoftUartRxCnt, R14
- AND.W #0xff, R14
- ADD.W R14, R15
- MOV.B 0xfffb(R15), &FTHCSI + 0x15
- // 11 FTHCSI[20]=aucSoftUartRxBuf[gucSoftUartRxCnt-6];
- MOV.W #aucSoftUartRxBuf, R15
- MOV.B &gucSoftUartRxCnt, R14
- AND.W #0xff, R14
- ADD.W R14, R15
- MOV.B 0xfffa(R15), &FTHCSI + 0x14
- // 12 FTHCSI[19]=aucSoftUartRxBuf[gucSoftUartRxCnt-7];
- MOV.W #aucSoftUartRxBuf, R15
- MOV.B &gucSoftUartRxCnt, R14
- AND.W #0xff, R14
- ADD.W R14, R15
- MOV.B 0xfff9(R15), &FTHCSI + 0x13
- // 13 FTHCSI[18]=aucSoftUartRxBuf[gucSoftUartRxCnt-8];
- MOV.W #aucSoftUartRxBuf, R15
- MOV.B &gucSoftUartRxCnt, R14
- AND.W #0xff, R14
- ADD.W R14, R15
- MOV.B 0xfff8(R15), &FTHCSI + 0x12
- // 14 FTHCSI[17]=aucSoftUartRxBuf[gucSoftUartRxCnt-9];
- MOV.W #aucSoftUartRxBuf, R15
- MOV.B &gucSoftUartRxCnt, R14
- AND.W #0xff, R14
- ADD.W R14, R15
- MOV.B 0xfff7(R15), &FTHCSI + 0x11
- // 15 FTHCSI[16]=aucSoftUartRxBuf[gucSoftUartRxCnt-10];
- MOV.W #aucSoftUartRxBuf, R15
- MOV.B &gucSoftUartRxCnt, R14
- AND.W #0xff, R14
- ADD.W R14, R15
- MOV.B 0xfff6(R15), &FTHCSI + 0x10
- // 16 FTHCSI[15]=aucSoftUartRxBuf[gucSoftUartRxCnt-11];
- MOV.W #aucSoftUartRxBuf, R15
- MOV.B &gucSoftUartRxCnt, R14
- AND.W #0xff, R14
- ADD.W R14, R15
- MOV.B 0xfff5(R15), &FTHCSI + 0xf
- // 17 FTHCSI[14]=aucSoftUartRxBuf[gucSoftUartRxCnt-12];
- MOV.W #aucSoftUartRxBuf, R15
- MOV.B &gucSoftUartRxCnt, R14
- AND.W #0xff, R14
- ADD.W R14, R15
- MOV.B 0xfff4(R15), &FTHCSI + 0xe
- // 18 FTHCSI[13]=aucSoftUartRxBuf[gucSoftUartRxCnt-13];
- MOV.W #aucSoftUartRxBuf, R15
- MOV.B &gucSoftUartRxCnt, R14
- AND.W #0xff, R14
- ADD.W R14, R15
- MOV.B 0xfff3(R15), &FTHCSI + 0xd
- // 19 FTHCSI[12]=aucSoftUartRxBuf[gucSoftUartRxCnt-14];
- MOV.W #aucSoftUartRxBuf, R15
- MOV.B &gucSoftUartRxCnt, R14
- AND.W #0xff, R14
- ADD.W R14, R15
- MOV.B 0xfff2(R15), &FTHCSI + 0xc
- // 20 FTHCSI[11]=aucSoftUartRxBuf[gucSoftUartRxCnt-15];
- MOV.W #aucSoftUartRxBuf, R15
- MOV.B &gucSoftUartRxCnt, R14
- AND.W #0xff, R14
- ADD.W R14, R15
- MOV.B 0xfff1(R15), &FTHCSI + 0xb
- // 21 FTHCSI[10]=aucSoftUartRxBuf[gucSoftUartRxCnt-16];
- MOV.W #aucSoftUartRxBuf, R15
- MOV.B &gucSoftUartRxCnt, R14
- AND.W #0xff, R14
- ADD.W R14, R15
- MOV.B 0xfff0(R15), &FTHCSI + 0xa
- // 22
- // 23 }
- RET
- CFI EndBlock cfiBlock0
- RSEG CODE:CODE:NOROOT(1)
- ?setjmp_save_r4:
- REQUIRE ?setjmp_r4
- REQUIRE ?longjmp_r4
- RSEG CODE:CODE:NOROOT(1)
- ?setjmp_save_r5:
- REQUIRE ?setjmp_r5
- REQUIRE ?longjmp_r5
- END
- //
- // 282 bytes in segment CODE
- //
- // 282 bytes of CODE memory
- //
- //Errors: none
- //Warnings: none