You copied the Doc URL to your clipboard.

13.196 WFI

Wait for Interrupt.

Syntax

WFI{cond}

where:

cond

is an optional condition code.

Operation

This is a hint instruction. It is optional whether this instructionis implemented or not. If this instruction is not implemented, itexecutes as a NOP. The assembler producesa diagnostic message if the instruction executes as a NOP onthe target.

WFI suspends execution until oneof the following events occurs:

  • An IRQ interrupt, regardless of the CPSR I-bit.
  • An FIQ interrupt, regardless of the CPSR F-bit.
  • An Imprecise Data abort, unless masked by the CPSR A-bit.
  • A Debug Entry request, regardless of whether Debug is enabled.

Availability

This instruction is available in A32 and T32.

Was this page helpful? Yes No