⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sd16.lst

📁 FE42X单相防窃电电表DEMO(编译器 AQ430 AQ430 V2.0.6.5)
💻 LST
📖 第 1 页 / 共 5 页
字号:
0514 78655f79     1179     .long 0x78655f79
0518 00000000     1180     .long 0x0
051c 000f0102     1181     .long 0xf0102
0520 00000004     1182     .long 0x4
0524 0004ffff     1183     .long 0x4ffff
0528 0066652e     1184     .long 0x66652e
052c 00000000     1185     .long 0x0
0530 000000f0     1186     .long DBG127
0534 00000000     1187     .long 0x0
0538 01650001     1188     .long 0x1650001
053c 00000000     1189     .long 0x0
0540 000000de     1190     .long 0xde
0544 00000000     1191     .long 0x0
0548 00000000     1192     .long 0x0
054c 00000000     1193     .long 0x0
                  1194     .pseg SD16_code
                  1195 DBG113:
                  1196     .dbgseg dbg_syms
0550 75636361     1197     .long 0x75636361
0554 0038346d     1198     .long 0x38346d
0558 000000f2     1199     .long DBG113
055c 00000000     1200     .long 0x0
0560 00ff0001     1201     .long 0xff0001
                  1202 ; }
                  1203 ; void transfer48(register int16_t y[3], register int16_t x[3])
                  1204 DBG112:
0564 00000000     1205     .long 0x0
0568 00000270     1206     .long DBG132
056c 000000f2     1207     .long _transfer48
0570 00000040     1208     .long 0x40
0574 01020001     1209     .long 0x1020001
0578 0000058c     1210     .long DBG116
057c 00000022     1211     .long DBG129-DBG130
0580 000002e0     1212     .long DBG131
0584 0000067c     1213     .long DBG128
0588 00000000     1214     .long 0x0
                  1215     .pseg SD16_code
                  1216 DBG130:
                  1217     .dbgseg dbg_syms
                  1218 DBG116:
058c 0066622e     1219     .long 0x66622e
0590 00000000     1220     .long 0x0
0594 000000f2     1221     .long DBG130
0598 00000000     1222     .long 0x0
059c 01650001     1223     .long 0x1650001
05a0 00000000     1224     .long 0x0
05a4 000000e0     1225     .long 0xe0
05a8 00000000     1226     .long 0x0
05ac 000006a4     1227     .long DBG133
05b0 00000000     1228     .long 0x0
                  1229     .dbgseg dbg_line
                  1230 DBG131:
