Pass the ARM AAE EN0-001 Questions and answers with CertsForce

Viewing page 5 out of 7 pages
Viewing questions 41-50 out of questions
Questions # 41:

A software profiling tool records the address held in the Program Counter (PC) every 1 ms. The software function that resides at each recorded address can be determined by the profiling tool. The percentage of time spent in each function is calculated from the percentage of recorded addresses where each function is resident.

Which one of the following statements is FALSE?

Options:

A.

The tool shows an estimate of the percentage of time spent in each function


B.

The tool identifies all functions executed by the application


C.

The function with the highest percentage is a good candidate for optimization


D.

The results will be more accurate on a processor running at 250 MHz. than one running at 2 GHz


Expert Solution
Questions # 42:

Which of the following statements regarding Strongly-ordered memory is architecturally FALSE?

Options:

A.

Address locations marked as Strongly-ordered memory are never held in a cache


B.

The architecture does not permit speculative data accesses to Strongly-ordered memory


C.

A write to Strongly-ordered memory is permitted to complete before it reaches the peripheral or memory component accessed by the write


D.

The number and size of accesses to Strongly-ordered memory must be the same as that specified by the program


Expert Solution
Questions # 43:

Which of the following is a REQUIRED feature in the ARMv7 architecture?

Options:

A.

The Thumb-2 instruction set


B.

NEON


C.

Integer division instructions


D.

A memory management unit


Expert Solution
Questions # 44:

Which one of the following debug methods is the least intrusive for analyzing a timing related bug?

Options:

A.

Place breakpoints on strategic locations to locate the problem area


B.

Instrument the code with print statements to locate the problem area


C.

Use debug hardware to place watchpoints on strategic data memory locations


D.

Use trace hardware to capture a trace log up to the point of the crash


Expert Solution
Questions # 45:

In an ARMv7-A processor, which control register is used to enable the Memory Management Unit (MMU)?

Options:

A.

The ACTLR


B.

The SCTLR


C.

The TTBCR


D.

The CONTEXTIDR


Expert Solution
Questions # 46:

The instruction LDR pc, [ r1 ] takes longer to execute on a particular system, than the instruction LDR r0, [ r1 ]. In both cases, r1 points to the same address in external memory.

Which of the following is the most likely explanation of why it takes more cycles?

Options:

A.

The value read from address r1 must be passed from the data side of the processor to the instruction side


B.

The LDR pc, [r1] causes the instruction pipeline to be flushed, but the LDR r0, [r1] does not


C.

The LDR pc, [ r1 ] instruction requires additional alignment checking, as the result must be half word-aligned (Thumb) or word-aligned (ARM)


D.

The LDR r0, [r1] can be speculatively executed, but the LDR pc, [r1] instruction cannot be speculatively executed


Expert Solution
Questions # 47:

According to the EABI. what would the C size of () operator return when given the following structure?

Question # 47

Options:

A.

19


B.

20


C.

24


D.

28


Expert Solution
Questions # 48:

The disassembly of a program written in C shows calls to the function__aeabi_fadd. Which one of these compiler floating point options could have been used?

Options:

A.

Hard floating-point linkage


B.

Soft floating-point linkage without floating-point hardware


C.

Hard floating-point linkage with optimization for space


D.

Soft floating-point linkage with floating-point hardware


Expert Solution
Questions # 49:

The effect of clicking the Stop button in a debugger is to:

Options:

A.

Put the processor(s) into debug state.


B.

Force the processor to execute a BKPT instruction


C.

Hold the processor in a Reset condition


D.

Re-initialize the memory contents.


Expert Solution
Questions # 50:

An interrupt handler contains the following instruction sequence at the end. The purpose of these instructions is to clear the interrupt request in the interrupt controller and then safely re-enable interrupts.

STR r0, [r1] ; write to interrupt controller register to clear interrupt request

CPSIE i ; re-enable IRQ interrupts

Which of the following instructions should be placed at position in order to ensure that the interrupt controller sees the write before interrupts are re-enabled?

Options:

A.

DMB


B.

DSB


C.

ISB


D.

NOP


Expert Solution
Viewing page 5 out of 7 pages
Viewing questions 41-50 out of questions