beautypg.com

Movt xa, @bcxa – NEC PD754144 User Manual

Page 264

background image

CHAPTER 11 INSTRUCTION SET

264

User’s Manual U10676EJ3V0UM

MOVT XA, @BCXA

Function: XA

ROM (BCXA)

Transfers the lower 4 bits of the table data (8-bit) in the program memory addressed by the B register and the

contents of registers C, X, and A, to the A register, and the higher 4 bits to the X register.

However, on 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

B (0)

C

X

A

15 1211

8 7

4 3

0

Table data H

X

3

0

Table data L

A

3

0

This manual is related to the following products: