0% found this document useful (0 votes)
6 views6 pages

Week 09 Assignment Solution

nptel

Uploaded by

Sarita Bhutada
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views6 pages

Week 09 Assignment Solution

nptel

Uploaded by

Sarita Bhutada
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

____________________________________________________________________________

Microprocessors and Microcontrollers


Assignment 9- Week 9
TYPE OF QUESTION: MCQ
Number of questions: 15 Total mark: 15 X 1 = 15
______________________________________________________________________________

QUESTION 1:
What is the instruction bus size of ARM10?
A) 16-bit
B) 32-bit
C) 64-bit
D) 128-bit

Correct Answer: C

Detailed Solution:

ARM10 core instruction and data buses are 64-bit wide

______________________________________________________________________

QUESTION 2:
ARM10 TDMI is a

A) 3-stage pipeline processor


B) 5-stage pipeline processor
C) 6-stage pipeline processor
D) 8-stage pipeline processor

Correct Answer: C

Detailed Solution:

Following shows pipeline stages used in different versions of ARM


3-stage pipeline – ARM7TDMI and earlier
5-stage pipeline – ARMS, ARM9TDMI
6-stage pipeline – ARM 10 HDMI
8-stage pipeline – ARM11
____________________________________________________________________________
option C is correct

QUESTION 3:
When the processor encounters a memory fault, then the ARM processor enters in
_____________.

A) Fast interrupt processing mode (FIQ)


B) Normal interrupt processing mode (IRQ)
C) Supervisor mode (SVC)
D) Abort mode

Correct Answer: D

Detailed Solution: ARM processor enters Abort mode in response to memory fault

______________________________________________________________________

QUESTION 4:
Which register is not allowed in ARM multiplication instructions?
A) R0
B) R1
C) R14
D) R15

Correct Answer: D

Detailed Solution: PC (R15) cannot be used for multiplication. Option D is correct

_____________________________________________________________________

QUESTION 5:
In which of the following modes of an ARM processor, The CPSR cannot be modified?
A) Fast Interrupt Processing (FIQ) mode
B) Normal Interrupt Processing (IRQ) mode
C) User mode
D) Supervisor (SVC) mode
Correct Answer: C

Detailed Solution:
____________________________________________________________________________
_______________________________________________________________

QUESTION 6:
A little-endian processor stores _______________________.

A) the most significant byte is stored at the lowest memory address


B) the least significant byte is stored at the lowest memory address
C) the least significant byte is stored at the highest memory address
D) the most significant byte is stored in stack memory

Correct Answer: B

Detailed Solution:

In a little-endian processor, the least significant byte of a word is stored in the memory location
with the lowest address, while the most significant byte is stored in the memory location with the
highest address.

________________________________________________________

QUESTION 7:
What is the purpose of the N flag in the CPSR register?

A) Indicates if the result of the previous operation was negative


B) Indicates if the processor is in privileged mode
C) Indicates if the result of the previous operation resulted in a carry
D) Indicates if the result of the previous operation result is zero

Correct Answer: A

Detailed Solution:

______________________________________________________________________________
_

QUESTION 8:
On reset, ARM inserts in which of the following mode?
A) Fast interrupt processing mode (FIQ)
B) Normal interrupt processing mode (IRQ)
C) Supervisor mode (SVC)
____________________________________________________________________________
D) User mode
Correct Answer: C

Detailed Solution:

QUESTION 9:
When a procedure call is made, the return address is automatically placed into

A) Program Counter (R15)


B) Link Register (R14)
C) Stack Pointer (R15)
D) Stack Pointer (R13)

Correct Answer: B

Detailed Solution:

R14 is called as link register. When a procedure call is made, the return address is automatically
placed into this register. A return from the procedure can be implemented by copying R14 to R15

Option B is correct
__________________________________________________________________

QUESTION 10:
Which algorithm is used for multiplication operations in an ARM processor?
A) Braun array signed multiplier
B) Booth’s algorithm for multiplication
C) Baugh wooley multiplier
D) Vedic multiplier
Correct Answer: B

Detailed Solution:
____________________________________________________________________________
QUESTION 11:
Which of the following mode is used for OS services?
A) Supervisor mode
B) User mode
C) Fast interrupt processing mode
D) Normal interrupt processing mode

Correct Answer: A

Detailed Solution:

_____________________________________________________________________
QUESTION 12:
Which of the following operation is performed by ARM instruction STRSH?
A) Store word
B) Store half word
C) Store signed halfword
D) Store signed byte
Correct Answer: C

Detailed Solution:

QUESTION 13:
WHich of the following pipeline stage is not a part of the ARM 3-stage pipeline processor?

A) Register stage
B) decode
C) fetch
D) execute

Correct Answer: A

Detailed Solution:

QUESTION 14:
Which of the following register is used as a stack pointer?
A) R11
B) R12
C) R13
D) R14
____________________________________________________________________________
Correct Answer: C

Detailed Solution:

R13 is conventionally used as the stack pointer.

QUESTION 15:
Software interrupt forces the ARM processor to operate in _____________.
A) Supervisor mode
B) Abort mode
C) User mode
D) Normal interrupt processing mode

Correct Answer: A

Detailed Solution:

************END*******

You might also like