S3C72G9 Samsung semiconductor, S3C72G9 Datasheet - Page 68

no-image

S3C72G9

Manufacturer Part Number
S3C72G9
Description
The S3C72G9 single-chip CMOS microcontroller has been designed for high performance using Samsungs newest 4-bit CPU core/ SAM47 (Samsung Arrangeable M
Manufacturer
Samsung semiconductor
Datasheet
   

LDC
Operation:
Description:
Examples:

dst,src
EA,@WX
EA,@EA
This instruction is used to load a byte from program memory into an extended accumulator. The
address of the byte fetched is the six 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.
EA,@WX
EA,@EA
1. The following instructions will load one of four values defined by the define byte (DB) directive
Operand
Operand
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.
to the extended accumulator:
DISPLAY
Load code byte from WX to EA
Load code byte from EA to EA
LD
CALL
JPS
ORG
DB
DB
DB
DB
LDC
RET

1
1
1
1
EA,#00H
DISPLAY
MAIN
0500H
66H
77H
88H
99H
EA,@EA ; EA
0
0
Binary Code
Operation Summary
0
0
1
1
1
0
address 0500H = 66H
0
0
0
0
EA
EA
[PC14-8 + (EA)]
[PC14-8 + (WX)]
Operation Notation
Bytes
1
1
 
Cycles
3
3

Related parts for S3C72G9