EasyManuals Logo
Home>Texas Instruments>Microcontrollers>TMS570LC4357

Texas Instruments TMS570LC4357 User Manual

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
Page #1092 background imageLoading...
Page #1092 background image
Instruction Set
www.ti.com
1092
SPNU563AMarch 2018
Submit Documentation Feedback
Copyright © 2018, Texas Instruments Incorporated
High-End Timer (N2HET) Module
23.6.3.10 DJZ (Decrement and Jump if Zero)
DJNZ is also a supported syntax. The functionality of the two instruction names is identical.
Syntax DJZ {
[brk={OFF | ON}]
[next={label | 9-bit unsigned integer}]
[reqnum={3-bit unsigned integer}
[request={NOREQ | GENREQ | QUIET}]
[control={OFF | ON}]
[cond_addr={label | 9-bit unsigned integer}]
[reg={A | B | T | NONE}]
[irq={OFF | ON}]
[data={25-bit unsigned integer]
}
Figure 23-141. DJZ Program Field (P31:P0)
31 26 25 23 22 21 13 12 9 8 7 6 5 0
0 Request
Number
BRK Next program address 1010 Res. 10 Reserved
6 3 1 9 4 1 2 6
Figure 23-142. DJZ Control Field (C31:C0)
31 29 28 27 26 25 22 21 16
Reserved Request type Control Reserved Conditional address
3 2 1 4 9
15 13 12 8 7 3 2 1 0
Conditional address Reserved Register select Int. ena
9 10 2 1
Figure 23-143. DJZ Data Field (D31:D0)
31 7 6 0
Data Reserved
25 7
Cycles One
Register modified Selected register (A, B, or T)
Description This instruction defines a virtual down counter used for delayed execution of
certain instructions (to generate minimum on/off times). When DJZ is
executed with counter value not zero, the counter value is decremented. If the
counter value is zero, the counter remains zero until it is reloaded with a non-
zero value. The program flow can be modified when down counter value is
zero by using the conditional address.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TMS570LC4357 and is the answer not in the manual?

Texas Instruments TMS570LC4357 Specifications

General IconGeneral
BrandTexas Instruments
ModelTMS570LC4357
CategoryMicrocontrollers
LanguageEnglish

Related product manuals