Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/15/03 09:05
Read: times


 
#52642 - RE: header file in .asm
Responding to: ???'s previous message
hi bips,

you use inc files in following cases (if assembler supports offcourse)


1. you have some hsared code which you want to use in multiple projects. its just like 'c' '.H' files but not the syntax.

2. you want to reduce your project into modules. in this case you may have one main module and other INC modules.

there is no restriction on the contents of an include file it may have any thing that an assembly source code file may have.

for example if you have an inc like this

temp.inc

blah
blah
proc0:
blah
blah
ret

and main module main.a51

code
code
include "temp.inc"
code
code

this is equalent to

code
code
blah
blah
proc0:
blah
blah
ret
code
code


to best of my knowledge.


abhishek

List of 9 messages in thread
TopicAuthorDate
header file in .asm            01/01/70 00:00      
   RE: header file in .asm            01/01/70 00:00      
   RE: header file in .asm            01/01/70 00:00      
      RE: header file in .asm            01/01/70 00:00      
         RE: header file in .asm            01/01/70 00:00      
            RE: header file in .asm            01/01/70 00:00      
               RE: header file in .asm, abshiek            01/01/70 00:00      
                  RE: header file in .asm, Erik and Bips            01/01/70 00:00      
         RE: header file in .asm            01/01/70 00:00      

Back to Subject List