English
Language : 

UPD789304 Datasheet, PDF (30/64 Pages) NEC – 8-BIT SINGLE-CHIP MICROCONTROLLER
µPD789304, 789306, 789314, 789316
10. OVERVIEW OF INSTRUCTION SET
This section lists the instruction set for the µPD789304, 789306, 789314, and 789316.
10.1 Conventions
10.1.1 Operand expressions and description methods
Operands are described in “Operand” column of each instruction in accordance with the description method of the
instruction operand expression (see the assembler specifications for details). When there are two or more description
methods, select one of them. Uppercase letters and symbols, #, !, $, and [ ] are key words and are described as they
are. The meaning of each symbol is described below.
• # : Immediate data specification
• ! : Absolute address specification
• $ : Relative address specification
• [ ] : Indirect address specification
For immediate data, enter an appropriate numeric value or a label. When using a label, be sure to enter the #, !, $
and [ ] symbols.
For operand register expressions, r and rp, either function names (X, A, C, etc.) or absolute names (names in
parenthesis in the table below, R0, R1, R2, etc.) can be used for the description.
Table 10-1. Operand Expressions and Description Methods
Expression
r
rp
sfr
saddr
saddrp
addr16
addr5
word
byte
bit
Description Method
X (R0), A (R1), C (R2), B (R3), E (R4), D (R5), L (R6), H (R7)
AX (RP0), BC (RP1), DE (RP2), HL (RP3)
Special function register symbol
FE20H to FF1FH: immediate data or label
FE20H to FF1FH: immediate data or label (even addresses only)
0000H to FFFFH: immediate data or label
(even addresses only for 16-bit data transfer instruction)
0040H to 007FH: immediate data or label (even addresses only)
16-bit immediate data or label
8-bit immediate data or label
3-bit immediate data or label
30
Data Sheet U14384EJ1V0DS