Assembler Directives - END
END - The end directive tells the assembler that the end of a program has been reached. The operand specifies the starting address of the program.
Usage:
END address
Assuming the starting point of the program was $1000 the END directive would be:
END $1000
A label may be used to specify the start of the program. If the label START specified the starting location of the program the END directive would look like this:
START:
Start of program
code
END START
The starting address is placed in the S-Record file that EASy68k creates and is used by the simulator to set the 68000's program counter to the starting address of the program.