02e0 00000564     1231     .long DBG112
02e4 00000000     1232     .long 0x0
02e8 000000f2     1233     .long _transfer48
02ec 00000001     1234     .long 0x1
02f0 000000f2     1235     .long DBG135
02f4 00000002     1236     .long 0x2
02f8 000000f2     1237     .long DBG136
02fc 00000003     1238     .long 0x3
0300 000000f8     1239     .long DBG137
0304 00000004     1240     .long 0x4
0308 000000fe     1241     .long DBG138
030c 00000005     1242     .long 0x5
0310 00000102     1243     .long DBG139
0314 00000008     1244     .long 0x8
0318 00000112     1245     .long DBG140
031c 00000009     1246     .long 0x9
                  1247     .pseg SD16_code
                  1248     .global _transfer48
                  1249 _transfer48:
                  1250 ; ENTRY
                  1251 DBG134:
                  1252 ; y at argloc 0 (0x0) in reg  size 2
                  1253 ; x at argloc 0 (0x0) in reg  size 2
                  1254 ; {
                  1255 DBG135:
                  1256 ;     y[2] = x[2];
                  1257 DBG136:
00f2 9c4d04000400 1258     mov 0x4(r13),0x4(r12)
                  1259 DBG137:
                  1260 ;     y[1] = x[1];
00f8 9c4d02000200 1261     mov 0x2(r13),0x2(r12)
                  1262 DBG138:
                  1263 ;     y[0] = x[0];
00fe ac4d0000     1264     mov @r13,0(r12)
                  1265 DBG139:
                  1266 ;     x[0] =
                  1267 ;     x[1] =
0102 8d430400     1268     mov #0x0,0x4(r13)
0106 9d4d04000200 1269     mov 0x4(r13),0x2(r13)
010c 9d4d02000000 1270     mov 0x2(r13),0(r13)
                  1271 DBG141:
                  1272 DBG140:
                  1273 ;     x[2] = 0;
                  1274 ; EXIT
0112 3041         1275     ret
                  1276     .dbgseg dbg_syms
05b4 00000000     1277     .long 0x0
05b8 000000fc     1278     .long DBG29
05bc 00000000     1279     .long 0x0
05c0 00000000     1280     .long 0x0
05c4 00010002     1281     .long 0x10002
05c8 00000000     1282     .long 0x0
05cc 00000350     1283     .long DBG30
05d0 00000002     1284     .long 0x2
05d4 00000000     1285     .long 0x0
05d8 00010002     1286     .long 0x10002
05dc 504e5f5f     1287     .long 0x504e5f5f
05e0 534d5241     1288     .long 0x534d5241
05e4 00000002     1289     .long 0x2
05e8 00000000     1290     .long 0x0
05ec 00010002     1291     .long 0x10002
05f0 41505f5f     1292     .long 0x41505f5f
05f4 00794d52     1293     .long 0x794d52
05f8 00000000     1294     .long 0x0
05fc 00000000     1295     .long 0x0
0600 00010002     1296     .long 0x10002
0604 41505f5f     1297     .long 0x41505f5f
0608 00784d52     1298     .long 0x784d52
060c 00000000     1299     .long 0x0
0610 00000000     1300     .long 0x0
0614 00010002     1301     .long 0x10002
0618 00000079     1302     .long 0x79
061c 00000000     1303     .long 0x0
0620 000c0102     1304     .long 0xc0102
0624 00000024     1305     .long 0x24
0628 0011ffff     1306     .long 0x11ffff
062c 00000078     1307     .long 0x78
0630 00000000     1308     .long 0x0
0634 000d0102     1309     .long 0xd0102
0638 00000024     1310     .long 0x24
063c 0011ffff     1311     .long 0x11ffff
0640 0066652e     1312     .long 0x66652e
0644 00000000     1313     .long 0x0
0648 00000112     1314     .long DBG141
064c 00000000     1315     .long 0x0
0650 01650001     1316     .long 0x1650001
0654 00000000     1317     .long 0x0
0658 000000e8     1318     .long 0xe8
065c 00000000     1319     .long 0x0
0660 00000000     1320     .long 0x0
0664 00000000     1321     .long 0x0
                  1322     .pseg SD16_code
                  1323 DBG129:
                  1324     .dbgseg dbg_syms
0668 00000000     1325     .long 0x0
066c 00000270     1326     .long DBG132
0670 00000114     1327     .long DBG129
0674 00000000     1328     .long 0x0
0678 00ff0001     1329     .long 0xff0001
                  1330 ; }
                  1331 ; int32_t div48(register int16_t x[3], register int16_t y)
                  1332 DBG128:
067c 34766964     1333     .long 0x34766964
0680 00000038     1334     .long 0x38
0684 00000114     1335     .long _div48
0688 00000045     1336     .long 0x45
068c 01020001     1337     .long 0x1020001
0690 000006a4     1338     .long DBG133
0694 0000007a     1339     .long DBG143-DBG144
0698 00000320     1340     .long DBG145
069c 00000d70     1341     .long DBG142
06a0 00000000     1342     .long 0x0
                  1343     .pseg SD16_code
                  1344 DBG144:
                  1345     .dbgseg dbg_syms
                  1346 DBG133:
06a4 0066622e     1347     .long 0x66622e
06a8 00000000     1348     .long 0x0
06ac 00000114     1349     .long DBG144
06b0 00000000     1350     .long 0x0
06b4 01650001     1351     .long 0x1650001
06b8 00000000     1352     .long 0x0
06bc 000000ea     1353     .long 0xea
06c0 00000000     1354     .long 0x0
06c4 00000d98     1355     .long DBG146
06c8 00000000     1356     .long 0x0
                  1357     .dbgseg dbg_line
                  1358 DBG145:
0320 0000067c     1359     .long DBG128
0324 00000000     1360     .long 0x0
0328 00000114     1361     .long _div48
032c 00000001     1362     .long 0x1
0330 00000124     1363     .long DBG148
0334 00000002     1364     .long 0x2
0338 00000124     1365     .long DBG149
033c 0000000a     1366     .long 0xa
0340 00000132     1367     .long DBG150
0344 0000000b     1368     .long 0xb
0348 00000136     1369     .long DBG151
034c 0000000c     1370     .long 0xc
0350 00000140     1371     .long DBG152
0354 0000000d     1372     .long 0xd
0358 00000156     1373     .long DBG153
035c 0000000e     1374     .long 0xe
0360 00000162     1375     .long DBG154
0364 0000000f     1376     .long 0xf
0368 00000164     1377     .long DBG155
036c 00000010     1378     .long 0x10
0370 0000016c     1379     .long DBG156
0374 00000011     1380     .long 0x11
0378 0000017c     1381     .long DBG157
037c 00000012     1382     .long 0x12
0380 00000180     1383     .long DBG158
0384 00000013     1384     .long 0x13
                  1385     .pseg SD16_code
                  1386     .global _div48
                  1387 _div48:
0114 0412         1388     push    r4
0116 0512         1389     push    r5
0118 0612         1390     push    r6
011a 0712         1391     push    r7
011c 0812         1392     push    r8
011e 0912         1393     push    r9
                  1394 DBG147:
                  1395 ; ENTRY
0120 074c         1396     mov r12,r7
                  1397 ; x at argloc 0 (0x0) in reg  size 2
0122 094d         1398     mov r13,r9
                  1399 DBG149:
                  1400 DBG148:
                  1401 ; y at argloc 0 (0x0) in reg  size 2
                  1402 ; x1 in reg  size 4
                  1403 ; z in reg  size 4
                  1404 ; {
                  1405 ;     int32_t x1;
                  1406 ;     int32_t z;
                  1407 ;     x1 = x[2]%y;
0124 1c470400     1408     mov 0x4(r7),r12
0128 0d49         1409     mov r9,r13
                  1410 DBG159:
012a b0120000     1411     call    #__sdiv16
                  1412 DBG160:
012e 0d93         1413     cmp #0x0,r13
0130 0034         1414     jge div48_LL2
                  1415 div48_LL2:
                  1416 ;     x1 <<= 16;
                  1417 DBG150:
0132 0643         1418     mov #0x0,r6
0134 084d         1419     mov r13,r8
                  1420 DBG151:
                  1421 ;     x1 |= (uint16_t) x[1];
0136 1d470200     1422     mov 0x2(r7),r13
013a 0c43         1423     mov #0x0,r12
013c 06dd         1424     bis r13,r6
013e 08dc         1425     bis r12,r8
                  1426 DBG152:
                  1427 ;     z = x1/y;
0140 0443         1428     mov #0x0,r4
0142 0993         1429     cmp #0x0,r9
0144 0134         1430     jge div48_LL3
0146 3443         1431     mov #-0x1,r4
                  1432 div48_LL3:
0148 0d46         1433     mov r6,r13
014a 0c48         1434     mov r8,r12
014c 0f49         1435     mov r9,r15
014e 0e44         1436     mov r4,r14
                  1437 DBG161:
0150 b0120000     1438     call    #__sdiv32
                  1439 DBG162:
0154 054d         1440     mov r13,r5
                  1441 DBG153:
                  1442 ;     x1 = x1%y;
0156 0d46         1443     mov r6,r13
0158 0c48         1444     mov r8,r12
015a 0f49         1445     mov r9,r15
015c 0e44         1446     mov r4,r14
                  1447 DBG163:
015e b0120000     1448     call    #__sdiv32
                  1449 DBG154:
                  1450 DBG164:
                  1451 ;     x1 <<= 16;
0162 0d43         1452     mov #0x0,r13
                  1453 DBG155:
                  1454 ;     x1 |= (uint16_t) x[0];
0164 2c47         1455     mov @r7,r12
0166 0e43         1456     mov #0x0,r14
0168 0ddc         1457     bis r12,r13
016a 0fde         1458     bis r14,r15
                  1459 DBG156:
                  1460 ;     z = (z << 16) + x1/y;
016c 0c4f         1461     mov r15,r12
016e 0f49         1462     mov r9,r15
0170 0e44         1463     mov r4,r14
                  1464 DBG165:
0172 b0120000     1465     call    #__sdiv32
                  1466 DBG166:
0176 0e43         1467     mov #0x0,r14
0178 0e5d         1468     add r13,r14
017a 056c         1469     addc    r12,r5
                  1470 DBG157:
                  1471 ;     return z;
017c 0

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -