Chapter 17 Appendix

Directives for data area allocation

 

Syntax

Function & Notes

 

 

symbol instruction

operand

 

 

 

 

dc

definition expression(,definition

Allocates 8-bit data areas.

 

expression)...

 

 

 

 

dw

expression(,expression)...

Allocates 16-bit data areas.

 

 

 

dd

expression(,expression)...

Allocates 32-bit data areas.

 

 

 

ds

expression1 [,expression2[.

Allocates the number of bytes specified by

 

expression3]]

expression1 to a data area.

 

 

If expression2(initial value) is specified, the data

 

 

area will be filled with that initial value. If

 

 

expression3(repeat count) is specified, this

 

 

operation will be repeated for the specific

 

 

number of times.

 

 

 

Directives for list control

 

Syntax

Function & Notes

 

 

symbol instruction

operand

 

 

 

 

tit

[“string”]

Specifies the header for the list file.

 

 

 

listoff

 

Suppresses list output from the next line after this

 

 

directives.

 

 

 

liston

 

Resume list output from the line of this

 

 

directives.

 

 

 

xlistoff

 

Suppresses list output from the line of this

 

 

directives.

 

 

 

xliston

 

Resume list output from the next line after this

 

 

directives.

 

 

 

page

lines[, columns]

Specifies the number of lines and columns on a

 

 

page of list file.

 

 

 

List of Assembler Directives 319

Page 331
Image 331
Panasonic MN1030 user manual Directives for data area allocation, Directives for list control