Instruction Set
918
SPNU503C – March 2018
Copyright © 2018, Texas Instruments Incorporated
High-End Timer (N2HET) Module
20.6.3.7 BR (Branch)
Syntax
BR {
[brk={OFF | ON}]
[next={label | 9-bit unsigned integer}]
[reqnum={3-bit unsigned integer}]
[request={NOREQ | GENREQ | QUIET}]
[control={OFF | ON}]
[prv={OFF | ON}]
cond_addr={label | 9-bit unsigned integer}
[pin= {pin number}]
event={NOCOND | FALL | RISE | BOTH | ZERO | NAF | LOW | HIGH | C | NC
| EQ | Z | NE | NZ | N | PZ | V | NV | ZN | P | GE | LT | GT | LE | LO | HS }
[irq={OFF | ON}]
}
Figure 20-131. BR Program Field (P31:P0)
31
26 25
23
22
21
13 12
9
8
0
0
Request
Number
BRK
Next program address
1101
Reserved
6
3
1
9
4
9
Figure 20-132. BR Control Field (C31:C0)
31
29
28
27
26
25
24
22
21
16
Reserved
Request type
Control
Prv
Reserved
Conditional address
3
2
1
1
3
9
15
13
12
8
7
3
2
1
0
Conditional address
Pin select
Branch cond.
Reserved
Int. ena
9
5
5
2
1
Figure 20-133. BR Data Field (D31:D0)
31
0
Reserved
32
Cycles
One
Register modified
None
Description
This instruction executes a jump to the conditional address [C21:C13] on a pin
or a flag condition, and can be used with all pins.
provides the branch condition encoding.
event
Specifies the event that triggers a jump to the indexed program
address.
Default: FALL