8.5.10. CM flag registers

The core module flag registers provide you with two 32-bit register locations containing general-purpose flags. You can assign any meaning to the flags.

The core module provides two distinct types of flag registers:

Flag/nonvolatile flag register, CM_FLAGS/CM_NVFLAGS

The status register contains the current state of the flags.

Flag/nonvolatile flag set register, CM_FLAGSS/CM_NVFLAGSS

The flag set locations are used to set bits in the flag registers as follows:

  • write 1 to SET the associated flag

  • write 0 to leave the associated flag unchanged.

Flag/nonvolatile flag clear register, CM_FLAGSC/CM_NVFLAGSC

The clear locations are used to clear bits in the flag registers as follows:

  • write 1 to CLEAR the associated flag

  • write 0 to leave the associated flag unchanged.

Copyright © 2002-2003. All rights reserved.ARM DUI 0184B
Non-Confidential