English
Language : 

MC80F0224 Datasheet, PDF (125/128 Pages) List of Unclassifed Manufacturers – 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS800 Series
16-BIT operation
No.
Mnemonic
1 ADDW dp
2 CMPW dp
3 DECW dp
4 INCW dp
5 LDYA dp
6 STYA dp
7 SUBW dp
Bit Manipulation
No.
Mnemonic
1 AND1 M.bit
2 AND1B M.bit
3 BIT dp
4 BIT !abs
5 CLR1 dp.bit
6 CLRA1 A.bit
7 CLRC
8 CLRG
9 CLRV
10 EOR1 M.bit
11 EOR1B M.bit
12 LDC M.bit
13 LDCB M.bit
14 NOT1 M.bit
15 OR1 M.bit
16 OR1B M.bit
17 SET1 dp.bit
18 SETA1 A.bit
19 SETC
20 SETG
21 STC M.bit
22 TCLR1 !abs
23 TSET1 !abs
Op
Code
1D
5D
BD
9D
7D
DD
3D
Byte
No
2
2
2
2
2
2
2
Cycle
No
5
4
6
6
5
5
5
Operation
16-Bits add without Carry
YA ← ( YA ) + ( dp +1 ) ( dp )
Compare YA contents with memory pair contents :
(YA) − (dp+1)(dp)
Decrement memory pair
( dp+1)( dp) ← ( dp+1) ( dp) - 1
Increment memory pair
( dp+1) ( dp) ← ( dp+1) ( dp ) + 1
Load YA
YA ← ( dp +1 ) ( dp )
Store YA
( dp +1 ) ( dp ) ← YA
16-Bits subtract without carry
YA ← ( YA ) - ( dp +1) ( dp)
Flag
NVGBHIZC
NV--H-ZC
N-----ZC
N-----Z-
N-----Z-
N-----Z-
--------
NV--H-ZC
Op
Code
8B
8B
0C
1C
y1
2B
20
40
80
AB
AB
CB
CB
4B
6B
6B
x1
0B
A0
C0
EB
5C
3C
Byte
No
3
3
2
3
2
2
1
1
1
3
3
3
3
3
3
3
2
2
1
1
3
3
3
Cycle
No
4
4
4
5
4
2
2
2
2
5
5
4
4
5
5
5
4
2
2
2
6
6
6
Operation
Bit AND C-flag : C ← ( C ) ∧ ( M .bit )
Bit AND C-flag and NOT : C ← ( C ) ∧ ~( M .bit )
Bit test A with memory :
Z ← ( A ) ∧ ( M ) , N ← ( M7 ) , V ← ( M6 )
Clear bit : ( M.bit ) ← “0”
Clear A bit : ( A.bit ) ← “0”
Clear C-flag : C ← “0”
Clear G-flag : G ← “0”
Clear V-flag : V ← “0”
Bit exclusive-OR C-flag : C ← ( C ) ⊕ ( M .bit )
Bit exclusive-OR C-flag and NOT : C ← ( C ) ⊕ ~(M .bit)
Load C-flag : C ← ( M .bit )
Load C-flag with NOT : C ← ~( M .bit )
Bit complement : ( M .bit ) ← ~( M .bit )
Bit OR C-flag : C ← ( C ) ∨ ( M .bit )
Bit OR C-flag and NOT : C ← ( C ) ∨ ~( M .bit )
Set bit : ( M.bit ) ← “1”
Set A bit : ( A.bit ) ← “1”
Set C-flag : C ← “1”
Set G-flag : G ← “1”
Store C-flag : ( M .bit ) ← C
Test and clear bits with A :
A - ( M ) , ( M ) ← ( M ) ∧ ~( A )
Test and set bits with A :
A-(M), (M)← (M)∨(A)
Flag
NVGBHIZC
-------C
-------C
MM----Z-
--------
--------
-------0
--0-----
-0--0---
-------C
-------C
-------C
-------C
--------
-------C
-------C
--------
--------
-------1
--1-----
--------
N-----Z-
N-----Z-
vi
MAR. 2005