Table of Contents        Previous topic       Next topic       

CROSS ASSEMBLER->Assembly List Format->Error Line

If an error is detected during assembly, a descriptive error message is generated.  A line number is also given and this is usually the number of the line in which the error occurred.  However, if a macro is being expanded the line number listed is then that of the macro call.  

Following this error message, the actual line in which the error occurred is listed.  The line is listed exactly as entered in the source file (ie it is not formatted into fields).  A marker '^' may be inserted into this listed line to indicate the position within the line that the assembler had reached when the error was detected.  

Error messages are generated even if the NOLIST directive has been used.

The following example illustrates a typical error message:

error.asm: **** ERROR at line 1       No such label
    mov    Alpha,^R0