CHAPTER 4: ASSEMBLER
S5U1C63000A MANUAL
EPSON
79
(S1C63 FAMILY ASSEMBLER PACKAGE)
4.7.10 Data Defining Pseudo-Instructions (.codeword, .word)
.codeword pseudo-instruction
Instruction format
.codeword
<Data>[,<Data> ...,<Data>]
<Data>:
13-bit data
• Only decimal, binary and hexadecimal numbers can be described.
• The data that can be specified are from 0 to 8,191 (0x1fff).
• One or more spaces or tabs are necessary between the instruction and the first data.
• A comma (,) is necessary between one data and another.
Sample description:
.code
.codeword
0xa,0xa40,0xff3
Function
Defines 13-bit data to be written to the code ROM.
Precaution
The .codeword pseudo-instruction can be used only in CODE sections.
.word pseudo-instruction
Instruction format
.word
<Data>[,<Data> ...,<Data>]
<Data>:
4-bit data
• Only decimal, binary and hexadecimal numbers can be described.
• The data that can be specified are from 0 to 15 (0xf).
• One or more spaces or tabs are necessary between the instruction and the first data.
• A comma (,) is necessary between one data and another.
Sample description:
.data
.word
0xa,0xb,0xc,0xd
Function
Defines 4-bit data to be written to the data ROM.
Precaution
The .word pseudo-instruction can be used only in DATA sections.
Содержание 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 ...