CHAPTER 4: ASSEMBLER
78
EPSON
S5U1C63000A MANUAL
(S1C63 FAMILY ASSEMBLER PACKAGE)
4.7.9 Symbol Defining Pseudo-Instruction (.set)
Instruction format
.set
<Symbol>[,] <Value>
<Symbol>:
Symbols for value reference
• 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 _.
• Uppercase and lowercase are discriminated.
When assembling with the "-c" option, all symbols are case insensitive.
• One or more spaces, or tabs are necessary between the instruction and the symbol.
<Value>:
Value specification
• Only decimal, binary, and hexadecimal numbers can be described.
• The values that can grammatically be specified are from 0 to 65,535 (0xffff).
• One or more spaces, tabs, or a comma (,) are necessary between the instruction and the value.
Sample description:
.set
DATA1 0x20
.set
STACK1 0x100
Function
Defines a symbol for a value such as an absolute address.
Precaution
When the defined symbol is used as an operand, the defined value is referred as is. Therefore, if the
value exceeds the valid range of the operand, a warning will result.
Example:
.set DATA1 0xff00
ldb
%ext,DATA1@h
... OK
ldb
%xl,DATA1@l
... OK
ld
%a,DATA1
... Warning
Содержание S5U1C63000A
Страница 1: ...MF910 06 CMOS 4 BIT SINGLE CHIP MICROCOMPUTER S1C63 Family Assembler Package S5U1C63000A Manual ...
Страница 4: ......
Страница 14: ......
Страница 304: ......
Страница 305: ...S1C63 Family Assembler Package Quick Reference ...