Instruction Set
1079
SPNU563A – March 2018
Copyright © 2018, Texas Instruments Incorporated
High-End Timer (N2HET) Module
New angle flag (NAF) = 0
A value of OFF results in no change to the system flags.
Default: OFF
type
Specifies the move type to be executed.
Table 23-81. Move Types for ADM32
Type
C4
C3
Add
Destination(s)
Cycles
IM®TOREG
0
0
Imm. data field + Reg. A, B, R, S,
or T
Register A, B, R, S, or T
1
REM®TOREG
0
1
Remote data field + Reg. A, B, R,
S, or T
Register A, B, R, S, or T
2
IM&REMTOREG
1
0
Imm. data field + Remote data
field
Register A, B, R, S, or T
2
IM®TOREM
1
1
Imm. data field + Reg. A, B, R, S,
or T
Remote data field
1
If selected register is R, S, or T, the operation is a 32-bit Addition/move. If A or B register is selected, it is
limited to 25-bit operation since A and B only support 25-bit.
data
Specifies the 25-bit integer value for the immediate data field.
hr_data
Specifies the 7 least significant bits of the immediate data field.
Default: 0.
Execution
switch (C4:C3)
{
case 00:
Selected register = Selected re Immediate Data Field;
case 01:
Selected register = Selected re Remote Data Field;
case 10:
Selected register = Immediate Data Field + Remote Data Field;
case 11:
Remote Data Field = Selected re Immediate Data Field;
}
If (Init Flag == 1)
{
ACF = 0;
DCF = 1;
GPF = 0;
NAF = 0;
}
else
All flags remain unchanged;
Jump to Next Program Address;
and
illustrate the ADM32 operation for various cases.