Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我们有:
test dword ptr [eax], 2000h je label1:
除了使跳跃发生之外0,还有其他价值吗?dword ptr [eax]
0
dword ptr [eax]
指令测试的工作方式与指令类似,唯一的区别是结果不会存储回目标操作数。所以答案是肯定的。在内存地址 [eax] 上没有设置第 13 位的所有二进制数,或所有像 b'xxxxxxxx xxxxxxxx xx0xxxxx xxxxxxxx' 这样的数字,其中 x 为 0 或 1,正好有 2^31 个数字。