![Samsung S3F80JB Скачать руководство пользователя страница 184](http://html.mh-extra.com/html/samsung/s3f80jb/s3f80jb_user-manual_340834184.webp)
INSTRUCTION SET
S3F80JB
6-56
LDCPD/LDEPD
—
Load Memory with Pre-Decrement
LDCPD/
LDEPD
dst,src
Operation:
rr
←
rr – 1
dst
←
src
These instructions are used for block transfers of data from program or data memory from the
register file. The address of the memory location is specified by a working register pair and is first
decremented. The contents of the source location are then loaded into the destination location.
The contents of the source are unaffected.
LDCPD refers to program memory and LDEPD refers to external data memory. The assembler
makes 'Irr' an even number for program memory and an odd number for external data memory.
Flags:
No flags are affected.
Format:
Bytes Cycles Opcode
(Hex)
Addr Mode
dst src
opc
src | dst
2 14 F2 Irr
r
Examples:
Given: R0 = 77H, R6 = 30H, and R7 = 00H:
LDCPD @RR6,R0
;
(RR6
←
RR6 – 1)
; 77H (contents of R0) is loaded into program memory location
; 2FFFH (3000H – 1H)
; R0 = 77H, R6 = 2FH, R7 = 0FFH
LDEPD @RR6,R0
;
(RR6
←
RR6 – 1)
; 77H (contents of R0) is loaded into external data memory
; location 2FFFH (3000H – 1H)
; R0 = 77H, R6 = 2FH, R7 = 0FFH
Содержание S3F80JB
Страница 1: ...S3F80JB 8 BIT CMOS MICROCONTROLLERS USER S MANUAL Revision 1 1 ...
Страница 327: ...ELECTRICAL DATA 8MHz S3F80JB 18 14 NOTES ...
Страница 339: ...FLASH APPLICATION NOTES S3F80JB Programming By Tool ...
Страница 341: ...S3F80JB 2 This is only an example for setting Vdd This is SPW2 which is one of OPT MTP Writers ...
Страница 342: ...Important Note Subject Toggling phenomenon when serial writing programming on the S3F80JB ...