EN0-001 ARM Accredited Engineer

Loading demo links...

Showing 13–15 of 15 questions

Question 13

A function written in C has the prototype:

void my_function(float a. double b, float c);

The function is built and linked into an application using hard floating-point linkage. What registers are used to pass arguments to the function?

Select an option, then click Submit answer.

  • a->s0; b->d0; c->s1

  • a->s0; b->d1; c->s1

  • a->d0; b->d1; c->d2

  • a->s0; b->d1; c-> s2

Question 14

In general, when programming in C, stack accesses will be reduced by:

Select an option, then click Submit answer.

  • Disabling inlining.

  • Never passing more than four parameters in function calls.

  • Declaring automatic variables as "packed".

  • Configuring the compiler to optimize for space.

Question 15

Which of the following ARM processors has the best energy efficiency (measured in mW/MHz)?

Select an option, then click Submit answer.

  • Cortex-M0+

  • Cortex-M4

  • Cortex-R4

  • Cortex-A15