78
EPSON
S5U1C62000A MANUAL
(S1C60/62 FAMILY ASSEMBLER PACKAGE)
CHAPTER 5: ASSEMBLER
5.7.8 Data Defining Pseudo-Instruction (.codeword)
.codeword pseudo-instruction
Instruction format
.codeword
<Data>[,<Data> ...,<Data>]
<Data>:
12-bit data
• Only decimal, binary and hexadecimal numbers can be described.
• The data that can be specified are from 0 to 4096 (0xfff).
• 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 the 12-bit data to be written to the program ROM.
Precaution
The .codeword pseudo-instruction can be used only in a CODE section.