mpc823rg Freescale Semiconductor, Inc, mpc823rg Datasheet - Page 1176

no-image

mpc823rg

Manufacturer Part Number
mpc823rg
Description
Mpc823 Powerquicc Integrated Communications Processor For Portable Systems
Manufacturer
Freescale Semiconductor, Inc
Datasheet
bcctr
Assembler Syntax
Definition
Operation
Description
FIELD
FIELD
BIT
BIT
16
0
17
1
00000
18
2
Freescale Semiconductor, Inc.
19
For More Information On This Product,
19
3
bcctrl
if cond_ok then
NIA
if LK then LR
as the condition of the branch. The BO field is encoded as
described in the table below.
The branch target address is CTR || 0b00.
If LK = 1, the effective address of the instruction following the
branch instruction is placed into the link register.
bcctr
Branch Conditional to Count Register
cond_ok
The BI field specifies the bit in the condition register to be used
NOTE: In this table, z indicates a bit that is ignored. The z bits must be cleared.
0000 y
0001 y
0100 y
0101 y
001 zy
011 zy
1 z 00 y
1 z 01 y
1 z 1 zz
20
BO
MPC823 REFERENCE MANUAL
4
iea
Go to: www.freescale.com
The y bit has a hint about whether a conditional branch is likely to be taken.
CTR || 0b00
21
5
Decrement the count register (CTR), then branch if the condition is
FALSE.
Decrement the CTR, then branch if the condition is FALSE.
Branch if the condition is FALSE.
Decrement the CTR, then branch if the condition is TRUE.
Decrement the CTR, then branch if the condition is TRUE.
Branch if the condition is TRUE.
Decrement the CTR, then branch if the decremented CTR
Decrement the CTR, then branch if the decremented CTR = 0
Branch always.
BO[0] | (CR[BI]
BO,BI (LK = 0)
BO,BI (LK = 1)
22
6
iea
CIA + 4
23
7
BO
24
8
25
BO[1])
9
DESCRIPTION
528
10
26
MPC823 Instruction Set—bcctr
11
27
12
28
13
29
BI
14
30
0
.
.
B-23
15
31
LK

Related parts for mpc823rg