| ??? 12/14/07 16:05 Modified: 12/14/07 16:08 Read: times |
#148229 - From the Avocet AVMAC 8051 User\'s Manual Responding to: ???'s previous message |
5.2.3 INCLUDE
Another method of modularizing your source code is to INCLUDE
entire files within the main file. This is possible using either
the preprocessor %INCLUDE (discussed in Chapter 8, Macros and
Conditional Assembly), or an assembly-time INCLUDE pseudo-op:
INCLUDE "header.h"
Note that the INCLUDE must not begin in the first column. The
double quote marks (" ") around the file to be included mean that
the file hearder.h resides in the current directory. Surrounding
the filename with angle brackets (< >), as in:
INCLUDE <header.h>
means that the file resides in the MS-DOS INCLUDE directory. This
directory is 'set' similarly to the MS-DOS PATH variable (see
section 1.5.3).
Note: if an included file has an END statement in it, assembly
will cease at that point, just as if you had typed the END
statement into the source file itself.
Rev 2.3, Septemeber 1988 --> I also have a 2500 AD 68hc11 asm manual and will post that next. GB |
| Topic | Author | Date |
| 2500AD | 01/01/70 00:00 | |
| Its an old product | 01/01/70 00:00 | |
| Mine's a lot older ... 1985 or so ... | 01/01/70 00:00 | |
| down memory lane | 01/01/70 00:00 | |
| Are You sure it is not 2500 B.C. ? | 01/01/70 00:00 | |
| Actually ... | 01/01/70 00:00 | |
| Any Help | 01/01/70 00:00 | |
| It wasn't a compiler, was it? | 01/01/70 00:00 | |
| From the Avocet AVMAC 8051 User\'s Manual | 01/01/70 00:00 | |
| From the 2500 AD X68C11 Manual | 01/01/70 00:00 | |
| Maybe still there are hopes... | 01/01/70 00:00 | |
| Thank you | 01/01/70 00:00 | |
| Newer assembler? | 01/01/70 00:00 | |
Just was i was getting at :-p | 01/01/70 00:00 |



