New Year Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

Passed Exam Today EN0-001

Page: 6 / 8
Total 210 questions

ARM Accredited Engineer Questions and Answers

Question 21

An advantage of native compiling over cross compiling is that:

Options:

A.

It can enable the final code to be smaller, and execute more quickly.

B.

It allows greater parallelism when building code by utilizing many processors.

C.

The compiler is able to produce error and warning messages in a range of languages.

D.

Build scripts can detect details of the target, and automatically configure the build to match.

Question 22

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

Question 23

The following C function is compiled with hard floating point linkage.

float function(int a, float b, int c, float d);

Which register is used to pass argument c?

Options:

A.

R0

B.

R1

C.

R2

D.

R3

Question 24

According to the AAPCS (with soft floating point linkage), when the caller "func" calls sprintf, where is the value of the parameter "x" placed?

#include

void func(double x, int i , char *buffer)

{

sprintf(buffer, "pass %d: value = %f\n", i, x); }

Options:

A.

Split between register R3 and 4 bytes on the stack

B.

Split between registers R3 and R4

C.

8 bytes on the stack

D.

VFP Register D0

Page: 6 / 8
Total 210 questions