CHAPTER 4 INSTRUCTION SET
User’s Manual U11047EJ3V0UM00
40
4.1 Operation
4.1.1 Operand representation and description formats
In the operand column of each instruction, an operand is described according to the description format for
operand representation of that instruction (for details, refer to the assembler specifications). When there are two or
more description methods, select one of them. Uppercase characters, #, !, $ and [ ] are keywords and must be
described as is. Each symbol has the following meaning.
•
# : Immediate data
•
$ : Relative address
•
!
: Absolute address
•
[ ] : Indirect address
In the case of immediate data, describe an appropriate numeric value or a label. When using a label, be sure to
describe #, !, $, or [ ].
For operand register description formats, 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 described.
Table 4-1. Operand Representation and Description Formats
Operand
Description Format
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
Refer to the User's Manual of each product for symbols of special function registers.
Summary of Contents for 78K/0S Series
Page 2: ...User s Manual U11047EJ3V0UM00 2 MEMO ...
Page 14: ...User s Manual U11047EJ3V0UM00 14 MEMO ...
Page 28: ...User s Manual U11047EJ3V0UM00 28 MEMO ...
Page 118: ...User s Manual U11047EJ3V0UM00 118 MEMO ...
Page 120: ...User s Manual U11047EJ3V0UM00 120 MEMO ...