Bird
0
0

A developer tries this sequence:

medium📝 Analysis Q7 of 15
ARM Architecture - Power Modes
A developer tries this sequence:
    MRS R0, SCR
    BIC R0, R0, #0x4
    MSR SCR, R0
    WFI
What is the effect of clearing bit 2 (0x4) before WFI?
ACPU triggers a reset
BCPU enters deep sleep mode
CCPU enters normal sleep mode, not deep sleep
DCPU ignores the WFI instruction
Step-by-Step Solution
Solution:
  1. Step 1: Understand BIC instruction effect

    BIC clears specified bits; here it clears SLEEPDEEP bit (0x4).
  2. Step 2: Result of clearing SLEEPDEEP bit

    Clearing SLEEPDEEP means CPU will enter normal sleep mode on WFI.
  3. Final Answer:

    CPU enters normal sleep mode, not deep sleep -> Option C
  4. Quick Check:

    Cleared SLEEPDEEP = normal sleep = A [OK]
Quick Trick: Clearing SLEEPDEEP bit disables deep sleep [OK]
Common Mistakes:
  • Assuming clearing bit triggers deep sleep
  • Thinking CPU resets on bit clear
  • Believing WFI is ignored

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More ARM Architecture Quizzes