Slide 4.5: A sample program (ReadSub.asm) Slide 4.7: INCLUDE directive Home |
Extension | Comments |
---|---|
.ASM |
Assembly language source file (uncompiled) |
.BAT |
Batch file, ASCII file of DOS commands, [EXECUTABLE] |
.EXE |
Executable file (program) (binary) [EXECUTABLE] |
.LST |
List file |
.MAP |
A text file that contains information about the segments contained in a program being linked |
.OBJ |
Object file |
.PDB |
The program database file with which the debugger is then able to display the program's source code and provide supplemental information about the program. |
TITLE
Directive
TITLE Read and Subtract (ReadSub.asm)
The TITLE
directive marks the entire line as a comment.
call WriteString ; print prompt1
COMMENT
directive and a user specified symbol such as (!).
COMMENT ! This program reads and subtracts 32-bit integers. !