EasyManua.ls Logo

Texas Instruments TMS570LC4357

Texas Instruments TMS570LC4357
2208 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
www.ti.com
Instruction Set
1079
SPNU563AMarch 2018
Submit Documentation Feedback
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&REGTOREG 0 0
Imm. data field + Reg. A, B, R, S,
or T
Register A, B, R, S, or T 1
REM&REGTOREG 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&REGTOREM 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 register + Immediate Data Field;
case 01:
Selected register = Selected register + Remote Data Field;
case 10:
Selected register = Immediate Data Field + Remote Data Field;
case 11:
Remote Data Field = Selected register + 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;
Figure 23-126 and Figure 23-127 illustrate the ADM32 operation for various cases.

Table of Contents

Related product manuals