GMS81508B HYNIX [Hynix Semiconductor], GMS81508B Datasheet - Page 97

no-image

GMS81508B

Manufacturer Part Number
GMS81508B
Description
HYUNDAI MICRO ELECTRONICS 8-BIT SINGLE-CHIP MICROCONTROLLERS
Manufacturer
HYNIX [Hynix Semiconductor]
Datasheet
HYUNDAI Micro Electronics
16-BIT operation
Bit Manipulation
DEC. 1999
No.
No.
10
11
12
13
14
15
16
17
18
19
20
21
22
23
1
2
3
4
5
6
7
1
2
3
4
5
6
7
8
9
ADDW dp
CMPW dp
DECW dp
INCW dp
LDYA dp
STYA dp
SUBW dp
AND1 M.bit
AND1B M.bit
BIT dp
BIT !abs
CLR1 dp.bit
CLRA1 A.bit
CLRC
CLRG
CLRV
EOR1 M.bit
EOR1B M.bit
LDC M.bit
LDCB M.bit
NOT1 M.bit
OR1 M.bit
OR1B M.bit
SET1 dp.bit
SETA1 A.bit
SETC
SETG
STC M.bit
TCLR1 !abs
TSET1 !abs
Mnemonic
Mnemonic
Code
Code
Op
DD
Op
1D
5D
BD
9D
7D
0C
1C
AB
AB
CB
CB
C0
EB
5C
3C
3D
8B
8B
2B
4B
6B
6B
0B
A0
y1
20
40
80
x1
Byte
Byte
No
No
2
2
2
2
2
2
2
3
3
2
3
2
2
1
1
1
3
3
3
3
3
3
3
2
2
1
1
3
3
3
Cycle
Cycle
No
No
5
4
6
6
5
5
5
4
4
4
5
4
2
2
2
2
5
4
4
5
5
5
4
2
2
2
6
6
6
5
16-Bits add without Carry
YA
Compare YA contents with memory pair contents :
(YA)
Decrement memory pair
( dp+1)( dp)
Increment memory pair
( dp+1) ( dp)
Load YA
YA
Store YA
( dp +1 ) ( dp )
16-Bits subtract without carry
YA
Bit AND C-flag : C
Bit AND C-flag and NOT : C
Bit test A with memory :
Clear bit : ( M.bit )
Clear A bit : ( A.bit )
Clear C-flag : C
Clear G-flag : G
Clear V-flag : V
Bit exclusive-OR C-flag : C
Load C-flag : C
Load C-flag with NOT : C
Bit complement : ( M .bit )
Bit OR C-flag : C
Bit OR C-flag and NOT : C
Set bit : ( M.bit )
Set A bit : ( A.bit )
Set C-flag : C
Set G-flag : G
Store C-flag : ( M .bit )
Test and clear bits with A :
Test and set bits with A :
Bit exclusive-OR C-flag and NOT : C
Z
A - ( M ) , ( M )
A - ( M ) , ( M )
( A )
( YA ) + ( dp +1 ) ( dp )
( YA ) - ( dp +1) ( dp)
(dp+1)(dp)
( dp +1 ) ( dp )
( M ) , N
( dp+1) ( dp) - 1
( dp+1) ( dp ) + 1
“1”
YA
“1”
( M .bit )
“1”
“0”
“0”
“0”
( C )
Operation
Operation
( M )
( M )
( C )
“1”
“0”
( M
“0”
7
( M .bit )
C
~( A )
( A )
~( M .bit )
( M .bit )
) , V
~( M .bit )
( C )
( C )
( C )
~( M .bit )
( M
~( M .bit )
( C )
( M .bit )
6
)
~(M .bit)
GMS800 Series
NVGBHIZC
NV--H-ZC
N-----ZC
N-----Z-
N-----Z-
N-----Z-
--------
NV--H-ZC
NVGBHIZC
-------C
-------C
MM----Z-
--------
--------
-------0
--0-----
-0--0---
-------C
-------C
-------C
-------C
--------
-------C
-------C
--------
--------
-------1
--1-----
--------
N-----Z-
N-----Z-
Flag
Flag
xiii

Related parts for GMS81508B