• gheesh@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    11 hours ago

    The instruction is smaller than “mov eax, 0” (because it includes the 32-bit zero) and the result is the same. Notice that smaller may mean more instructions in cache for a tight loop, so it may also result in better performace, too.