Samsung KS57C2308 Manual page 138

Single-chip cmos microcontroller
Table of Contents

Advertisement

SAM47 INSTRUCTION SET
LDB
— Load Bit
LDB
dst,src.b
LDB
dst.b,src
Operation:
Operand
mema.b,C
memb.@L,C
@H+DA.b,C
C,mema.b
C,memb.@L
C,@H+DA.b
Description:
The Boolean variable indicated by the first or second operand is copied into the location specified
by the second or first operand. One of the operands must be the carry flag; the other may be any
directly or indirectly addressable bit. The source is unaffected.
Operand
mema.b,C
memb.@L,C
@H+DA.b,C
C,mema.b*
C,memb.@L
C,@H+DA.b
*
mema.b
5-64
Operation Summary
Load carry bit to a specified memory bit
Load carry bit to a specified indirect memory bit
Load memory bit to a specified carry bit
Load indirect memory bit to a specified carry bit
Binary Code
*
1
1
1
1
1
1
0
1
0
1
1
1
0
0
b1
b0
1
1
1
1
1
1
0
1
0
1
1
1
0
0
b1
b0
Second Byte
1
0
b1
b0
1
1
b1
b0
1
1
1
0
0
1
1
1
0
0
0
a5
a4
a3
a2
1
1
1
0
0
a3
a2
a1
a0
1
0
1
0
0
1
0
1
0
0
0
a5
a4
a3
a2
1
0
1
0
0
a3
a2
a1
a0
a3
a2
a1
a0 FB0H–FBFH
a3
a2
a1
a0 FF0H–FFFH
KS57C2308/P2308/C2316/P2316
Bytes
2
2
2
2
2
2
Operation Notation
mema.b
C
memb.7–2 + [L.3–2]. [L.1–0]
H + [DA.3–0].b
(C)
C
mema.b
C
memb.7–2 + [L.3–2] . [L.1–0]
C
[H + DA.3–0].b
Bit Addresses
Cycles
2
2
2
2
2
2
C

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

P2308C2316P2316Ks57p2308Ks57c2316Ks57p2316

Table of Contents