由于生成的汇编代码很长,无法一一贴图(这并不是一种好的描述测试结果的方式),因此,为了展示更多的测试用例和测试结果,已将测试用例源文件、生成的汇编文件和最终程序运行结果存放到相应的文件中,如表1所示。

表1 测试用例、汇编文件和程序运行结果存放位置

| 测试用例名称 | 汇编文件存放位置 | 程序运行结果存放位置 | | ------------ | ---------------------------------- | --------------------------------- | | test1.c | test1.s in test1文件夹 | test1_result.txt in test1文件夹 | | test2.c | test2.s in test2文件夹 | test2_result.txt in test2文件夹 | | test3.c | test3.s in test3文件夹 | test3_result.txt in test3文件夹 | | test4.c | test4.s in test4文件夹 | test4_result.txt in test4文件夹 | | test5.c | test5.s in test5文件夹 | test5_result.txt in test5文件夹 | | test6.c | test6.s in test6文件夹 | test6_result.txt in test6文件夹 | | test7.c | test7.s in test7文件夹 | test7_result.txt in test7文件夹 | | test8.c | test8.s in test8文件夹 | test8_result.txt in test8文件夹 | | test9.c | test9.s in test9文件夹 | test9_result.txt in test9文件夹 | | test10.c | test10.s in test10文件夹 | test10_result.txt in test10文件夹 |

注:以上文件夹均为与本文同级的文件夹。

汇编代码测试用例和结果文件存放位置

原文地址: https://www.cveoy.top/t/topic/n3q3 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录