Which of the following processors includes a Generic Interrupt Controller as a standard component?
A simple system comprises of the following memory map:
Flash - 0x0 to 0x7FFF
RAM - 0x10000 to 0X17FFF
When conforming to the ABI, which of the following is a suitable initial value for the stack pointer?
In general, when programming in C, stack accesses will be reduced by:
Which ARMv7 instructions are recommended to implement a semaphore?
When using an Operating System, which instruction is used by user code to request a service from the kernel?
In a multi-processor system, there are four processors numbered 0, 1, 2 and 3. The state of the processors is as follows:
CPU 2 executes a SEV instruction. What is the effect on the system?
The following ARM instruction can be used to return from an exception:
movs pc, lr
Apart from the program counter, which register is updated by this instruction?
Capturing processor execution trace is characterized as being:
Which one of the following statements best describes the function of vector catch logic?
Which of the following statements is TRUE with respect to the power consumption related to memory accesses?
Clicking the Start button in a debugger:
In a single-processor system, which of these operations requires a barrier instruction to guarantee correct operation?
Which THREE of the following items should be preserved by software when entering dormant mode? (Choose three)
Which of the following operations would count as intrusive to normal processor operation?
Consider the following instruction sequence:
STR r0, [r2] ; instruction A
DSB
ADD r0, r1, r2 ; instruction B
LDR r3, [r4] ; instruction C
SUB r5, r6, #3 ; instruction D
At what point will execution pause until the STR access is complete?
Assume a multicore processor with coherency management based on the MESI protocol. When a core changes the contents of a shared cache line, what is the final status of that line in the local cache?
An ARM processor connected to a Generic Interrupt Controller (GIC) is handling an active interrupt 11. A new interrupt 12 that is received at the GIC is forwarded to the processor, and the active interrupt 11 is preempted. Which of the following possible values of 11's priority (P1), 12's priority (P2) and the processor’s priority mask (PM) permit this to happen? Assume there are 256 priority levels implemented.
Which of the following will cause the ARM Compiler to target the Thumb instruction set?
In a Cortex-A9 processor, when the Memory Management Unit (MMU) is disabled, which of the following statements is TRUE? (VA is the virtual address and PA is the physical address)
Consider a sequence of five independent instructions running on a pipelined processor. There are no interlocks and no data dependencies between instructions, and each instruction takes one cycle to execute. The processor has three pipeline stages and is not superscalar.
How many cycles does it take to fetch, decode and execute all five instructions in sequence, assuming that there are no pipeline stalls?
Which of the following memory attributes, specified in a translation table entry, could be used to protect a page containing a read-sensitive peripheral from speculative instruction fetches?
What side-effect could using a debugger to read memory contents have?
When the processor is executing in Thumb state, which of the following statements is correct about the values stored in R15?
In a loop termination test, how might a programmer indicate to the compiler that the loop iteration count limit is divisible by four?
When debugging an embedded Linux system, which one of the following techniques can be used to halt a single user thread, while allowing other threads to continue to run during the debug process?
Under which of the following circumstances would a DSB instruction be used?
In which TWO of the following locations would a compiler typically place local variables? (Choose two)
Under which of the following data-sharing scenarios would cache maintenance operations be necessary?
For Cortex-A series cores, what instruction(s) are recommended to implement a mutex or semaphore?
In an ARMv7-A processor that includes the Advanced SIMD extension (NEON), where are the data values operated on by NEON instructions stored?
The Performance Monitoring Unit (PMU) of a Cortex-A9 processor permits direct measurement of which one of the following?