Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
59
Добавлен:
14.04.2015
Размер:
2.03 Mб
Скачать

196

Chapter 7. Invocation and Controls

 

 

Running Ax51

The Ax51 assembler is invoked by typing the program name at the Windows command prompt. On this command line, you must include the name of the assembler source file to be translated, as well as any other necessary assembler controls required to translate your source file. The format for the Ax51 command line is:

A51 sourcefile directives…

AX51 sourcefile directives…

A251 sourcefile directives…

or:

A51 @commandfile

AX51 @commandfile

A251 @commandfile

 

 

where

 

 

 

sourcefile

is the name of the source program you want to assemble.

 

 

controls

are used to direct the operation of the assembler. Refer to

 

 

 

“Assembler Controls” on page 197 for more information.

 

 

commandfile

is the name of a command input file that may contain

 

 

 

sourcefile and directives. A commandfile is used, when the

 

 

 

Ax51 invocation line gets complex and exceeds the limits of

 

 

 

the Windows command prompt.

 

 

The following command line example invokes A251 macro assembler and

 

 

specifies the source file SAMPLE.A51 and uses the controls DEBUG, XREF,

7

 

and PAGEWIDTH.

 

 

 

A251 SAMPLE.A51 DEBUG XREF PAGEWIDTH(132)

 

A251 displays the following information upon successful invocation and

 

 

 

 

 

assembly.

 

 

 

 

 

 

A251 MACRO ASSEMBLER V3.00

 

 

ASSEMBLY COMPLETE.

0 ERROR(S) 0 WARNING(S)

Соседние файлы в папке HLP