beautypg.com

26 nolist — disable listing, Nolist — disable listing, Assembler directives 8.26 nolist — disable listing – Motorola HC12 User Manual

Page 192

background image

User’s Manual

MCUez HC12 Assembler

192

Assembler Directives

MOTOROLA

Assembler Directives

8.26 NOLIST — Disable Listing

Syntax:

NOLIST

Description:

Suppresses printing of the following instructions in the
assembly listing and debug files until a

LIST

directive is

reached.

Example:

This portion of code:

aaa: nop

list

bbb: nop

nop

nolist

ccc: nop

nop

list

ddd: nop

nop

Generates this listing file:

1 1 000000 A7

aaa:

nop

2 2

4 4 000001 A7

bbb:

nop

5 5 000002 A7

nop

6 6

; The gap in the location counter is due to

; instructions

; which are defined inside a NOLIST block.

13 13 000005 A7

ddd:

nop

14 14 000006 A7

nop

The gap in the location counter is due to instructions defined
inside a

NOLIST

block.