Chapter 19 Instruction Set Overview; Operation; Operand Identifiers And Description Methods - NEC 78K0S/KA1+ Preliminary User's Manual

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0S/KA1+:
Table of Contents

Advertisement

www.DataSheet4U.com
This chapter lists the instruction set of the 78K0S/KA1+. For details of the operation and machine language
(instruction code) of each instruction, refer to 78K/0S Series Instructions User's Manual (U11047E).

19.1 Operation

19.1.1 Operand identifiers and description methods

Operands are described in "Operand" column of each instruction in accordance with the description method of the
instruction operand identifier (refer to the assembler specifications for details).
description methods, select one of them. Uppercase letters and the symbols #, !, $, and [ ] are key words and are
www.DataSheet4U.com
described as they are. Each symbol has the following meaning.
• #:
• !:
• $:
• [ ]:
In the case of immediate data, describe an appropriate numeric value or a label. When using a label, be sure to
describe the #, !, $ and [ ] symbols.
For operand register identifiers, r and rp, either function names (X, A, C, etc.) or absolute names (names in
parentheses in the table below, R0, R1, R2, etc.) can be used for description.
Identifier
r
rp
sfr
saddr
saddrp
addr16
addr5
word
byte
bit
Remark

CHAPTER 19 INSTRUCTION SET OVERVIEW

Immediate data specification
Absolute address specification
Relative address specification
Indirect address specification
Table 19-1. Operand Identifiers and Description Methods
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 labels
FE20H to FF1FH Immediate data or labels (even addresses only)
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)
16-bit immediate data or label
8-bit immediate data or label
3-bit immediate data or label
For symbols of special function registers, see Table 4-3 Special Function Registers.
Description Method
Preliminary User's Manual U16898EJ1V0UD
When there are two or more
271

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpd78f9221Mpd78f9222

Table of Contents