ARM Interview Questions
ARM Interview Questions
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