diff --git a/CCode/TechnicalSeminar/.vs/TechnicalSeminar/FileContentIndex/ca670f07-ddff-43ba-a0fd-64550dcb121b.vsidx b/CCode/TechnicalSeminar/.vs/TechnicalSeminar/FileContentIndex/ca670f07-ddff-43ba-a0fd-64550dcb121b.vsidx deleted file mode 100644 index 5eaa439..0000000 Binary files a/CCode/TechnicalSeminar/.vs/TechnicalSeminar/FileContentIndex/ca670f07-ddff-43ba-a0fd-64550dcb121b.vsidx and /dev/null differ diff --git a/CCode/TechnicalSeminar/.vs/TechnicalSeminar/FileContentIndex/e7a778bd-486b-4c9b-9ec6-c354ab1daa77.vsidx b/CCode/TechnicalSeminar/.vs/TechnicalSeminar/FileContentIndex/e7a778bd-486b-4c9b-9ec6-c354ab1daa77.vsidx new file mode 100644 index 0000000..253974c Binary files /dev/null and b/CCode/TechnicalSeminar/.vs/TechnicalSeminar/FileContentIndex/e7a778bd-486b-4c9b-9ec6-c354ab1daa77.vsidx differ diff --git a/CCode/TechnicalSeminar/.vs/TechnicalSeminar/v17/Browse.VC.db b/CCode/TechnicalSeminar/.vs/TechnicalSeminar/v17/Browse.VC.db index c85ffda..cd7f15d 100644 Binary files a/CCode/TechnicalSeminar/.vs/TechnicalSeminar/v17/Browse.VC.db and b/CCode/TechnicalSeminar/.vs/TechnicalSeminar/v17/Browse.VC.db differ diff --git a/CCode/TechnicalSeminar/.vs/TechnicalSeminar/v17/DocumentLayout.json b/CCode/TechnicalSeminar/.vs/TechnicalSeminar/v17/DocumentLayout.json index d148689..0b01fa1 100644 --- a/CCode/TechnicalSeminar/.vs/TechnicalSeminar/v17/DocumentLayout.json +++ b/CCode/TechnicalSeminar/.vs/TechnicalSeminar/v17/DocumentLayout.json @@ -32,7 +32,7 @@ "RelativeDocumentMoniker": "TechnicalSeminar\\Main.c", "ToolTip": "E:\\BingooWorkingSpace\\TechnicalSeminar\\CCode\\TechnicalSeminar\\TechnicalSeminar\\Main.c", "RelativeToolTip": "TechnicalSeminar\\Main.c", - "ViewState": "AQIAAAUAAAAAAAAAAAAAAAwAAAADAAAA", + "ViewState": "AQIAAA8AAAAAAAAAAAAAAB8AAAAWAAAA", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000423|", "WhenOpened": "2024-12-03T05:20:34.977Z", "EditorCaption": "" diff --git a/CCode/TechnicalSeminar/.vs/TechnicalSeminar/v17/Solution.VC.db b/CCode/TechnicalSeminar/.vs/TechnicalSeminar/v17/Solution.VC.db new file mode 100644 index 0000000..7a99500 Binary files /dev/null and b/CCode/TechnicalSeminar/.vs/TechnicalSeminar/v17/Solution.VC.db differ diff --git a/CCode/TechnicalSeminar/TechnicalSeminar/Main.c b/CCode/TechnicalSeminar/TechnicalSeminar/Main.c index f96e16a..7d6cdc0 100644 --- a/CCode/TechnicalSeminar/TechnicalSeminar/Main.c +++ b/CCode/TechnicalSeminar/TechnicalSeminar/Main.c @@ -3,6 +3,13 @@ int* DMA_DAM0404D_Output_Value[4]; int DMA_DAM0404D_Value[4]; int main() { + // 计算表达式的结果 + unsigned int result = (0x7E << 21) + (0x15 << 14) + (0x07 << 7) + 0x3B; + + // 输出结果 + printf("The result is: 0x%X\n", result); // 使用%X以十六进制格式输出 + printf("The result in decimal is: %u\n", result); // 使用%u以十进制格式输出 + for (int i = 0; i < 4; i++) { DMA_DAM0404D_Output_Value[i] = &DMA_DAM0404D_Value[i]; diff --git a/CCode/TechnicalSeminar/TechnicalSeminar/x64/Debug/vc143.idb b/CCode/TechnicalSeminar/TechnicalSeminar/x64/Debug/vc143.idb index fe79840..167d018 100644 Binary files a/CCode/TechnicalSeminar/TechnicalSeminar/x64/Debug/vc143.idb and b/CCode/TechnicalSeminar/TechnicalSeminar/x64/Debug/vc143.idb differ