Labour Day Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: scxmas70

EN0-001 Exam Dumps - ARM Accredited Engineer

Question # 4

Which TWO of the following accurately describe constraints on the location of the Tightly Coupled Memory (TCM) regions in a Cortex-R4 processor? (Choose two)

A.

TCM Region A (ATCM) must be at a lower memory address than TCM Region B (BTCM)

B.

TCM Region A can only be located at address 0x0

C.

Both TCM regions must be placed at addresses which are aligned to their size

D.

The two TCM regions may not overlap

E.

TCM Region B (BTCM) must be located immediately above TCM Region A (ATCM)

Full Access
Question # 5

The Cortex-A9 processor implements a feature called "small loop mode" which reduces power consumption when executing small loops by turning off instruction cache accesses. Which of the following statements describes a condition that must be satisfied for this mode to be enabled?

A.

The loop must fit into two cache lines

B.

The loop must only contain forward branches

C.

Only integer arithmetic can be used

D.

All variables must be held in registers

Full Access
Question # 6

When an interrupt service routine reads the Generic Interrupt Controller (GIC) Interrupt Acknowledge Register, what state transition occurs for that interrupt ID?

A.

Inactive to Active

B.

Inactive to Pending

C.

Active to Inactive

D.

Pending to Active

Full Access
Question # 7

An undefined instruction will cause an Undefined Instruction exception to be taken when:

A.

It is fetched.

B.

It is decoded.

C.

It is executed.

D.

It writes back its results.

Full Access
Question # 8

Processors which implement the ARMv7-A architecture can be configured to allow unaligned memory access. Unaligned accesses have a number of advantages, disadvantages, and limitations.

Which TWO of the following statements are true? (Choose two)

A.

Unaligned accesses may take more cycles to execute than aligned accesses

B.

Unaligned loads and stores are necessary for accessing fields in packed structures

C.

A program compiled using unaligned accesses can be safely executed on all ARMv7-A devices

D.

If the relevant control register setting is enabled all loads and stores can function from unaligned addresses

E.

Unaligned accesses can only be made to Normal memory

Full Access
Question # 9

To return from a Data Abort handler and re-execute the aborting instruction, what value should be loaded to the PC?

A.

PC=LR

B.

PC=LR44

C.

PC=LR-4

D.

PC=LR-8

Full Access
Question # 10

What are the values of the NZCV bits in the CPSR after executing the following instructions?

LDR R0, = 0xFFFFFFFF

ADDS R0, R0, #1

A.

0101

B.

0110

C.

1001

D.

1010

Full Access
Question # 11

In a Cortex-A processor, assume an initial value of R1 =0x80004000.

If the following instruction causes a data abort, what value will R1 contain on entry to the abort handler?

LDR R0, [R1, #8]!

A.

0x80003FF8

B.

0x80004000

C.

0x80004008

D.

R1 contents are unpredictable

Full Access
Question # 12

When linking with the standard C library, which library functions MUST be redefined in order to port your code to a new piece of production hardware?

A.

Functions that are not compliant with the ISO C library standard

B.

Functions that are not compliant with the 1985 IEEE 754 standard for binary floating-point arithmetic

C.

Target-dependent functions which use semihosting

D.

Functions called implicitly by the compiler

Full Access
Question # 13

LDREX and STREX were introduced in which ARM architecture version?

A.

ARMv5TE

B.

ARMv6

C.

ARMv6K

D.

ARMv7

Full Access
Question # 14

An external debugger would need to clean the contents of the processor data cache in which of the following cases?

A.

When it changes the contents of ARM registers (r0-r15)

B.

When it displays the contents of an area of cacheable data

C.

When it displays the contents of an area of cacheable code

D.

When it sets a software breakpoint

Full Access
Question # 15

How is data written into NOR flash memory?

A.

Data can only be written once, when the flash device is being manufactured

B.

Writing data to the memory locations using store instruction, as you would with RAM

C.

Reading and writing specific registers following a device-specific procedure

D.

Using an external programming device, which utilizes an ultra-violet lamp to alter the data stored on the device

Full Access
Question # 16

In which of the following situations would you use a mutex to avoid synchronization problems?

A.

A single-threaded application needs to manage two separate UART peripherals

B.

Two independent threads running on a single processor both need to access a single UART

C.

In a dual-core system, a UART is accessed by a single thread running on one of the processors

D.

In a dual-core system, processor A needs to access UART A and processor B needs to access UART B

Full Access
Question # 17

When using an Operating System, which instruction is used by user code to request a service from the kernel?

A.

BLX

B.

RFEFD

C.

SRSFD

D.

SVC

Full Access
Question # 18

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)

