Chapter 9 Writing Machine Language Instructions and Directive Statements

9.4.4listoff, liston

Syntax

label operation operand

[name] listoff

.

.

.

[name] liston

Functional description

The listoff and liston directives are used in pairs. Statements from the statement following the listoff directive until the statement preceding the liston directive will not be output to the list file. These directives are used when you do not want to output an already debugged program to the list file.

NOTE:

The listoff and liston directives themselves are output.

 

 

 

Only output to the list file will be suppressed. Output of object code will not be suppressed at all.

Operand coding rules

These directives take no operands.

Usage example

Below is an example use of the listoff and liston directives. The mov 0x22,D0 is a statement that should not be output to the list file.

_CODE

section

CODE, PUBLIC, 2

main

mov

0x11, D0

 

 

listoff

 

 

mov

0x22, D0

 

liston

 

 

mov

0x33, D0

 

end

 

Writing Directive Statements 159

Page 171
Image 171
Panasonic MN1030 Listoff, liston, Label operation operand Name listoff Name liston, These directives take no operands