Assembly (Stage 3) -- Interpreting the assembly errors in the listing file e1v1.lst |
Click here to see e1v1.lst, the listing generated from the command
as68000 -V68020 -L -m -o e1v1.o e1v1.s
The first part of the listing file contains some basic information on what was assembled, when it was assembled and what processor version. The equivalent information will be found in all listing files we generate with the SDS 68K assembler. The header inofrmation can normally be ignored. However, the processor information can be useful during simulation since different processor versions support different instructions.
hdr=68020 Assembler Monday July 1 06:32:01 1996 subtitle=e1v1.s src=t1v0a.s
C EQU $202200
ORG $201150 ----ERROR----> unknown instruction 'ORG'
000000 A DC.W 639
000002 FF29 B DC.W -215
This line is correct. Note that the hex value FF29 ($FF29 or 0xFF29) is the 16 bit equivalent of the negative decimal value -215
This is not a problem here, but can develop into one later if you are not careful.
Many people use the incremental approach in developing code. You develop, assemble, test and debug a small section of code before adding further code. If you forget to remove the END statement between the old and new code (a LSD I have performed many times) you will get very frustrated wondering why the lines are in your source code and not your object and listing files!
![]() |
Last modified: July 02, 1996 06:41 PM by M. Smith.
Copyright -- M. R. Smith