MC68HC711G5 MOTOROLA [Motorola, Inc], MC68HC711G5 Datasheet - Page 163

no-image

MC68HC711G5

Manufacturer Part Number
MC68HC711G5
Description
High-density Complementary Metal Oxide Semiconductor (HCMOS) Microcontroller
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
MC68HC11G5
The limited range of branches (-128/+127 locations) is more than adequate for most (but not all)
situations. In cases where this range is too short, a jump instruction must be used. For every branch
there is a branch for the opposite condition so it is a simple matter to replace a branch which has
an out-of-range destination with a sequence consisting of the opposite branch around a jump to the
out-of-range destination. For example, if a program contained the instruction...
where TINBUK2 was out of the -128/+127 location range, the following instruction sequence could
be substituted...
Branch if Carry Clea
Branch if Carry Set
Branch if Equal Zero
Branch if Greater Than or Equa
Branch if Greater Than
Branch if Higher
Branch if Higher or Same (same as BCC)
Branch if Less Than or Equa
Branch if Lower (same as BCS)
Branch if Lower or Same
Branch if Less Than
Branch if Minus
Branch if Not Equal
Branch if Plus
Branch if Bit(s) Clear in Memory Byte
Branch Never
Branch if Bit(s) Set in Memory Byte
Branch if Overflow Clear
Branch if Overflow Set
AROUND
Function
BHI
BLS
JMP
EQU
CPU, ADDRESSING MODES AND INSTRUCTION SET
AROUND
TINBUK2
*
TINBUK2
Table 12-9. Branches
Mnemonic
BRCLR
BRSET
BCC
BCS
BEQ
BGE
BGT
BHS
BLO
BNE
BRN
BVC
BVS
BLE
BLS
BLT
BPL
BHI
BMI
Unsigned >
Unsigned
Still go to TINBUK2 if >
REL
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
DIR
X
X
INDX
X
X
INDY
X
X
C = 0 ?
C = 1 ?
Z = 1 ?
Signed
Signed >
Unsigned >
Unsigned
Signed
Unsigned <
Unsigned
Signed <
N = 1 ?
Z = 0 ?
N = 0 ?
Bit Manipulation
3-cycle NOP
Bit Manipulation
V = 0 ?
V = 1 ?
Comments
MOTOROLA
12-13

Related parts for MC68HC711G5