![Samsung S3F80P5X Скачать руководство пользователя страница 175](http://html.mh-extra.com/html/samsung/s3f80p5x/s3f80p5x_user-manual_349401175.webp)
S3F80P5_UM_ REV1.00
INSTRUCTION SET
LDC/LDE
— Load Memory
LDC/LDE
(Continued)
Examples:
Given: R0 = 11H, R1 = 34H, R2 = 01H, R3 = 04H; Program memory locations
0103H = 4FH, 0104H = 1A, 0105H = 6DH, and 1104H = 88H. External data memory
locations 0103H = 5FH, 0104H = 2AH, 0105H = 7DH, and 1104H = 98H:
LDC R0,@RR2
;
R0
←
contents of program memory location 0104H
;
R0 = 1AH, R2 = 01H, R3 = 04H
LDE R0,@RR2
;
R0
←
contents of external data memory location 0104H
;
R0 = 2AH, R2 = 01H, R3 = 04H
LDC
(note)
@RR2,R0
;
11H (contents of R0) is loaded into program memory
;
location 0104H (RR2),
;
working registers R0, R2, R3
→
no change
LDE
@RR2,R0
;
11H (contents of R0) is loaded into external data memory
;
location 0104H (RR2),
;
working registers R0, R2, R3
→
no change
LDC
R0,#01H[RR2] ;
R0
←
contents of program memory location 0105H
;
(01H + RR2),
;
R0 = 6DH, R2 = 01H, R3 = 04H
LDE R0,#01H[RR2]
;
R0
←
contents of external data memory location 0105H
;
(01H + RR2), R0 = 7DH, R2 = 01H, R3 = 04H
LDC
(note)
#01H[RR2],R0 ;
11H (contents of R0) is loaded into program memory location
;
0105H (01H + 0104H)
LDE
#01H[RR2],R0 ;
11H (contents of R0) is loaded into external data memory
;
location 0105H (01H + 0104H)
LDC R0,#1000H[RR2];
R0
←
contents of program memory location 1104H
;
(1000H + 0104H), R0 = 88H, R2 = 01H, R3 = 04H
LDE R0,#1000H[RR2];
R0
←
contents of external data memory location 1104H
;
(1000H + 0104H), R0 = 98H, R2 = 01H, R3 = 04H
LDC R0,1104H
;
R0
←
contents of program memory location 1104H, R0 = 88H
LDE R0,1104H
;
R0
←
contents of external data memory location 1104H,
;
R0 = 98H
LDC
(note)
1105H,R0
;
11H (contents of R0) is loaded into program memory location
;
1105H, (1105H)
←
11H
LDE
1105H,R0
;
11H (contents of R0) is loaded into external data memory
;
location 1105H, (1105H)
←
11H
NOTE:
These instructions are not supported by masked ROM type devices.
6-53
Содержание S3F80P5X
Страница 10: ......
Страница 14: ......
Страница 19: ...S3F80P5_UM_ REV1 00 PRODUCT OVERVIEW BLOCK DIAGRAM 24 PIN PACKAGE Figure 1 1 Block Diagram 24 pin 1 3 ...
Страница 48: ...ADDRESS SPACE S3F80P5_UM_ REV1 00 NOTES 2 22 ...
Страница 122: ...INTERRUPT STRUCTURE S3F80P5_UM_ REV1 00 NOTES 5 18 ...
Страница 210: ...INSTRUCTION SET S3F80P5_UM_ REV1 00 NOTES 6 88 ...
Страница 216: ...CLOCK AND POWER CIRCUITS S3F80P5_UM_ REV1 00 NOTES 7 6 ...
Страница 266: ...COUNTER A S3F80P5_UM_ REV1 00 NOTES 12 8 ...
Страница 290: ...EMBEDDED FLASH MEMORY INTERFACE S3F80P5_UM_ REV1 00 NOTES 14 18 ...
Страница 316: ...S3F80P5_UM_ REV1 00 ELECTRICAL DATA STOP LED This LED is ON when the evaluation chip S3E80PB is in stop mode 19 5 ...
Страница 321: ...DEVELOPMENT TOOLS S3F80P5_UM_ REV1 00 NOTES 19 10 ...