0% found this document useful (0 votes)
15K views1 page

ARM Interview Questions

This document summarizes the different processor modes in the ARM architecture: - System mode is the only non-privileged mode. - Supervisor (svc) mode is a privileged mode entered when executing an instruction that modifies bits of the CPSR register. - Abort, Undefined, Interrupt, and Fast Interrupt modes are privileged modes entered when certain exceptions occur. - Hyp mode is a hypervisor mode introduced in ARMv7 for hardware virtualization. The CPSR register bits represent the processor status including the current mode, condition codes from the ALU, interrupt disables, and more.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15K views1 page

ARM Interview Questions

This document summarizes the different processor modes in the ARM architecture: - System mode is the only non-privileged mode. - Supervisor (svc) mode is a privileged mode entered when executing an instruction that modifies bits of the CPSR register. - Abort, Undefined, Interrupt, and Fast Interrupt modes are privileged modes entered when certain exceptions occur. - Hyp mode is a hypervisor mode introduced in ARMv7 for hardware virtualization. The CPSR register bits represent the processor status including the current mode, condition codes from the ALU, interrupt disables, and more.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

01/02/2016

ARMInterviewQuestions

Theonlynonprivilegedmode.
Systemmode

Theonlyprivilegedmodethatisnotenteredbyanexception.Itcanonlybeenteredbyexecutinganin
bitsoftheCPSR.
Supervisor(svc)mode
AprivilegedmodeenteredwhenevertheCPUisresetorwhenaSWIinstructionisexecuted.
Abortmode
Aprivilegedmodethatisenteredwheneveraprefetchabortordataabortexceptionoccurs.
Undefinedmode

Aprivilegedmodethatisenteredwheneveranundefinedinstructionexceptionoccurs.
Interruptmode
AprivilegedmodethatisenteredwhenevertheprocessoracceptsanIRQinterrupt.
FastInterruptmode
AprivilegedmodethatisenteredwhenevertheprocessoracceptsanFIQinterrupt.
Hypmode
Ahypervisormodeintroducedinarmv7aforcortexA15processorforprovidinghardwarevirtualizatio
Reference:http://en.wikipedia.org/wiki/ARM_architecture

ExplainaboutthebitsinCPSRregister.

Theindividualbitsrepresentthefollowing:
NNegativeresultfromALU.
ZZeroresultfromALU.
CALUoperationCarryout.
VALUoperationoVerflowed.
Qcumulativesaturation(alsodescribedassticky).
JindicateswhethertheprocessorisinJazellestate.
GE[3:0]usedbysomeSIMDinstructions.
IT[7:2]IfThenconditionalexecutionofThumb2instructiongroups.
Ebitcontrolsload/storeendianness.
Abitdisablesasynchronousaborts.
IbitdisablesIRQ.
FbitdisablesFIQ.
TbitindicateswhethertheprocessorisinThumbstate.
M[4:0]specifiestheprocessormode

http://www.dummymind.com/arminterviewquestions.html

1/1

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy