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

📄 duptmp.txt

📁 凌阳SPMC75F2413A的AD功能实现电压表的例子。这个是我自己编写的
💻 TXT
📖 第 1 页 / 共 5 页
字号:
SectionLine:(0,917,0,0).codeInstructionLine:(0,918,0,0)LM23:InstructionLine:(0,919,0,0)LBB6:InstructionLine:(0,920,0,0)	R1=BP	// QImode moveInstructionLine:(0,921,0,0)	R1=BP+2InstructionLine:(0,922,0,0)	[BP+24]=R1	// QImode moveInstructionLine:(0,923,0,0)	R1=BP	// QImode moveInstructionLine:(0,924,0,0)	R2=BP+4InstructionLine:(0,925,0,0)	R3=R2	// QImode moveInstructionLine:(0,926,0,0)	R1=[R3]	// QImode moveInstructionLine:(0,927,0,0)	R2=10	// QImode moveInstructionLine:(0,928,0,0)	[SP--]=R2	// QImode moveInstructionLine:(0,929,0,0)	[SP--]=R1	// QImode moveInstructionLine:(0,930,0,0)	CALL __divu1	// call with return valueInstructionLine:(0,931,0,0)	SP = SP + 2	//SPInstructionLine:(0,932,0,0)	R4=[BP+24]	// QImode moveInstructionLine:(0,933,0,0)	[R4]=R1	// QImode moveSectionLine:(0,934,0,0).debugStorageLine:(0,935,0,0)	.dw '.stabn 0x44,0,75,',0,0StorageLine:(0,936,0,0)	.dd LM24-_mainStorageLine:(0,937,0,0)	.dw 0x0d,0x0aSectionLine:(0,938,0,0).codeInstructionLine:(0,939,0,0)LM24:InstructionLine:(0,940,0,0)	R2=BP	// QImode moveInstructionLine:(0,941,0,0)	R1=BP+1InstructionLine:(0,942,0,0)	R2=BP	// QImode moveInstructionLine:(0,943,0,0)	R2=BP+2InstructionLine:(0,944,0,0)	[BP+29]=R2	// QImode moveInstructionLine:(0,945,0,0)	R4=[BP+29]	// QImode moveInstructionLine:(0,946,0,0)	R3=[R4]InstructionLine:(0,947,0,0)	R4=0CommentLine:(0,948,0,0)	//split [BP+25]=R3InstructionLine:(0,949,0,0)	[BP+25]=R3	// QImode moveInstructionLine:(0,950,0,0)	[BP+26]=R4	// QImode moveInstructionLine:(0,951,0,0)	R2=_LED_TAB	// QImode moveInstructionLine:(0,952,0,0)	R4=[BP+25]	// QImode moveInstructionLine:(0,953,0,0)	R3=R4	// QImode moveInstructionLine:(0,954,0,0)	R2 = R2 + R3	//addqi3InstructionLine:(0,955,0,0)	R4=R2	// QImode moveInstructionLine:(0,956,0,0)	R3=[R4]	// QImode moveInstructionLine:(0,957,0,0)	R2=R1	// QImode moveInstructionLine:(0,958,0,0)	[R2]=R3	// QImode moveSectionLine:(0,959,0,0).debugStorageLine:(0,960,0,0)	.dw '.stabn 0x44,0,76,',0,0StorageLine:(0,961,0,0)	.dd LM25-_mainStorageLine:(0,962,0,0)	.dw 0x0d,0x0aSectionLine:(0,963,0,0).codeInstructionLine:(0,964,0,0)LM25:InstructionLine:(0,965,0,0)	R1=3	// QImode moveInstructionLine:(0,966,0,0)	[SP--]=R1	// QImode moveInstructionLine:(0,967,0,0)	R1=0	// QImode moveInstructionLine:(0,968,0,0)	[SP--]=R1	// QImode moveInstructionLine:(0,969,0,0)	R1=BP	// QImode moveInstructionLine:(0,970,0,0)	R2=BP+1InstructionLine:(0,971,0,0)	R3=R2	// QImode moveInstructionLine:(0,972,0,0)	R1=[R3]	// QImode moveInstructionLine:(0,973,0,0)	[SP--]=R1	// QImode moveInstructionLine:(0,974,0,0)	CALL _LED_Display	// call with return valueInstructionLine:(0,975,0,0)	SP = SP + 3	//SPSectionLine:(0,976,0,0).debugStorageLine:(0,977,0,0)	.dw '.stabn 0x44,0,77,',0,0StorageLine:(0,978,0,0)	.dd LM26-_mainStorageLine:(0,979,0,0)	.dw 0x0d,0x0aSectionLine:(0,980,0,0).codeInstructionLine:(0,981,0,0)LM26:InstructionLine:(0,982,0,0)	R2=BP	// QImode moveInstructionLine:(0,983,0,0)	R1=BP+4InstructionLine:(0,984,0,0)	R3=BP	// QImode moveInstructionLine:(0,985,0,0)	R2=BP+4InstructionLine:(0,986,0,0)	R3=BP	// QImode moveInstructionLine:(0,987,0,0)	R4=BP+2InstructionLine:(0,988,0,0)	[BP+30]=R4	// QImode moveInstructionLine:(0,989,0,0)	R4=[BP+30]	// QImode moveInstructionLine:(0,990,0,0)	R3=[R4]	// QImode moveInstructionLine:(0,991,0,0)	R4=10	// QImode moveInstructionLine:(0,992,0,0)	[BP+30]=R4	// QImode moveInstructionLine:(0,993,0,0)	R4=[BP+30]	// QImode moveInstructionLine:(0,994,0,0)	MR=R3*R4	// R3=R3*R4 16bit=16bit*16bitInstructionLine:(0,995,0,0)	R4=R2	// QImode moveInstructionLine:(0,996,0,0)	R4=[R4]	// QImode moveInstructionLine:(0,997,0,0)	[BP+30]=R4	// QImode moveInstructionLine:(0,998,0,0)	R2=[BP+30]	// QImode moveInstructionLine:(0,999,0,0)	R2 = R2 - R3	//subqi3InstructionLine:(0,1000,0,0)	R3=R1	// QImode moveInstructionLine:(0,1001,0,0)	[R3]=R2	// QImode moveSectionLine:(0,1002,0,0).debugStorageLine:(0,1003,0,0)	.dw '.stabn 0x44,0,79,',0,0StorageLine:(0,1004,0,0)	.dd LM27-_mainStorageLine:(0,1005,0,0)	.dw 0x0d,0x0aSectionLine:(0,1006,0,0).codeInstructionLine:(0,1007,0,0)LM27:InstructionLine:(0,1008,0,0)LBE6:InstructionLine:(0,1009,0,0)	PC=L10	// jumpInstructionLine:(0,1010,0,0)L9:SectionLine:(0,1011,0,0).debugStorageLine:(0,1012,0,0)	.dw '.stabn 0x44,0,82,',0,0StorageLine:(0,1013,0,0)	.dd LM28-_mainStorageLine:(0,1014,0,0)	.dw 0x0d,0x0aSectionLine:(0,1015,0,0).codeInstructionLine:(0,1016,0,0)LM28:InstructionLine:(0,1017,0,0)LBB7:InstructionLine:(0,1018,0,0)	R1=3	// QImode moveInstructionLine:(0,1019,0,0)	[SP--]=R1	// QImode moveInstructionLine:(0,1020,0,0)	R1=0	// QImode moveInstructionLine:(0,1021,0,0)	[SP--]=R1	// QImode moveInstructionLine:(0,1022,0,0)	R1=[_LED_TAB]	// QImode moveInstructionLine:(0,1023,0,0)	[SP--]=R1	// QImode moveInstructionLine:(0,1024,0,0)	CALL _LED_Display	// call with return valueInstructionLine:(0,1025,0,0)	SP = SP + 3	//SPSectionLine:(0,1026,0,0).debugStorageLine:(0,1027,0,0)	.dw '.stabn 0x44,0,84,',0,0StorageLine:(0,1028,0,0)	.dd LM29-_mainStorageLine:(0,1029,0,0)	.dw 0x0d,0x0aSectionLine:(0,1030,0,0).codeInstructionLine:(0,1031,0,0)LM29:InstructionLine:(0,1032,0,0)LBE7:InstructionLine:(0,1033,0,0)L10:SectionLine:(0,1034,0,0).debugStorageLine:(0,1035,0,0)	.dw '.stabn 0x44,0,85,',0,0StorageLine:(0,1036,0,0)	.dd LM30-_mainStorageLine:(0,1037,0,0)	.dw 0x0d,0x0aSectionLine:(0,1038,0,0).codeInstructionLine:(0,1039,0,0)LM30:InstructionLine:(0,1040,0,0)	R1=BP	// QImode moveInstructionLine:(0,1041,0,0)	R3=BP+5InstructionLine:(0,1042,0,0)	R4=R3	// QImode moveInstructionLine:(0,1043,0,0)	R1=[R4++]	// RD=[RS] HFmode, RD!=RSInstructionLine:(0,1044,0,0)	R2=[R4--]InstructionLine:(0,1045,0,0)	R3=0	// HFmode immediate to register moveInstructionLine:(0,1046,0,0)	R4=0InstructionLine:(0,1047,0,0)	PUSH R3,R4 to [SP]	// pushhfInstructionLine:(0,1048,0,0)	PUSH R1,R2 to [SP]	// pushhfInstructionLine:(0,1049,0,0)	CALL __cmpf2	// call with return valueInstructionLine:(0,1050,0,0)	SP = SP + 4	//SPInstructionLine:(0,1051,0,0)	CMP R1,1	// QImode compareInstructionLine:(0,1052,0,0)	NSJL L11	//QImode LTSectionLine:(0,1053,0,0).debugStorageLine:(0,1054,0,0)	.dw '.stabn 0x44,0,87,',0,0StorageLine:(0,1055,0,0)	.dd LM31-_mainStorageLine:(0,1056,0,0)	.dw 0x0d,0x0aSectionLine:(0,1057,0,0).codeInstructionLine:(0,1058,0,0)LM31:InstructionLine:(0,1059,0,0)LBB8:InstructionLine:(0,1060,0,0)	R2=BP	// QImode moveInstructionLine:(0,1061,0,0)	R1=BP+2InstructionLine:(0,1062,0,0)	R2=BP	// QImode moveInstructionLine:(0,1063,0,0)	R3=BP+4InstructionLine:(0,1064,0,0)	R4=R3	// QImode moveInstructionLine:(0,1065,0,0)	R2=[R4]	// QImode moveInstructionLine:(0,1066,0,0)	R3=R1	// QImode moveInstructionLine:(0,1067,0,0)	[R3]=R2	// QImode moveSectionLine:(0,1068,0,0).debugStorageLine:(0,1069,0,0)	.dw '.stabn 0x44,0,88,',0,0StorageLine:(0,1070,0,0)	.dd LM32-_mainStorageLine:(0,1071,0,0)	.dw 0x0d,0x0aSectionLine:(0,1072,0,0).codeInstructionLine:(0,1073,0,0)LM32:InstructionLine:(0,1074,0,0)	R2=BP	// QImode moveInstructionLine:(0,1075,0,0)	R1=BP+1InstructionLine:(0,1076,0,0)	R2=BP	// QImode moveInstructionLine:(0,1077,0,0)	R4=BP+2InstructionLine:(0,1078,0,0)	[BP+29]=R4	// QImode moveInstructionLine:(0,1079,0,0)	R4=[BP+29]	// QImode moveInstructionLine:(0,1080,0,0)	R3=[R4]InstructionLine:(0,1081,0,0)	R4=0CommentLine:(0,1082,0,0)	//split [BP+27]=R3InstructionLine:(0,1083,0,0)	[BP+27]=R3	// QImode moveInstructionLine:(0,1084,0,0)	[BP+28]=R4	// QImode moveInstructionLine:(0,1085,0,0)	R2=_LED_TAB	// QImode moveInstructionLine:(0,1086,0,0)	R4=[BP+27]	// QImode moveInstructionLine:(0,1087,0,0)	R3=R4	// QImode moveInstructionLine:(0,1088,0,0)	R2 = R2 + R3	//addqi3InstructionLine:(0,1089,0,0)	R4=R2	// QImode moveInstructionLine:(0,1090,0,0)	R3=[R4]	// QImode moveInstructionLine:(0,1091,0,0)	R2=R1	// QImode moveInstructionLine:(0,1092,0,0)	[R2]=R3	// QImode moveSectionLine:(0,1093,0,0).debugStorageLine:(0,1094,0,0)	.dw '.stabn 0x44,0,89,',0,0StorageLine:(0,1095,0,0)	.dd LM33-_mainStorageLine:(0,1096,0,0)	.dw 0x0d,0x0aSectionLine:(0,1097,0,0).codeInstructionLine:(0,1098,0,0)LM33:InstructionLine:(0,1099,0,0)	R1=4	// QImode moveInstructionLine:(0,1100,0,0)	[SP--]=R1	// QImode moveInstructionLine:(0,1101,0,0)	R1=0	// QImode moveInstructionLine:(0,1102,0,0)	[SP--]=R1	// QImode moveInstructionLine:(0,1103,0,0)	R1=BP	// QImode moveInstructionLine:(0,1104,0,0)	R2=BP+1InstructionLine:(0,1105,0,0)	R3=R2	// QImode moveInstructionLine:(0,1106,0,0)	R1=[R3]	// QImode moveInstructionLine:(0,1107,0,0)	[SP--]=R1	// QImode moveInstructionLine:(0,1108,0,0)	CALL _LED_Display	// call with return valueInstructionLine:(0,1109,0,0)	SP = SP + 3	//SPSectionLine:(0,1110,0,0).debugStorageLine:(0,1111,0,0)	.dw '.stabn 0x44,0,91,',0,0StorageLine:(0,1112,0,0)	.dd LM34-_mainStorageLine:(0,1113,0,0)	.dw 0x0d,0x0aSectionLine:(0,1114,0,0).codeInstructionLine:(0,1115,0,0)LM34:InstructionLine:(0,1116,0,0)LBE8:InstructionLine:(0,1117,0,0)L11:SectionLine:(0,1118,0,0).debugStorageLine:(0,1119,0,0)	.dw '.stabn 0x44,0,93,',0,0StorageLine:(0,1120,0,0)	.dd LM35-_mainStorageLine:(0,1121,0,0)	.dw 0x0d,0x0aSectionLine:(0,1122,0,0).codeInstructionLine:(0,1123,0,0)LM35:InstructionLine:(0,1124,0,0)LBE3:InstructionLine:(0,1125,0,0)	PC=L3	// jumpInstructionLine:(0,1126,0,0)L4:SectionLine:(0,1127,0,0).debugStorageLine:(0,1128,0,0)	.dw '.stabn 0x44,0,94,',0,0StorageLine:(0,1129,0,0)	.dd LM36-_mainStorageLine:(0,1130,0,0)	.dw 0x0d,0x0aSectionLine:(0,1131,0,0).codeInstructionLine:(0,1132,0,0)LM36:InstructionLine:(0,1133,0,0)LBE2:SectionLine:(0,1134,0,0).debugStorageLine:(0,1135,0,0)	.dw '.stabn 0x44,0,94,',0,0StorageLine:(0,1136,0,0)	.dd LM37-_mainStorageLine:(0,1137,0,0)	.dw 0x0d,0x0aSectionLine:(0,1138,0,0).codeInstructionLine:(0,1139,0,0)LM37:InstructionLine:(0,1140,0,0)L2:CommentLine:(0,1141,0,0)InstructionLine:(0,1142,0,0)	SP+=31InstructionLine:(0,1143,0,0)	POP BP from [SP]InstructionLine:(0,1144,0,0)	RETFProcDefEndLine:(0,1145,0,0)	

⌨️ 快捷键说明

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