beautypg.com

11 end — end assembly, End — end assembly – Motorola HC12 User Manual

Page 175

background image

Assembler Directives

END — End Assembly

MCUez HC12 Assembler

User’s Manual

MOTOROLA

Assembler Directives

175

8.11 END — End Assembly

Syntax:

END

Description:

The

END

directive indicates the end of the source code.

Subsequent source statements in this file are ignored. An

END

directive in included files causes subsequent source statements
in the include file to be skipped.

Example:

When assembling the code:

Label: NOP

NOP

NOP

END

NOP ; No code generated

NOP ; No code generated

The generated listing file is:

000000 A7 Label: NOP

000001 A7 NOP

000002 A7 NOP

END