Samsung KS57C2308 Manual page 135

Single-chip cmos microcontroller
Table of Contents

Advertisement

KS57C2308/P2308/C2316/P2316
LD
— Load
LD
(Continued)
Description:
Operand
RR,#imm
DA,A
Ra,A
EA,@HL
EA,DA
EA,RRb
@HL,A
DA,EA
RRb,EA
@HL,EA
Examples:
1. RAM location 30H contains the value 4H. The RAM location values are 40H, 41H and 0AH,
3H respectively. The following instruction sequence leaves the value 40H in point pair HL,
0AH in the accumulator and in RAM location 40H, and 3H in register E.
LD
LD
LD
LD
LD
Binary Code
1
0
0
d7
d6
d5
d4
1
0
0
a7
a6
a5
a4
1
1
0
0
0
0
1
1
0
0
0
0
1
1
0
a7
a6
a5
a4
1
1
0
1
1
1
1
1
0
1
1
0
a7
a6
a5
a4
1
1
0
1
1
1
1
1
0
0
0
0
HL,#30H
A,@HL
HL,#40H
EA,@HL
@HL,A
0
0
r2
r1
1
d3
d2
d1
d0
0
1
0
0
1
a3
a2
a1
a0
1
1
1
0
1
0
0
r2
r1
r0
1
1
1
0
0
0
1
0
0
0
0
1
1
1
0
a3
a2
a1
a0
1
1
1
0
0
1
1
r2
r1
0
0
0
1
0
0
0
1
1
0
1
a3
a2
a1
a0
1
1
1
0
0
1
0
r2
r1
0
1
1
1
0
0
0
0
0
0
0
; HL
30H
; A
4H
; HL
40H
; A
0AH, E
; RAM (40H)
SAM47 INSTRUCTION SET
Operation Notation
RR
imm
DA
A
Ra
A
A
(HL), E
(HL + 1)
A
DA, E
DA + 1
EA
RRb
(HL)
A
DA
A, DA + 1
RRb
EA
(HL)
A, (HL + 1)
3H
0AH
E
E
5-61

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

P2308C2316P2316Ks57p2308Ks57c2316Ks57p2316

Table of Contents