Instruction Set
958
SPNU503C – March 2018
Copyright © 2018, Texas Instruments Incorporated
High-End Timer (N2HET) Module
20.6.3.22 SHFT (Shift)
Syntax
SHFT {
[brk={OFF | ON}]
[next={label | 9-bit unsigned integer}]
[reqnum={3-bit unsigned integer}
[request={NOREQ | GENREQ | QUIET}]
smode={OR0 | OL0 | OR1 | OL1 | ORZ | OLZ | IRM | ILL | IRZ | ILZ}
[control={OFF | ON}]
[prv={OFF | ON}]
[cond_addr={label | 9-bit unsigned integer}
cond={UNC | FALL | RISE}
pin ={pin number}
[reg={A | B | R | S | T | NONE}]
[irq={OFF | ON}]
[data={25-bit unsigned integer]
}
Figure 20-183. SHFT Program Field (P31:P0)
31
26 25
23
22
21
13 12
9
8
4
3
0
0
Request
Number
BRK
Next program address
1111
Reserved
Smode
6
3
1
9
4
5
4
Figure 20-184. SHFT 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
6
5
4
3
2
1
0
Conditional address
Pin select
Ext
Reg
Shift condition
Res.
0
Register select
Int.
ena
9
5
1
2
1
1
2
1
Figure 20-185. SHFT Data Field (D31:D0)
31
7
6
0
Data
Reserved
25
7
Cycles
One
Register modified
Selected register (A, B, R, S or T)
Description
This instruction shifts the data field of the Instruction. N2HET pins can be
used for data in or data out. SHFT includes parameters to select the shift
direction (in, out, left, right), shift condition (shift on a defined clock edge on
HET[0] or shift always), register for data storage (A, B, R, S or T), and the
data pin.