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.
我有这些表达:
cltd idivl (%ecx)
当除以int, 和:
int
movl $0, %edx divl (%ecx)
分割时unsigned long
unsigned long
cltd
idiv执行有符号除法,div执行无符号除法。
idiv
div