beautypg.com

Motorola HC12 User Manual

Page 171

background image

Assembler Directives

DC — Define Constant

MCUez HC12 Assembler

User’s Manual

MOTOROLA

Assembler Directives

171

Example for

DC.L

:

000000 0000 0041

Label: DC.L "ABCDE"

000004 4243 4445

000008 0000 000A

DC.L %1010, @12, 1, $A

00000C 0000 000A

000010 0000 0001

000014 0000 000A

000018 xxxx xxxx DC.L Label

If the value in an operand expression exceeds the size of the
operand, the value is truncated and a warning message is
generated.