📄 rtctempcompensation.lst
字号:
032c 000003d4 902 .long DBG66
0330 00000000 903 .long 0x0
904 .dbgseg dbg_line
905 DBG65:
0110 000002e4 906 .long DBG44
0114 00000000 907 .long 0x0
0118 0000008a 908 .long _ta0_isr
011c 00000001 909 .long 0x1
0120 00000094 910 .long DBG68
0124 00000002 911 .long 0x2
0128 00000094 912 .long DBG69
012c 00000005 913 .long 0x5
0130 0000009a 914 .long DBG70
0134 00000006 915 .long 0x6
0138 0000009a 916 .long DBG71
013c 00000008 917 .long 0x8
0140 000000a6 918 .long DBG72
0144 00000009 919 .long 0x9
0148 000000aa 920 .long DBG73
014c 0000000a 921 .long 0xa
0150 000000aa 922 .long DBG74
0154 0000000b 923 .long 0xb
0158 000000ac 924 .long DBG75
015c 0000000d 925 .long 0xd
0160 000000ac 926 .long DBG76
0164 0000000f 927 .long 0xf
0168 000000b2 928 .long DBG77
016c 00000010 929 .long 0x10
0170 000000b2 930 .long DBG78
0174 00000011 931 .long 0x11
0178 000000c0 932 .long DBG79
017c 00000012 933 .long 0x12
0180 000000c8 934 .long DBG80
0184 00000013 935 .long 0x13
0188 000000c8 936 .long DBG81
018c 00000014 937 .long 0x14
0190 000000cc 938 .long DBG82
0194 00000015 939 .long 0x15
0198 000000d0 940 .long DBG83
019c 00000016 941 .long 0x16
01a0 000000de 942 .long DBG84
01a4 00000017 943 .long 0x17
01a8 000000e2 944 .long DBG85
01ac 00000018 945 .long 0x18
01b0 000000e2 946 .long DBG86
01b4 00000019 947 .long 0x19
01b8 000000e6 948 .long DBG87
01bc 0000001a 949 .long 0x1a
01c0 000000f4 950 .long DBG88
01c4 0000001b 951 .long 0x1b
01c8 000000fa 952 .long DBG89
01cc 0000001c 953 .long 0x1c
01d0 000000fa 954 .long DBG90
01d4 0000001d 955 .long 0x1d
01d8 000000fe 956 .long DBG91
01dc 0000001e 957 .long 0x1e
01e0 000000fe 958 .long DBG92
01e4 0000001f 959 .long 0x1f
01e8 000000fe 960 .long DBG94
01ec 00000020 961 .long 0x20
01f0 000000fe 962 .long DBG96
01f4 00000021 963 .long 0x21
01f8 00000104 964 .long DBG97
01fc 00000022 965 .long 0x22
966 .pseg RtcTempCompensation_code
967 .global _ta0_isr
968 _ta0_isr:
008a 0412 969 push r4
008c 0c12 970 push r12
008e 0d12 971 push r13
0090 0e12 972 push r14
0092 0f12 973 push r15
974 DBG69:
975 DBG68:
976 DBG67:
977 ; ENTRY
978 ; {
979 ; if (UpdateTempCorrectionFlag)
0094 c2930200 980 cmp.b #0x0,&_UpdateTempCorrectionFlag
0098 0924 981 jeq ta0_isr_L1
982 DBG71:
983 DBG70:
984 ; {
985 ; TACCR0 = (32767+2) - RtcCorrectionTime;
009a 3c400180 986 mov #-0x7fff,r12
009e 1c820400 987 sub &_RtcCorrectionTime,r12
00a2 824c7201 988 mov r12,&0x172
989 DBG72:
990 ; UpdateTempCorrectionFlag = 0;
00a6 c2430200 991 mov.b #0x0,&_UpdateTempCorrectionFlag
992 DBG74:
993 DBG73:
994 ; }
00aa 033c 995 jmp ta0_isr_L2
996 ta0_isr_L1:
997 ; else
998 ; {
999 DBG75:
1000 ; TACCR0 = (32767+2) ;
1001 DBG76:
00ac b24001807201 1002 mov #0x8001,&0x172
1003 DBG77:
1004 ta0_isr_L2:
1005 ; }
1006 ; seconds = bcd_add_short(seconds, 0x01);
1007 DBG78:
00b2 1d43 1008 mov #0x1,r13
00b4 5c420000 1009 mov.b &_seconds,r12
00b8 b0120000 1010 call #_bcd_add_short
00bc c24c0000 1011 mov.b r12,&_seconds
1012 DBG79:
1013 ; if( seconds == 0x60 )
00c0 74406000 1014 mov.b #0x60,r4
00c4 4c94 1015 cmp.b r4,r12
00c6 1b20 1016 jne ta0_isr_L3
1017 DBG81:
1018 DBG80:
1019 ; {
1020 ; UpdateTempCorrectionFlag = 1;
00c8 d2430200 1021 mov.b #0x1,&_UpdateTempCorrectionFlag
1022 DBG82:
1023 ; seconds = 0;
00cc c2430000 1024 mov.b #0x0,&_seconds
1025 DBG83:
1026 ; minutes = bcd_add_short(minutes, 0x01);
00d0 1d43 1027 mov #0x1,r13
00d2 5c420000 1028 mov.b &_minutes,r12
00d6 b0120000 1029 call #_bcd_add_short
00da c24c0000 1030 mov.b r12,&_minutes
1031 DBG84:
1032 ; if( minutes == 0x60 )
00de 4c94 1033 cmp.b r4,r12
00e0 0e20 1034 jne ta0_isr_L4
1035 DBG86:
1036 DBG85:
1037 ; {
1038 ; minutes = 0;
00e2 c2430000 1039 mov.b #0x0,&_minutes
1040 DBG87:
1041 ; hours = bcd_add_short(hours, 0x01);
00e6 1d43 1042 mov #0x1,r13
00e8 5c420000 1043 mov.b &_hours,r12
00ec b0120000 1044 call #_bcd_add_short
00f0 c24c0000 1045 mov.b r12,&_hours
1046 DBG88:
1047 ; if( hours == 0x13 )
00f4 7c901300 1048 cmp.b #0x13,r12
00f8 0220 1049 jne ta0_isr_L5
1050 DBG90:
1051 DBG89:
1052 ; {
1053 ; hours = 0x01;
00fa d2430000 1054 mov.b #0x1,&_hours
1055 DBG92:
1056 DBG91:
1057 ; }
1058 ta0_isr_L5:
1059 DBG93:
1060 ; }
1061 DBG94:
1062 ta0_isr_L4:
1063 DBG95:
1064 ; }
1065 DBG96:
1066 ta0_isr_L3:
1067 ; _BIC_SR_IRQ( ( (0x0080) + (0x0040) + (0x0010) ) ) ;
00fe b1c0d0000a00 1068 bic #0xd0,0xa(sp)
1069 DBG98:
1070 DBG97:
1071 ; EXIT
1072 ; .temp0 at stkloc 0 (0x0) size 10
0104 3f41 1073 pop r15
0106 3e41 1074 pop r14
0108 3d41 1075 pop r13
010a 3c41 1076 pop r12
010c 3441 1077 pop r4
010e 0013 1078 reti
1079 .dbgseg dbg_syms
0334 00000000 1080 .long 0x0
0338 00000004 1081 .long DBG37
033c 0000000a 1082 .long 0xa
0340 00000000 1083 .long 0x0
0344 00010002 1084 .long 0x10002
0348 00000000 1085 .long 0x0
034c 00000134 1086 .long DBG38
0350 00000002 1087 .long 0x2
0354 00000000 1088 .long 0x0
0358 00010002 1089 .long 0x10002
035c 504e5f5f 1090 .long 0x504e5f5f
0360 534d5241 1091 .long 0x534d5241
0364 00000000 1092 .long 0x0
0368 00000000 1093 .long 0x0
036c 00010002 1094 .long 0x10002
0370 0066652e 1095 .long 0x66652e
0374 00000000 1096 .long 0x0
0378 00000104 1097 .long DBG98
037c 00000000 1098 .long 0x0
0380 01650001 1099 .long 0x1650001
0384 00000000 1100 .long 0x0
0388 000001b7 1101 .long 0x1b7
038c 00000000 1102 .long 0x0
0390 00000000 1103 .long 0x0
0394 00000000 1104 .long 0x0
1105 .pseg RtcTempCompensation_code
1106 DBG63:
1107 .dbgseg dbg_syms
0398 5f306174 1108 .long 0x5f306174
039c 00727369 1109 .long 0x727369
03a0 00000110 1110 .long DBG63
03a4 00000000 1111 .long 0x0
03a8 00ff0001 1112 .long 0xff0001
1113 ; }
1114 ; _INTERRUPT [ (5 * 2) ] void ta1_isr(void)
1115 .iseg RtcTempCompensation_ivec_10,abs=0xffea
ffea 1001 1116 .data _ta1_isr
1117 .dbgseg dbg_syms
1118 DBG62:
03ac 5f316174 1119 .long 0x5f316174
03b0 00727369 1120 .long 0x727369
03b4 00000110 1121 .long _ta1_isr
03b8 00000040 1122 .long 0x40
03bc 01020001 1123 .long 0x1020001
03c0 000003d4 1124 .long DBG66
03c4 0000003e 1125 .long DBG100-DBG101
03c8 00000200 1126 .long DBG102
03cc 00000474 1127 .long DBG99
03d0 00000000 1128 .long 0x0
1129 .pseg RtcTempCompensation_code
1130 DBG101:
1131 .dbgseg dbg_syms
1132 DBG66:
03d4 0066622e 1133 .long 0x66622e
03d8 00000000 1134 .long 0x0
03dc 00000110 1135 .long DBG101
03e0 00000000 1136 .long 0x0
03e4 01650001 1137 .long 0x1650001
03e8 00000000 1138 .long 0x0
03ec 000001c2 1139 .long 0x1c2
03f0 00000000 1140 .long 0x0
03f4 0000049c 1141 .long DBG103
03f8 00000000 1142 .long 0x0
1143 .dbgseg dbg_line
1144 DBG102:
0200 000003ac 1145 .long DBG62
0204 00000000 1146 .long 0x0
0208 00000110 1147 .long _ta1_isr
020c 00000001 1148 .long 0x1
0210 00000112 1149 .long DBG105
0214 00000002 1150 .long 0x2
0218 00000112 1151 .long DBG106
021c 00000003 1152 .long 0x3
0220 00000114 1153 .long DBG107
0224 00000004 1154 .long 0x4
0228 00000114 1155 .long DBG108
022c 00000005 1156 .long 0x5
0230 00000114 1157 .long DBG109
0234 00000006 1158 .long 0x6
0238 00000114 1159 .long DBG110
023c 00000007 1160 .long 0x7
0240 00000116 1161 .long DBG111
0244 00000008 1162 .long 0x8
0248 00000116 1163 .long DBG112
024c 00000009 1164 .long 0x9
0250 0000011c 1165 .long DBG113
0254 0000000a 1166 .long 0xa
0258 0000011e 1167 .long DBG114
025c 0000000b 1168 .long 0xb
0260 0000011e 1169 .long DBG115
0264 0000000c 1170 .long 0xc
0268 00000124 1171 .long DBG116
026c 0000000d 1172 .long 0xd
0270 00000126 1173 .long DBG117
0274 0000000e 1174 .long 0xe
0278 00000126 1175 .long DBG118
027c 0000000f 1176 .long 0xf
0280 0000012a 1177 .long DBG119
0284 00000010 1178 .long 0x10
0288 0000012c 1179 .long DBG120
028c 00000011 1180 .long 0x11
0290 00000144 1181 .long DBG121
0294 00000012 1182 .long 0x12
0298 0000014a 1183 .long DBG122
029c 00000013 1184 .long 0x13
1185 .pseg RtcTempCompensation_code
1186 .global _ta1_isr
1187 _ta1_isr:
0110 0c12 1188 push r12
1189 DBG106:
1190 DBG105:
1191 DBG104:
1192 ; ENTRY
1193 ; {
1194 ; switch(TAIV)
0112 0c3c 1195 jmp ta1_isr_L2
1196 DBG108:
1197 DBG107:
1198 ; {
1199 ; default:
1200 ta1_isr_L3:
1201 ; case 0:
1202 DBG109:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -