![Samsung S3C80M4/F80M4 User Manual Download Page 154](http://html1.mh-extra.com/html/samsung/s3c80m4-f80m4/s3c80m4-f80m4_user-manual_3996174154.webp)
INSTRUCTION SET
S3C80M4/F80M4
6-52
LDC/LDE
—
Load Memory
LDC/LDE
dst,src
Operation:
dst
←
src
This instruction loads a byte from program or data memory into a working register or vice-versa.
The source values are unaffected. LDC refers to program memory and LDE to data memory. The
assembler makes 'Irr' or 'rr' values an even number for program memory and odd an odd number
for data memory.
Flags:
No flags are affected.
Format:
Bytes Cycles Opcode
(Hex)
Addr Mode
dst src
1.
opc
dst | src
2 10 C3 r
Irr
2. opc
src | dst
2 10 D3 Irr
r
3. opc
dst | src
XS
3 12 E7 r
XS
[rr]
4. opc
src | dst
XS
3 12 F7
XS
[rr]
r
5. opc
dst | src
XL
L
XL
H
4 14 A7 r
XL
[rr]
6. opc
src | dst
XL
L
XL
H
4 14 B7
XL
[rr]
r
7. opc
dst | 0000
DA
L
DA
H
4 14 A7 r
DA
8. opc
src | 0000
DA
L
DA
H
4 14 B7
DA
r
9. opc
dst | 0001
DA
L
DA
H
4 14 A7 r
DA
10. opc
src | 0001
DA
L
DA
H
4 14 B7
DA
r
NOTES
:
1. The source (src) or working register pair [rr] for formats 5 and 6 cannot use register pair 0–1.
2. For formats 3 and 4, the destination address 'XS [rr]' and the source address 'XS [rr]' are each one
byte.
3. For formats 5 and 6, the destination address 'XL [rr] and the source address 'XL [rr]' are each two
bytes.
4. The DA and r source values for formats 7 and 8 are used to address program memory; the second set
of values, used in formats 9 and 10, are used to address data memory.
Summary of Contents for S3C80M4/F80M4
Page 1: ...S3C80M4 F80M4 8 BIT CMOS MICROCONTROLLERS USER S MANUAL Revision 1 ...
Page 44: ...ADDRESS SPACES S3C80M4 F80M4 2 20 NOTES ...
Page 84: ...CONTROL REGISTERS S3C80M4 F80M4 4 26 NOTES ...
Page 102: ...INTERRUPT STRUCTURE S3C80M4 F80M4 5 18 NOTES ...
Page 190: ...INSTRUCTION SET S3C80M4 F80M4 6 88 NOTES ...
Page 202: ...RESET and POWER DOWN S3C80M4 F80M4 8 6 NOTES ...
Page 216: ...8 BIT TIMER 0 S3C80M4 F80M4 11 4 NOTES ...
Page 220: ...8 BIT PULSE WIDTH MODULATION S3C80M4 F80M4 12 4 NOTES ...
Page 230: ...ELECTRICAL DATA S3C80M4 F80M4 13 10 NOTES ...