Philips P89LPC908, P89LPC906 Movca, @A+Dptr, Move code byte relative to Dptr to the accumulator

Models: P89LPC907 P89LPC908 P89LPC906

1 110
Download 110 pages 25.77 Kb
Page 88
Image 88

Philips Semiconductors

 

User’s Manual - Preliminary -

 

 

 

 

 

ADDITIONAL FEATURES

P89LPC906/907/908

MOV DPTR, #data16

Load the Data Pointer with a 16-bit constant.

 

 

MOVCA, @A+DPTR

Move code byte relative to DPTR to the accumulator.

 

 

MOVXA, @DPTR

Move data byte the accumulator to data memory relative to DPTR.

 

 

MOVX@DPTR, A

Move data byte from data memory relative to DPTR to the accumulator.

Also, any instruction that reads or manipulates the DPH and DPL registers (the upper and lower bytes of the current DPTR) will be affected by the setting of DPS. The MOVX instructions have limited application for the P89LPC906/907/908 since the part does not have an external data bus. However, they may be used to access Flash configuration information (see Flash Configuration section).

Bit 2 of AUXR1 is permanently wired as a logic 0. This is so that the DPS bit may be toggled (thereby switching Data Pointers) simply by incrementing the AUXR1 register, without the possibility of inadvertently altering other bits in the register.

2003 Dec 8

88

Page 88
Image 88
Philips P89LPC908 Movca, @A+Dptr, Move code byte relative to Dptr to the accumulator, Movxa, @Dptr, MOVX@DPTR, a