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

no-image

s5u1c33000c

Manufacturer Part Number
s5u1c33000c
Description
Cmos 32-bit Single Chip Microcomputer S5u1c33000c Manual
Manufacturer
Epson Electronics America, Inc.
Datasheet
CHAPTER 4: SOURCE FILES
(3) Symbols
Note: The symbols discussed here represent addresses that can be processed by the assembler.
48
Specified ranges of values
The size (specified range) of immediate data varies with each instruction.
The specifiable ranges of different immediate data are given below.
In specifying an address with immediate data, you can use a symbol defined in the source files.
Definition of symbols
Usable symbols are defined as 32-bit values by any of the following methods:
Restrictions on characters
Local and global symbols
Defined symbols are normally local symbols that can only be referenced in the file where they are defined.
Therefore, you can define symbols with the same name in multiple files. To reference a symbol defined in
some other file, you must declare it to be global in the file where the symbol is defined by using the .global
pseudo-instruction.
imm2
imm3
imm4
imm6
sign6
imm8
sign8
imm10
imm13
imm32
sign32
Symbol
Symbols representing defined names and other character strings will be covered in the chapter
relating to the Preprocessor pp33.
1. It is described as a label (in CODE or DATA section)
2. It is defined with a .comm or .lcomm pseudo-instruction (in BSS section)
3. It is defined with a .set pseudo-instruction (symbol definition dedicated absolute assembly)
The maximum number of symbol characters is 128. If this number is exceeded, an error will result.
The characters that can be used are limited to the following:
A–Z a–z _ 0–9
Note that a symbol cannot begin with a numeral. Uppercase and lowercase characters are discriminated.
The symbols defined by the .comm pseudo-instruction are handled as symbols declared to be global.
Declaration by the .global pseudo-instruction is unnecessary.
Example: LABEL1:
Example: .comm BUF1 4
Example: .set ADDR1 0xff00
2-bit immediate data
3-bit immediate data
4-bit immediate data
6-bit immediate data
Signed 6-bit immediate data
8-bit immediate data
Signed 8-bit immediate data
10-bit immediate data
13-bit immediate data
32-bit immediate data
Signed 32-bit immediate data
Table 4.3.2.1 Types of immediate data and their specifiable ranges
Type
0–3
0–7
0–15
0–63
-32–31
0–255
-128–127
0–1023
0–8191
0–4294967295
-2147483648–
2147483647
Decimal
LABEL1 is a symbol that indicates the address of a described
location in CODE or DATA section.
BUF1 is a symbol that indicates the address of a described
location in BSS section.
ADDR1 is a symbol that represents absolute address
0x0000ff00.
EPSON
0x0–0x3
0x0–0x7
0x0–0xf
0x0–0x3f
0x0–0x3f
0x0–0xff
0x0–0xff
0x0–0x3ff
0x0–0x1fff
0x0–0xffffffff
0x0–0xffffffff
Hexadecimal
(C COMPILER PACKAGE FOR S1C33 FAMILY) (Ver. 4)
0b0–0b11
0b0–0b111
0b0–0b1111
0b0–0b111111
0b0–0b111111
0b0–0b11111111
0b0–0b11111111
0b0–0b1111111111
0b0–0b1111111111111
0b0–
0b11111111111111111111111111111111
0b0–
0b11111111111111111111111111111111
Binary
S5U1C33000C MANUAL

Related parts for s5u1c33000c