Hyundai GMS800 Instruction Manual page 27

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

Advertisement

BCC
( Branch if carry flag clear )
Function
: if (C) = 0,
Description : Branches if carry flag is "0"

Flag
:
Mnemonic
BCC
Example
:
62 F03F 8B1F20
63 F042 5004
64 F044 3EC4
65 F046 2F02
66 F048 C410
67 F04A 6F
BCS
( Branch if carry flag set )
Function
: if (C) = 1,
Description : Branch if carry flag is "1".

Flag
:
Mnemonic
BCS
Example
:
68 F04B 8B1F20
69 F04E D004
70 F050 3EC4
71 F052 2F02
72 F054 C410
73 F056 6F

then ( PC )
( PC ) + rel
OP Code
rel
50
AND1
BCC
LDY
BRA
UNCNTRL:
LDA
RET

then ( PC )
( PC ) + rel
OP Code
rel
D0
AND1
BCS
LDY
BRA
UNCON:
LDA
RET
Bytes
Cycles
2
2/4
F_SLP
UNCNTRL
#0C4H
$+4
#10H
Bytes
Cycles
2
2/4
F_SLP
UNCON
#0C4H
$+4
#10H
Instruction Set
23

Advertisement

Table of Contents
loading

Table of Contents