COAC Quizzes Continued

What do you get in R5 after the followoing instruction is executed in MSP430? MOV @R3+ R5
-1
0
1
2
There are only two addressing modes for the destination operand in MSP430, namely register direct and index addressing
True
False
Shift operations in MSP430 can be implemented in rotation instructions with carry. Which of the following instructions must be executed before rotations?
BIS
ADD
CLRC
JMP
Which of the following symbols indicates indirect register addressing in MSP430 assembly programming?
@
#
&
$
A program may be executed directly in an interpreter with compilation
True
False
Which of the following is false?
#1234h indicates an immediate value following the instruction using @PC+ addressing
#Label indicates a PC relative addressing which is offset(PC) index addressing
Immediate addressing (#) indicates value that comes with the instruction
PC relative addressing implements PIC (position independent code)
Which of the following MSP430 will affect SR?
MOV
XOR
POP
BIS
Which of the following takes longer execution time than others?
Register direct
Indirect register
Index addressing
Indirect autoincrement
Which of the following is used for asynchronous I/O?
Memory map
Interrupt
Buffering
Timer
How many interrupt vectors are in MSP430?
8
16
32
48
Which of the following is/are the principle of low power design?
Peripherals should be switched on only when needed
Use low-power integrated peripheral modules in place of software driven functions
Avoid frequent subroutine and function calls due to overhead
For longer software routines, single-cycle CPU registers should be used.
All of the above
Which of the following is true?
An instruction is executed in one clock cycle
The execution of an instruction requires one machine cycle
A machine cycle requires a fixed number of clock cycles
CPU speed is measured by machine cycles
Which of the following generates lowest clock in MSP430?
XT1
XT2
VLO
DCO
Which of the following is a piece of code executed for an interrupt request?
Interrupt service routine
Interrupt vector
Subroutine
Function
Which of the following will wake up CPU from sleep modes?
I/O
ALU
Instruction
Interrupt
Which type of interrupt is "access violation to flash" in MSP430?
Maskable
NMI
System reset
Global
What do you do if an ISR needs to use R4 in MSP430?
Just use it
Push it to stack before using it, and pop it out after done
Use the copy of R4 for ISR
None of the above
Which of the following is true for RETI and RET?
RETI is used for subroutine whereas RET is used for ISR
RETI pops one register whereas RET pops two registers from stack
RETI is not emulated whereas RET is emulated
None of the above
{"name":"COAC Quizzes Continued", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"What do you get in R5 after the followoing instruction is executed in MSP430? MOV @R3+ R5, There are only two addressing modes for the destination operand in MSP430, namely register direct and index addressing, Shift operations in MSP430 can be implemented in rotation instructions with carry. Which of the following instructions must be executed before rotations?","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Powered by: Quiz Maker