s5u1c33000c Epson Electronics America, Inc., s5u1c33000c Datasheet - Page 185

no-image

s5u1c33000c

Manufacturer Part Number
s5u1c33000c
Description
Cmos 32-bit Single Chip Microcomputer S5u1c33000c Manual
Manufacturer
Epson Electronics America, Inc.
Datasheet
11.8.3 Area Securing Pseudo-Instructions (.comm, .lcomm)
.comm pseudo-instruction
Instruction format
Function
Precautions
S5U1C33000C MANUAL
(C COMPILER PACKAGE FOR S1C33 FAMILY) (Ver. 4)
.comm <Symbol>[,] <Size>
<Symbol>: Symbols for memory access (address reference)
<Size>:
Sample description:
Sets an area of the specified size in the BSS section, and creates a symbol indicating its top address with the
specified name. By using this symbol, you can describe an instruction to access the memory. The symbols
created by the .comm pseudo-instruction become global symbols, which can be referred to externally from
other modules.
Only the .comm and .lcomm pseudo-instructions are processed as BSS sections. If some other statement
follows the .comm or .lcomm pseudo-instruction, the previous section type applies from that point.
For details on the sections, refer to Section 11.7 "Definition of Sections".
A BSS section can be divided among multiple locations of a source file for purposes of definition
(describing the .comm pseudo-instruction in the respective start positions).
However, not that multiple BSS section cannot be defined in an absolute source file. The total of sections
that can be defined in one source file is maximum 256 in the absolute assembling.
The address to be assigned the symbol is adjusted to the boundary according to the data size.
Data size: 1
2
3 or more
Number of bytes of the area to be secured
.comm FOO 4
The 1st character is limited to a–z, A–Z and _.
The 2nd and the subsequent character can use a–z, A–Z, 0–9 and _.
Up to 128 characters can be used for symbol names.
Uppercase and lowercase are discriminated.
One or more spaces, tabs or a comma (,) are necessary between instruction and symbol.
Only decimal, binary and hexadecimal numbers can be described.
One or more spaces, tabs or a comma (,) are necessary between symbol and size.
Byte boundary
Half word boundary
Word boundary
EPSON
CHAPTER 11: ASSEMBLER
169

Related parts for s5u1c33000c