wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

MENG 2530_Week 4 Review

Total questions: 9

Worksheet time: 7mins

Name
Class
Date
1.

The GPR registers are used for storing data and memory addresses.

a)

True

b)

False

2.

The GPR registers in ARM are ____ .

a)

8 bit

b)

16 bit

c)

32 bit

d)

Depends on uC

3.

Write instructions to store byte value 0x95 into memory location with address 0x40.

4 lines
4.

“LDR R6, [R3]” puts the result in ____________?

a)

R6

b)

R3

c)

Address pointed by R3

d)

Address pointed by R6

5.

What does “STRB R1, [R2]” do?

a)

It copies R2 into location pointed to by R1.

b)

It copies the lower byte of R2 into location pointed to by R1.

c)

It copies R1 into location pointed to by R2.

d)

It copies the lower byte of R1 into location pointed to by R2.

6.

The value in "MOV R2, #value" is ___ bits wide.

a)

32

b)

16

c)

8

d)

any size

7.

Which of the followings is(are) illegal?

a)

MOV R2, #0x50000

b)

MOV R3, #0x50

c)

MOV R1, 255

d)

MOV 123, 0x50

8.

Which of the following is (are) illegal?

a)

ADD R2, #20, R1

b)

ADD R1, R1, R2

c)

ADD R5, R16, R3

d)

ADD R2, R1, #20

9.

A given ARM has 0x3FFF as the address of the last location of its on-chip ROM. What is the size of on-chip Flash for this ARM?

a)

4K

b)

8K

c)

16K

d)

32K