Bss Section Defining Directive (.Bss) - Epson S5U1C17001C Manual

Cmos 16-bit single chip microcomputer, c compiler package for s1c17 family
Hide thumbs Also See for S5U1C17001C:
Table of Contents

Advertisement

8.5.3 Bss Section Defining Directive (.bss)

list of bss section defining directives
Declares a .bss section for data without an initial value.
.bss
instruction format
.section .bss
Description
Declares the start of a uninitialized data section. Statements following this instruction are assembled as those to
be mapped in the .bss section, until another section is declared.
Example: .section .bss
note
• The labels described in the .bss section will be defined as local symbols by default. To define a global
symbol, use the .global directive.
Example:
.section .bss
.align
VAR1:
.skip
.section .bss
.global
.align
VAR2:
.skip
• Areas in .bss sections can be secured using the .skip directive. The .space directive cannot be used
because it has an initial data.
S5U1C17001C ManUal
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
Defines a .bss section.
2
Defines the 4-byte local variable VAR1.
4
VAR2
2
Defines the 4-byte global variable VAR2.
4
EPSOn
8 aSSEMBlEr
8
Assemblr
8-7

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S5U1C17001C and is the answer not in the manual?

Questions and answers

Table of Contents