

MP INSTRUCTIONS
Flashcard
•
Engineering
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

49 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is the primary function of a microcontroller?
Back
Execute user programs
Answer explanation
Microcontrollers execute user-defined embedded programs.
2.
FLASHCARD QUESTION
Front
Which section of assembly code holds instructions? Options: .text, .data, .bss, .const
Back
.text
Answer explanation
.text section is used for holding executable instructions.
3.
FLASHCARD QUESTION
Front
What directive is used to allocate initialized data? Options: .text, .bss, .data, .global
Back
.data
Answer explanation
.data is used for initialized data.
4.
FLASHCARD QUESTION
Front
What does the LDI instruction do?
Back
Loads immediate value
Answer explanation
LDI loads an immediate value into a register.
5.
FLASHCARD QUESTION
Front
Which instruction performs an unconditional jump? Options: BRNE, RJMP, CALL, NOP
Back
RJMP
Answer explanation
RJMP jumps to a relative address unconditionally.
6.
FLASHCARD QUESTION
Front
What is the purpose of the EQU directive?
Back
Equates a label with a value
Answer explanation
EQU assigns a constant value to a symbol.
7.
FLASHCARD QUESTION
Front
What does the BRNE instruction check?
Back
Zero flag clear
Answer explanation
BRNE jumps if the zero flag is NOT set.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?