Alphabetic Order Table Of Instruction - Hyundai GMS800 Instruction Manual

Gms800 series 8-bit single-chip microcomputers
Table of Contents

Advertisement

HYUNDAI MicroElectonics

3.2. Alphabetic Order Table of Instruction

MNEMONIC
NO.
1
ADC #imm
2
ADC dp
3
ADC dp + X
4
ADC !abs
5
ADC !abs + Y
6
ADC [ dp + X ]
7
ADC [ dp ] + Y
8
ADC { X }
9
ADDW
dp
10
AND #imm
11
AND dp
12
AND dp + X
13
AND !abs
14
AND !abs + Y
15
AND [ dp + X ]
16
AND [ dp ] + Y
17
AND { X }
18
AND1 M.bit
19
AND1B M.bit
20
ASL A
21
ASL dp
22
ASL dp + X
23
ASL !abs
24
BBC A.bit,rel
25
BBC dp.bit,rel
26
BBS A.bit,rel
27
BBS dp.bit,rel
28
BCC rel
29
BCS rel
30
BEQ rel
31
BIT
dp
32
BIT
!abs
33
BMI rel
34
BNE rel
35
BPL rel
36
BRA rel
37
BRK
38
BVC rel
39
BVS rel
66
OP
BYTE
CYCLE
CODE
NO
NO
04
2
2
Add with carry.
05
2
3
A
06
2
4
07
3
4
15
3
5
16
2
6
17
2
6
14
1
3
1D
2
5
16-Bits add without carry : YA
84
2
2
Logical AND
85
2
3
A
86
2
4
87
3
4
95
3
5
96
2
6
97
2
6
94
1
3
8B
3
4
Bit AND C-flag
8B
3
4
Bit AND C-flag and NOT
08
1
2
Arithmetic shift left
09
2
4
C
19
2
5
18
3
5
y2
2
4/6
Branch if bit clear :
y3
3
5/7
if ( bit )
x2
2
4/6
Branch if bit set :
x3
3
5/7
if ( bit )
50
2
2/4
Branch if carry bit clear :
if ( C )
D0
2
2/4
Branch if carry bit set : if ( C )
D0
2
2/4
Branch if equal : if ( Z )
0C
2
4
Bit test A with memory :
1C
3
5
Z
90
2
2/4
Branch if minus : if ( N )
70
2
2/4
Branch if not equal : if ( Z )
10
2
2/4
Branch if minus : if ( N )
2F
2
4
Branch always : PC
0F
1
8
Software interrupt :
B
M( s )
SP
30
2
2/4
Branch if overflow bit clear :
if (V)
B0
2
2/4
Branch if overflow bit set :
if (V)
OPERATION



( A )
( M )
C



( A )
( M )


: C
( C )

: C
7 6 5 4 3 2 1 0
 









0 , then PC
( PC )


1 , then PC
( PC )



0 , then PC
( PC )


1 , then PC



( A )
( M ) , N
( M

1 , then PC


0 , then PC

( PC )


"1", M( SP)
( PC
), SP


H
( PC
), SP
SP - 1, M( SP)


L
SP -1, PC
( 0FFDE
L
H



0 , then PC
( PC)
rel



1 , then PC
( PC )
rel

( YA )
( dp +1 ) ( dp )
( M .bit )

( C )
~( M .bit )

"0

rel

rel
rel


1 , then PC
( PC )
rel


( PC )
rel

) , V
( M
)
7
6


( PC )
rel
0 , then


( PC )
rel

rel

SP - 1,

( PSW ),

) , PC
( 0FFDF
) .
H
H
FLAG
NVGBHIZC
NV--H--ZC
NV--H-ZC
N-----Z-
-------C
-------C
N-----ZC
--------
--------
--------
--------
--------
MM----Z-
--------
--------
--------
--------
---1-0--
--------
--------

Advertisement

Table of Contents
loading

Table of Contents