The MASM Forum

General => The Campus => Topic started by: test1 on September 04, 2013, 03:03:39 AM

Title: Assembly Project Order
Post by: test1 on September 04, 2013, 03:03:39 AM
I'm using WinAsm IDE for assembly development and I wanna make my whole code more like C++ projects order.
I mean, seperate the whole code into headers file and source code.

how can I do it?

Title: Re: Assembly Project Order
Post by: qWord on September 04, 2013, 04:58:08 AM
Add a include-file (*.inc) to the project, move all declaration in it and include:
include foo.inc

If you want to split the code into several modules, add new ASM files to the project and mark them as Module, thus they get assembled separately.
Title: Re: Assembly Project Order
Post by: Vortex on September 04, 2013, 05:00:13 AM
Hi test1,

Welcome to the forum.

If you installed the Masm32 package, you can find some examples there :

\masm32\examples\exampl01\bmbutton.inc
\masm32\examples\exampl01\bmbutton.asm
Title: Re: Assembly Project Order
Post by: Gunther on September 04, 2013, 05:31:05 AM
Hi test1,

welcome to the forum.

Gunther
Title: Re: Assembly Project Order
Post by: hutch-- on September 04, 2013, 12:04:22 PM
Hi test1,

Welcome on board. I moved the post to the Campus so you would get more answers.
Title: Re: Assembly Project Order
Post by: test1 on September 04, 2013, 11:59:45 PM
Thank you all nice people :)