End; Default Settings - Panasonic PanaXSeries MN1030 Series User Manual

Panasonic microcomputer user's manual
Table of Contents

Advertisement

Chapter 9 Writing Machine Language Instructions and Directive Statements
9.4.3

end

Syntax
label
[name]

Default settings

If the end directive is omitted, the assembler file will assume that the end of the file is the end of the
program.
Functional description
This directive is coded once at the end of a program. All text coded after the end directive will be
ignored by the assembler (but it will be output to the source list).
When a name is coded in the label field, the current location counter value will be assigned to it.
Operand coding rules
The end directive takes no operands. If operands are coded, they will cause an assembler syntax error.
Usage example
Below is an example use of the end directive.
_CODE
main
158 Writing Directive Statements
operation operand
end
section
CODE, PUBLIC, 2
jsr
data_move
mov
0, D0
.
.
end

Advertisement

Table of Contents
loading

Table of Contents