User’s Manual MCUez HC12 Assembler
188 Assembler Directives MOTOROLA
Assembler Directives
8.22 LONGEVEN — Forcing Longword AlignmentSyntax: LONGEVEN
Description: This directive forces the next instruction to the next long-word
address relative to the start of the section. LONGEVEN is an
abbreviation for ALIGN 4.
Example:
2 2 000000 01 dcb.b 1,1
; location counter is not a multiple of 4, filling bytes are
; required.
3 3 000001 0000 00 longeven
4 4 000004 0002 0002 dcb.w 2,2
; location counter is already a multiple of 4, no filling bytes
; are required.
5 5 longeven
6 6 000008 0202 dcb.b 2,2
7 7 ; following is for text section
8 8 s27 SECTION 27
9 9 000000 A7 nop
; location counter is not a multiple of 4, 3 filling bytes
; are required.
10 10 000001 0000 00 longeven
11 11 000004 A7 nop