MP INSTRUCTIONS

MP INSTRUCTIONS

Assessment

Flashcard

Engineering

University

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

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.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?