Hey,
I want to learn assembler and need a compiler(assembler).
Can I integrate an assembler in code::blocks?
Did you know a good one?
I thank you in advance for your time and look forward to your replys.
Best regards
pisco
Quote from: pisco on January 17, 2010, 06:18:44 PM
I want to learn assembler and need a compiler(assembler).
GCC handles assembly just fine.
in codeblocks I think gcc is pre-installed. So i only have to save the asm files as .asm
Correct me if i am wrong...
greetz
Quote from: pisco on January 17, 2010, 07:27:44 PM
Correct me if i am wrong...
What I meant was inline assembly. So you don't even need to use ASM files. Refer to the GCC manual for more information.
but I want to code in pure assembly.
I searched on the internet for an assembler and found nasm (http://en.wikipedia.org/wiki/Netwide_Assembler)
Is it possible to integrated this assembler in code::blocks?
greetz
Quote from: pisco on January 17, 2010, 07:59:28 PM
Is it possible to integrated this assembler in code::blocks?
Generally yes, but it's not that easy (you'll need to implement your own compiler).
However, if you only want to code assembler, have a look as RadAsm (http://www.oby.ro/rad_asm) which is pretty good.
thx a lot for your answer MortenMacFly. One last quesition:
Quote from: pisco on January 17, 2010, 07:59:28 PM
Is it possible to integrated this assembler in code::blocks?
greetz
Quote from: pisco on January 17, 2010, 09:34:22 PM
thx a lot for your answer MortenMacFly. One last quesition:
Quote from: pisco on January 17, 2010, 07:59:28 PM
Is it possible to integrated this assembler in code::blocks?
Did you
read my last post? :shock:
GREETZ. :lol:
If playing with options to the assembler and linker are not a big concern, you can also set C::B to use an custom makefile that handles running as/ld as needed, for whatever assembler you're using.
I usually keep the GNU and Netwide assemblers around, plus the local systems where available (e.g. MASM)