beautypg.com

NEC PD17062 User Manual

Page 58

background image

58

µ

PD17062

8.5.2 Functions of Index Register and Data Memory Row Address Pointer

When a data memory manipulation instruction is executed with the index enable flag (IXE) set to 1, the

index register ORs the data memory bank/address specified by the instruction and the contents of the index

register. Then, the index register executes the instruction in the data memory address indicated by the

operation result (in other words, the real address).

When a general-purpose register indirect transfer instruction (MOV @r, m and MOV m, @r) is executed

with the memory pointer enable flag set to 1, the data memory row address pointer executes the instruction,

regarding the indirect address bank specified by the general-purpose register and row address as being the

value of the data memory row address pointer.

Table 8-2 shows the modification of data memory and the indirect address by the index register and data

memory row address pointer.

All data memories are subject to modification by the index register and data memory row address pointer.

The following instructions are not subject to modification by the index register.

INC

AR

INC

IX

MOVT

DBF, @AR

PUSH

AR

POP

AR

PEEK

WR, rf

POKE

rf, WR

GET

DBF, P

PUT

p, DBF

BR

addr

BR

@AR

RORC

r

CALL

addr

CALL

@AR

RET

RETSK

RETI

EI

DI

STOP

0

HALT

h

NOP