English
Language : 

UPD17P133 Datasheet, PDF (266/289 Pages) NEC – 4-BIT SINGLE-CHIP MICROCONTROLLER
CHAPTER 19 ASSEMBLER RESERVED WORDS
19.1 MASK OPTION PSEUDO INSTRUCTIONS
To create µPD17120, 17121, 17132, and 17133 programs, it is necessary to specify whether pins that can have
pull-up resistors have pull-up resistors. This is done in the assembler source program using mask option pseudo
instructions. To set the mask option, note that D171××.OPT file in the AS171×× (µPD171×× device file) must be in
the current directory at assembly time.
Specify mask options for the following pins:
• RESET pin
• Port 0D (P0D3, P0D2, P0D1, P0D0)
• Port 0E (P0E1, P0E0)
19.1.1 OPTION and ENDOP Pseudo Instructions
The block from the OPTION pseudo instruction to the ENDOP pseudo instruction is defined as the option definition
block.
The format for the mask option definition block is shown below. Only the three pseudo instructions listed in Table
19-1 can be described in this block.
Format:
Symbol
[label:]
Mnemonic
OPTION
•
•
•
•
ENDOP
Operand
Comment
[;comment]
251