![background image](http://html.mh-extra.com/html/hyundai/gms800/gms800_instruction-manual_2196205017.webp)
Addressing Mode
13
1.8. Bit Manipulation Mode
Operation is performed by 1bit instruction manipulation.
Accumulator Bit Operation
A.bit
Bit position of accumulator is determined by the upper 3 bits of operand.
OP CODE
operand
Operand
Instructions
A
CLRA1
SETA1
Example)
( A=00
h
)
0B C0
SETA1 A.6
Direct Page Memory Bit Operation
dp.bit
Bit position of memory in direct page is determined by the upper 3 bits of op code.
OP CODE
operand
Operand
Instructions
Memory
CLR1
SET1
Example)
( G=0, (035h)=00
h
)
C1 35
SET1 35H.6
+1
1
0
0
0
0
0
0
0
1
1
0
0
0
h
Accumulator
A
6
=?
A
6
=1
Operand
+2
Op code ( 0B )
Operand ( C0 )
MEMORY
NEXT
1
-
-
-
-
-
-
-
0035
h
M
6
=?
M
6
=1
1
1
0
0
1
h
Op code
Op code ( C1 )
Operand ( 35 )
MEMORY
NEXT
035
h
Data