Instruction Set
www.ti.com
1078
SPNU563A–March 2018
Submit Documentation Feedback
Copyright © 2018, Texas Instruments Incorporated
High-End Timer (N2HET) Module
23.6.3.5 ADM32 (Add Move 32)
Syntax ADM32 {
[brk={OFF | ON}]
[next={label | 9-bit unsigned integer}]
remote={label | 9-bit unsigned integer}
[control={OFF | ON}]
[init={OFF | ON}]
type={IM®TOREG | REM®TOREG | IM&REMTOREG |
IM®TOREM}
reg={A | B | R | S | T }
data={25-bit unsigned integer}
[hr_data={7-bit unsigned integer}]
}
Figure 23-123. ADM32 Program Field (P31:P0)
31 26 25 23 22 21 13 12 9 8 0
0 Reserved BRK Next program address 0100 Remote address
6 3 1 9 4 9
Figure 23-124. ADM32 Control Field (C31:C0)
31 27 26 25 23 22 16
Reserved Control 000 Reserved
5 1 3 15
15 8 7 6 5 4 3 2 1 0
Reserved Ext Reg Init flag 1 Move type Register select Res.
15 1 1 1 2 2 1
Figure 23-125. ADM32 Data Field (D31:D0)
31 7 6 0
Data HR Data
25 7
Cycles One or two cycles (see Table 23-81)
Register modified Selected register (A, B, R, S, or T)
Description This instruction modifies the selected ALU register or data field values at the
remote address depending on the move type. The modified value results from
adding the immediate or remote data field to the ALU register or the remote
data field, depending on the move type. Table description shows the C2 and
C1 bit encoding for determining which register is selected.
init (Optional) Determines whether or not system flags are initialized. A
value of ON reinitializes the following system flags to these states:
Acceleration flag (ACF) = 0
Deceleration flag (DCF) = 1
Gap flag (GPF) = 0