Panasonic MN1030 User Manual

Page of 340
Chapter 17   Appendix
318  List of Assembler Directives
17.3 List of Assembler Directives
This section provides a list of assembler directives.
Directives for program control
Directives for symbols
Syntax
Function & Notes
symbol      instruction operand
align
expression
Adjust the location counter  to be a multiple of the 
value indicated by expression. The expression 
must be a power of 2 in the range 1 to 2
15
end
Indicates the end of the program.
org
expression
Change the program address to the value special by 
expression.
expression=label_name+constant
name
section
[definition1 
[,definition2[,expression]]]
Sets the start of a section.
definition 1:  section attribute
                   (CODE | DATA)
definition 2:  link type
             (PUBLIC | PRIVATE | COMMON)
expression: location counter boundary
value           (power of 2).
opt
on | off
Enables/disables optimization
Syntax
Function & Notes
symbol      instruction
operand
name
equ
value
Defines a name as the value of the expression 
coded in the operand.
name
assign
value
Defines a name as the value of the expression 
coded in the operand.
global
name(,name)...
Declares global declarations and global 
references.