Motorola MC68HC05T16 Technical Data Manual page 98

Table of Contents

Advertisement

Function
Branch if bit n is set
Branch if bit n is clear
11
Set bit n
Clear bit n
MOTOROLA
11-6
Table 11-3 Branch instructions
Function
Branch always
Branch never
Branch if higher
Branch if lower or same
Branch if carry clear
(Branch if higher or same)
Branch if carry set
(Branch if lower)
Branch if not equal
Branch if equal
Branch if half carry clear
Branch if half carry set
Branch if plus
Branch if minus
Branch if interrupt mask bit is clear
Branch if interrupt mask bit is set
Branch if interrupt line is low
Branch if interrupt line is high
Branch to subroutine
Table 11-4 Bit manipulation instructions
Mnemonic
BRSET n (n=0–7)
BRCLR n (n=0–7)
BSET n (n=0–7)
BCLR n (n=0–7)
CPU CORE AND INSTRUCTION SET
Relative addressing mode
Mnemonic
Opcode # Bytes # Cycles
BRA
20
BRN
21
BHI
22
BLS
23
BCC
24
(BHS)
24
BCS
25
(BLO)
25
BNE
26
BEQ
27
BHCC
28
BHCS
29
BPL
2A
BMI
2B
BMC
2C
BMS
2D
BIL
2E
BIH
2F
BSR
AD
Addressing modes
Bit set/clear
Opcode # Bytes # Cycles Opcode # Bytes # Cycles
10+2•n
2
5
11+2•n
2
5
2
3
2
3
2
3
2
3
2
3
2
3
2
3
2
3
2
3
2
3
2
3
2
3
2
3
2
3
2
3
2
3
2
3
2
3
2
6
Bit test and branch
2•n
3
5
01+2•n
3
5
MC68HC05L1
TPG

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc68hc705t16

Table of Contents