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.
我在教科书上看到movw %dx (%eax)了,我想知道为什么使用movw而不是movswl或movzwl这里?
movw %dx (%eax)
movw
movswl
movzwl
我认为(对于 32 位机器)有 2 个字节%dx和 4 个字节,所以它需要扩展吗?(%eax)
%dx
(%eax)