A.

VA == PA; No address translations; instructions and data are not cached

B.

VA! = PA; No address translations; instructions may be cached but not data

C.

VA == PA; Address translations take place; data may be cached but not instructions

D.

VA == PA; No address translations; instructions may be cached but not data

Full Access
Question # 19

Before execution:

R0=0xFFFFFFFF

R1 = ?

EOR R0, R0, R1

If R0=0x00000000 after executing the EOR instruction above, what was the value in R1 before the instruction executed?

A.

0x00000000

B.

0xFFFFFFFF

C.

0x11111111

D.

0xAAAAAAAA

Full Access
Question # 20

The following pair of functions implement a simple mutex spinlock which might be used to protect a critical code section in a multi-threaded application. The address of the lock variable is in r0.

In order to minimize power while waiting for the lock to be available. SEV and WFE instructions can be used to place the processor in a low power state while waiting for the lock to become available. At which points should these instructions be placed?

Question # 21

A simple method of measuring the performance of an application is to record the execution time using the clock on the wall or a wristwatch.

When is this method INAPPROPRIATE?

A.

When executing the software using a simulation model

B.

When the processor is a Cortex-R4

C.

When instruction tracing is enabled

D.

When the processor is not executing instructions from cache

Full Access
Question # 22

The Memory Protection Unit (MPU) of Cortex-R4 performs which of the following tasks?

A.

Translates virtual addresses to physical addresses

B.

Generates parity information to detect soft errors in memory

C.

Performs access permission checks

D.

Permits the system to be divided into secure and normal worlds, through the use of ARM's TrustZone technology

Full Access
Question # 23

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?

A.

DMB

B.

DSB

C.

ISB

D.

NOP

Full Access
Question # 24

Which of the following pairs of statements about the difference between a Memory Management Unit (MMU) and a Memory Protection Unit (MPU) is correct?

A.

The MMU uses translation tables. The MPU does not use translation tables.

B.

The MMU uses only physical addresses. The MPU translates virtual addresses to physical addresses.

C.

The MMU defines cacheability attributes for memory. The MPU does not define cacheability attributes for memory.

D.

The MMU defines access permissions for memory. The MPU does not define access permissions for regions of memory.

Full Access
Question # 25

Which one of these statements is TRUE about code running on final hardware without a debugger attached?

A.

It must start executing from RAM

B.

RAM must be initialized before reset

C.

Exception handlers must execute from ROM or flash memory

D.

It must not execute semihosting SVC or BKPT instructions

Full Access
Question # 26

When the software floating point emulation library is used, how will the parameters be passed to the following function?

void foo(float f1, float f2, float f3, float f4);

A.

On the stack

B.

In registers s0-s3

C.

In registers d0-d3

D.

In registers r0-r3

Full Access
Question # 27

When programming in C, how many bytes of stack are needed to pass parameters when calling the following function?

int foo( int arg_a, int arg_b, int arg_c )

A.

0

B.

4

C.

8

D.

12

Full Access
Question # 28

Which of the following sequences of stages comprise the ARM7TDMI three-stage pipeline?

A.

Fetch, Decode, Execute

B.

Decode, Fetch, Execute

C.

Execute, Fetch, Decode

D.

Fetch, Execute, Execute

Full Access
Question # 29

Which power mode describes the state where the ARM processor is powered down, but its Level 1 caches remain powered?

A.

Run mode

B.

Dormant mode

C.

Standby mode

D.

Shutdown mode

Full Access
Question # 30

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

A.

The ACTLR

B.

The SCTLR

C.

The TTBCR

D.

The CONTEXTIDR

Full Access
Question # 31

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

A.

The Thumb-2 instruction set

B.

NEON

C.

Integer division instructions

D.

A memory management unit

Full Access