English
Language : 

GMS81C50 Datasheet, PDF (94/99 Pages) Hynix Semiconductor – 8-BIT SINGLE CHIP MICROCONTROLLERS
Appendix A. GMS800 Series Instruction
5. Branch / Jump Operation
NO.
MNENONIC
1 BBC A.bit,rel
2 BBC dp.bit,rel
3 BBS A.bit,rel
4 BBS dp.bit,rel
5 BCC rel
6 BCS rel
7 BEQ rel
8 BMI rel
9 BNE rel
10 BPL rel
11 BRA rel
12 BVC rel
13 BVS rel
14 CALL !abs
15 CALL [dp]
16 CBNE dp,rel
17 CBNE dp + X, rel
18 DBNE dp,rel
19 DBNE Y,rel
20 JMP !abs
21 JMP [!abs]
22 JMP [dp]
23 PCALL
24 TCALL n
OP
CODE
y2
y3
x2
x3
50
D0
F0
90
70
10
2F
30
B0
3B
5F
FD
8D
AC
7B
1B
1F
3F
4F
nA
BYTE
NO.
2
3
2
3
2
2
2
2
2
2
2
2
2
3
2
3
3
3
2
3
3
2
2
1
CYCLE
NO
4/6
5/7
4/6
5/7
2/4
2/4
2/4
2/4
2/4
2/4
4
2/4
2/4
8
8
5/7
6/8
5/7
4/6
3
5
4
6
8
OPERATION
Branch if bit clear :
if(bit) = 0, then PC ← PC + rel
Branch if bit clear :
if(bit) = 1, then PC ← PC + rel
Branch if carry bit clear :
if(C) = 0, then PC ← PC + rel
Branch if carry bit set : If (C) =1, then PC ← PC + rel
Branch if equal : if (Z) = 1, then PC ← PC + rel
Branch if munus : if (N) = 1, then PC ← PC + rel
Branch if not equal : if (Z) = 0, then PC ← PC + rel
Branch if not minus : if (N) = 0, then PC ← PC + rel
Branch always : PC ← PC + rel
Branch if overflow bit clear :
If (V) = 0, then PC ← PC + rel
Branch if overflow bit set :
If (V) = 1, then PC ← PC + rel
Subroutine call
M(SP) ← (PCH), SP ← SP-1, M(SP) ← (PCL), SP←SP-1
if !abs, PC ← abs ; if [dp], PCL ← (dp), PCH ← (dp+1)
Compare and branch if not equal ;
If A ≠ (M), then PC ← PC + rel.
Decrement and branch if not equal :
if (M) ≠ 0, then PC ← PC + rel.
Unconditional jump
PC ← jump address
U-page call : M(SP) ← (PCH), SP ← SP -1,
M(SP) ← (PCL), SP ← SP -1,
PCL ← (upage), PCH ←"OFFH"
Table call :
M(SP) ← (PCH), SP ← SP -1,
M(SP) ← (PCL), SP ← SP -1
PCL ← (Table vector L), PCH ← (Table vector H)
FLAG
NVGBHIZC
--------
--------
MM - - - - Z -
--------
--------
--------
--------
--------
--------
--------
--------
--------
--------
--------
--------
--------
--------
A-11