PDA

View Full Version : Need help please! - - - - ASM i386x86 -64


Gifted
April 15th, 2008, 01:37 AM
I need a quick tip if you would like to call it that, on compiling asm code. I am new at writing asm, and was trying out nasm. Then realized i had to goto yasm. I just need a quick (how to) to see the steps of compiling a asm code. When I compile it, it spits out the compiled asm prog, "i think" but when executed, says "cannot read binary" or something similiar. So like I asked, a breif compiling example would be greatly appreciated. I also have tried google inside out, and can't exactly find it. Thanks again!

EnkiduinNZ
April 15th, 2008, 07:00 AM
The usual procedure is compile, then link, to produce an executable. You seem to be doing the compile but not the link.

Cheers,

Cliff