EasyManua.ls Logo

NXP Semiconductors LPC1768 - Clrex; Syntax; Operation; Condition Flags

NXP Semiconductors LPC1768
841 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...
UM10360 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2013. All rights reserved.
User manual Rev. 3 — 20 December 2013 677 of 841
NXP Semiconductors
UM10360
Chapter 34: Appendix: Cortex-M3 user guide
34.2.4.9 CLREX
Clear Exclusive.
34.2.4.9.1 Syntax
CLREX{cond}
where:
cond is an optional condition code, see Section 34.2.3.7 “
Conditional execution.
34.2.4.9.2 Operation
Use
CLREX
to make the next
STREX
,
STREXB
, or
STREXH
instruction write 1 to its destination
register and fail to perform the store. It is useful in exception handler code to force the
failure of the store exclusive if the exception occurs between a load exclusive instruction
and the matching store exclusive instruction in a synchronization operation.
See Section 34.3.2.7 “
Synchronization primitives for more information.
34.2.4.9.3 Condition flags
These instructions do not change the flags.
34.2.4.9.4 Examples
CLREX

Table of Contents

Other manuals for NXP Semiconductors LPC1768

Related product manuals