Epson S5U1C63000A User Manual

Page 107

Advertising
background image

CHAPTER 5: LINKER

S5U1C63000A MANUAL

EPSON

93

(S1C63 FAMILY ASSEMBLER PACKAGE)

-bss <address>

Function: Set up of a relocatable BSS section start address

Explanation: • Sets the absolute start address of a relocatable BSS section. Absolute sections

remain unaffected.

• BSS sections are mapped in succession from this address, unless otherwise

specified.

• One or more spaces or tabs are necessary between -bss and <address>.
• The address should be described in hexadecimal format (0xnnnn).

Default: If this option is not specified, the BSS section will begin from the RAM physical

start address specified with the ICE parameter file.

Sample description:

-bss 0x000

-rcode <file name>=<address>

Function: Set up of the file-specific CODE section start address

Explanation: • Sets the absolute address to map the CODE section of the specified module.

This command serves to specify a module having a code to be fixed at a specific
address, such as the interrupt vector. Absolute sections in the specified file
remain unaffected.

• One or more spaces or tabs are necessary between -rcode and <file name>.
• The address should be described in hexadecimal format (0xnnnn).

Default: If this option is not specified, the CODE section of each module is mapped

continuously from the address that was set by the -code option.

Sample description:

-rcode test1.o = 0x0110

-rdata <file name>=<address>

Function: Set up of the file-specific DATA section start address

Explanation: • Sets the absolute address to map the DATA section of the specified module.

This command serves to specify a module having data to be fixed at a specific
address of the data ROM. Absolute sections in the specified file remain unaf-
fected.

• One or more spaces or tabs are necessary between -rdata and <file name>.
• The address should be described in hexadecimal format (0xnnnn).

Default: If this option is not specified, the DATA section of each module is mapped

continuously from the address that was set by the -data option.

Sample description:

-rdata test1.o = 0x8100

-rbss <file name>=<address>

Function: Set up of the file-specific BSS section start address

Explanation: • Sets the absolute address to map the BSS section of the specified module. This

command serves to specify a module having a symbol to be fixed at a specific
address of the RAM. Absolute sections in the specified file remain unaffected.

• One or more spaces or tabs are necessary between -rbss and <file name>.
• The address should be described in hexadecimal format (0xnnnn).

Default: If this option is not specified, the BSS section of each module is mapped continu-

ously from the address that was set by the -bss command.

Sample description:

-rbss test1.o = 0x100

-defsym <symbol name>=<address>

Function: Specification of a global symbol address

Explanation: • The absolute address of a global symbol is given for the referencing side.

• The symbols to be specified with this option should not be defined in the

source as an actual address label that can be referred to.

• One or more spaces or tabs are necessary between -defsym and <symbol

name>.

Sample description:

-defsym BOOT = 0x100

When inputting an option in the command line, one or more spaces are necessary before and after the
option.

Examples:

c:\epson\s1c63\bin\lk63 -defsym INIT=0x200 test.cm par63xxx.par

c:\epson\s1c63\bin\lk63 -g -e -s -m test1.o test2.o -o test.abs par63xxx.par

Advertising