NEC PD754244 Network Card User Manual


 
CHAPTER 11 INSTRUCTION SET
263
Users Manual U10676EJ3V0UM
MOVT XA, @PCXA
Function: XA ROM (PC11-8+XA)
Transfers the lower 4 bits of the table data in the program memory addressed when the lower 8 bits (PC
7-0) of the
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
B (0) CXA
15 1211
87 43 0
Table data H
X
30
Table data L
A
30