s3c72m9 Samsung Semiconductor, Inc., s3c72m9 Datasheet - Page 171

no-image

s3c72m9

Manufacturer Part Number
s3c72m9
Description
The S3c72m5/s3c72m7/s3c72m9 Single-chip Cmos Microcontroller Has Been Designed For High Performance Using Samsung S
Manufacturer
Samsung Semiconductor, Inc.
Datasheet
S3C72M5/C72M7/C72M9/P72M9 (Preliminary Spec)
LDC —
LDC
Operation:
Description:
Examples:
1. The following instructions will load one of four values defined by the define byte (DB) directive
Load Code Byte
dst,src
This instruction is used to load a byte from program memory into an extended accumulator. The
address of the byte fetched is the five highest bit values in the program counter and the contents of
an 8-bit working register (either WX or EA). The contents of the source are unaffected.
to the extended accumulator:
If the instruction 'LD EA,#01H' is executed in place of 'LD EA,#00H', The content of 0501H (77H)
is loaded to the EA register. If 'LD EA,#02H' is executed, the content of address 0502H (88H) is
loaded to EA.
Operand
EA,@WX
EA,@EA
Operand
EA,@WX
EA,@EA
DISPLAY LDC
LD
CALL
JPS
ORG
DB
DB
DB
DB
RET
1
1
1
1
EA,#00H
DISPLAY
MAIN
0500H
66H
77H
88H
99H
EA,@EA
0
0
Load code byte from WX to EA
Load code byte from EA to EA
Binary Code
Operation Summary
0
0
; EA
1
1
1
0
address 0500H = 66H
0
0
0
0
EA
EA
[PC14–8 + (WX)]
[PC14–8 + (EA)]
Operation Notation
SAM47 INSTRUCTION SET
Bytes
1
1
Cycles
3
3
5-67

Related parts for s3c72m9