Assembly (Stage 3.1) -- Interpreting the assembly errors in file "t1v0.s"

Click here to see t1v0.lst, the listing generated from the command

as68000 -V 68020 -L -o t1v0.o t1v0.s


The meaning of the lines in the listing file "t1v0.lst"

  1. The first series of errors arise because we simply "stuck comments" at the start of the "t1v0.s" source file without the semicolon (;) to mark the start of the comment.
  2. The assembler has accepted that the "word" (or label) C has the "meaning" (value) of hexadecimal 00202200.
         	C	EQU	$202200
        
  3. The SDS assembler does not recognize the HVZ standard Motorola assembler directive ORG
    	      		ORG	$201150
    ----ERROR----> unknown instruction 'ORG'
        
  4. The SDS assembler has recognized the need to set aside storage for the word-length (16 bits) value 639, storing it as the hexadecimal value 027F. This suggests that for ease of recognition during code development, we should change all "easy" decimal values into "easy" hexadecimal (hex) values when using the SDS tool set.
    000000 		       	A	DC.W	639
    ----ERROR----> symbol 'A' already defined
    000000 027F
        

    How ever, the assembler did not recognize that the "name" for this memory location could be A, believing that this "name" or "symbol" was already defined, is in use, else where in the file.

    The reason that "A" is already defined is because of a previous error introduced by the comment

        	A 68000 routine for C 
    

    when we unintentionally put "A" into the label field. For a more detailed explanation see this page in the "Full Companion".

  5. The other errors are the same as in file "t1v0a.lst" and were discussed earlier.


Last modified: July 14, 1996 06:36 PM
by M. Smith. Copyright -- M. R. Smith