S3C72G9 Samsung semiconductor, S3C72G9 Datasheet - Page 34

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
   
 
BITS
Description:
Examples:

Operation:
dst.b
DA.b
mema.b
memb.@L
@H+DA.b
This instruction sets the specified bit within the destination without affecting any other bits in the
destination. BITS can manipulate any bit that is addressable using direct or indirect addressing
modes.
DA.b
mema.b
memb.@L
@H+DA.b

1. If the bit location 30H.2 in the RAM has a current value of "0", the following instruction sets
2. You can use BITS in the same way to manipulate a port address bit:
mema.b
Operand
Operand
the second bit of location 30H to "1".
BITS
BITS


Set specified memory bit
30H.2
P0.0
a7
1
1
1
0
1
0
1
1
a6
1
1
1
1
1
0
0
1
b1
a5
b1
b1
b1
1
1
0
1
Second Byte
Binary Code
Operation Summary
b0
a4
b0
b0
b0
1
1
0
1
; 30H.2
; P0.0
a3
a5
a3
a3
a3
0
1
1
1
a2
a4
a2
a2
a2
0
1
1
1
"1"
a1
a3
a1
a1
a1
0
1
1
1
"1"
a0
a2
a0
a0
a0
1
1
1
1
DA.b
mema.b
[memb.7-2 + L.3-2].b [L.1-0]
[H + DA.3-0].b
FB0H-FBFH
FF0H-FFFH
Operation Notation
1
Bit Addresses
1
Bytes
1
2
2
2
2
 
Cycles
2
2
2
2
1

Related parts for S3C72G9