NEC PD754144 User Manual page 263

4-bit single-chip microcontrollers
Table of Contents

Advertisement

MOVT XA, @PCXA
Function: XA
ROM (PC
Transfers the lower 4 bits of the table data in the program memory addressed when the lower 8 bits (PC
program counter (PC) are replaced with the contents of register pair XA, to the A register, and the higher 4 bits to
the X register.
The table address is determined by the contents of the PC when this instruction is executed.
The necessary data must be programmed to the table area in advance by using an assembler directive (DB
instruction).
The PC is not affected by execution of this instruction.
Caution
If an instruction exists at address ¥¥FFH, the table data of the next page is transferred, in the same manner as
MOVT XA, @PCDE.
MOVT XA, @BCDE
Function: XA
ROM (BCDE)
Transfers the lower 4 bits of the table data (8-bit) in the program memory addressed by the register B and the
contents of registers C, D, and E, to the A register, and the higher 4 bits to the X register.
However, in the µ PD754244, register B is invalid. Be sure to set register B to 0000B.
The necessary data must be programmed to the table area in advance by using an assembler directive (DB
instruction). The PC is not affected by execution of this instruction.
Example
CHAPTER 11 INSTRUCTION SET
+XA)
11-8
15 1211
8 7
4 3
0
B (0)
C
X
A
User's Manual U10676EJ3V0UM
Table data H
Table data L
3
0
3
0
X
A
) of the
7-0
263

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pd754244

Table of Contents