hi , please convert this block code to intel syntax ( nasm)

xorps  %xmm0, %xmm0
movaps %xmm0, -64(%rbp)
movb   $2, -63(%rbp)
movl   $3103850762, -60(%rbp)
movw   $20480, -62(%rbp)
leaq   -64(%rbp), %r14

Recommended Answers

All 2 Replies

hi , please convert this block code to intel syntax ( nasm)

Nah, I don't really feel like it.

Maybe I am wrong but this could be a first aproach to the solution:

    xorps xmm0, xmm0
    movaps [rbp - 64], %xmm0
    mov byte ptr [rbp - 63], 2
    mov dword ptr [rbp - 60],  3103850762
    mov word ptr [rbp - 62], 20480
    lea r14, [rbp - 64]

Please, forgive my mistakes.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.