For help, type "help" (nemu) ./runall.sh Unknown command './runall.sh' (nemu) c invalid opcode(eip = 0x00100026): f3 0f 1e fb 55 89 e5 83 ... There are two cases which will trigger this unexpected exception: 1. The instruction at eip = 0x00100026 is not implemented. 2. Something is implemented incorrectly. Find this eip(0x00100026) in the disassembling result to distinguish which case it is. If it is the first case, see _ ____ ___ __ __ __ _ (_)___ \ / _ \ / / | \/ | | | _ __) | (_) |/ /_ | \ / | __ _ _ __ _ _ __ _| | | ||__ < > _ <| '_ \ | |\/| |/ _` | '_ \| | | |/ _` | | | |___) | (_) | (_) | | | | | (_| | | | | |_| | (_| | | |_|____/ \___/ \___/ |_| |_|\__,_|_| |_|\__,_|\__,_|_| for more details. If it is the second case, remember: * The machine is always right! * Every line of untested code is always wrong!怎么解决
时间: 2023-08-21 20:39:44 浏览: 306
nemu pa2.docx
这是一个计算机指令执行错误的提示信息,可能是指令未被正确实现或实现有误导致的。你可以按照提示中的步骤来诊断和解决问题。具体来说,你可以先查看指令的反汇编结果,确认是哪种情况导致的问题,然后分别采取不同的解决方案。如果是第一种情况,你可以参考提示中给出的链接来了解更多信息;如果是第二种情况,你需要谨记机器始终是正确的,每一行未经测试的代码都是错误的这个原则,找到代码中的问题并进行修复。
阅读全文