Alla fine ho preso masm perchè in questo momento la bestia è impossibilitata a trovare tasm
Cmq...
io finora avevo utilizzato inline assembly. Come trasformo questo codice per il masm?
codice:
#include <stdio.h>

main()
{
     unsigned int w = 0x12345678;
     int num;

     __asm
     {
        mov eax, w
        xor ebx, ebx
        xor ecx, ecx

loop1:  
        cmp eax, 0
        je fine
        test eax, 1
        jz nonuno
        inc ecx
        cmp ebx, ecx
        cmovb ebx, ecx
        shr eax
        jmp loop1
        
nonuno:
        xor ecx, ecx
        shr eax
        jmp loop1

fine:
        mov num, ebx

      }

    printf("%d", num);  
}