User's Manual U11919EJ3V0UM00
185
CHAPTER 14 INSTRUCTION SET
This chapter lists the instruction set of the
µ
PD789026 Subseries. For the details of the operation and machine
language (instruction code) of each instruction, refer to 78K/0S Series User's Manual
Instruction (U11047E).
14.1 Operation
14.1.1 Operand identifiers and writing methods
Operands are written in "Operand" column of each instruction in accordance with the writing method of the
instruction operand identifier (refer to the assembler specifications for detail). When there are two or more writing
methods, select one of them. Alphabetic letters in capitals and symbols, #, !, $, and [ ] are key words and are written
as they are. Each symbol has the following meaning.
•
# : Immediate data specification
•
!
: Absolute address specification
•
$ : Relative address specification
•
[ ] : Indirect address specification
In the case of immediate data, write an appropriate numeric value or a label. When using a label, be sure to
write the #, !, $ and [ ] symbols.
For operand register identifiers, r and rp, either functional names (X, A, C, etc.) or absolute names (names in
parentheses in the table below, R0, R1, R2, etc.) can be used.
Table 14-1. Operand Identifiers and Writing Methods
Identifier
Writing Method
r
rp
sfr
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
saddr
saddrp
FE20H to FF1FH Immediate data or labels
FE20H to FF1FH Immediate data or labels (even addresses only)
addr16
addr5
0000H to FFFFH Immediate data or labels (only even addresses for 16-bit data transfer instructions)
0040H to 007FH Immediate data or labels (even addresses only)
word
byte
bit
16-bit immediate data or label
8-bit immediate data or label
3-bit immediate data or label
Remark
See Table 3-4 for symbols of special function registers.
www.DataSheet4U.com
Summary of Contents for UPD789022
Page 2: ...User s Manual U11919EJ3V0UM00 2 MEMO www DataSheet4U com ...
Page 8: ...User s Manual U11919EJ3V0UM00 8 MEMO www DataSheet4U com ...
Page 12: ...User s Manual U11919EJ3V0UM00 12 MEMO www DataSheet4U com ...
Page 22: ...User s Manual U11919EJ3V0UM00 22 MEMO www DataSheet4U com ...
Page 32: ...User s Manual U11919EJ3V0UM00 32 MEMO www DataSheet4U com ...
Page 84: ...User s Manual U11919EJ3V0UM00 84 MEMO www DataSheet4U com ...
Page 92: ...User s Manual U11919EJ3V0UM00 92 MEMO www DataSheet4U com ...
Page 104: ...User s Manual U11919EJ3V0UM00 104 MEMO www DataSheet4U com ...
Page 166: ...User s Manual U11919EJ3V0UM00 166 MEMO www DataSheet4U com ...
Page 178: ...User s Manual U11919EJ3V0UM00 178 MEMO www DataSheet4U com ...
Page 184: ...User s Manual U11919EJ3V0UM00 184 MEMO www DataSheet4U com ...
Page 204: ...User s Manual U11919EJ3V0UM00 204 MEMO www DataSheet4U com ...
Page 206: ...User s Manual U11919EJ3V0UM00 206 MEMO www DataSheet4U com ...
Page 212: ...User s Manual U11919EJ3V0UM00 212 MEMO www DataSheet4U com ...