Is there a way to obtain NASM code from a C-like language?

Is there a way to obtain NASM code from a C-like language?

I need to implement an optimized Algorithm in NASM, unfortunately is a bit difficult for me since I'm new to its syntax. So I'm looking for a way to translate a C program in NASM.

Any tool or suggestion to help me?

 

Thanks

4 post / 0 nuovi
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione

The only method I suppose is to look at C program disassembly and try to translate it manually to NASM syntax.

Yes, there's no other way know of other than deciphering the c assembly and convert to nasm accordingly....

Regards, Kittur

For simple programs or  functions it is quite beneficial for understanding the assembly implementation.

Accedere per lasciare un commento.