Microcontroller Mcqs

Our Collection of Microcontroller questions and answers focuses on all areas of Multiprocessors covering a collection of most authoritative and best reference books on Microcontroller. One should spend 1 hour daily for 2-3 months to learn and assimilate Microcontroller comprehensively.

31.
What is the difference between the two given instructions?LDI R16,0x34 and LDI R16,$34

One copies the hexadecimal value to R16 and the other copies the decimal value to the R16 register

One is for command, other is for data

One is for assignment, other is for operations

Both the commands are the same

35.
Which of the following is correct about BRNE instruction in avr microcontrollers?

It is used to compare two registers

It is used to compare two values

It is used check the zero flag

It is used to jump to the given mentioned label when the zero flag accounts to 1

36.
How many times is this loop going to get execute? LDI R20, 10now: LDI R21, 70 DEC R21 BRNE now OUT PORTB, R20

10

70

700

None of the mentioned

37.
Which of the below mentioned are not the conditional jumps?

BRLO

BRMI

BRVC

None of the mentioned

38.
What is the relation between the target and the relative address?

Target address= PC address + relative address.

Target address= relation address*2

Relative address= PC address + target address

None of the mentioned

40.
Which of the following statements is/are correct?

Relative address of RJMP instruction varies from 000-fffH

Target address of JMP instruction varies from 000000-3fffffH

IJMP instruction jumps to that address that points to by the Z register

All of the mentioned

41.
Which of the following is used to represent the last RAM address?

MEM

LASTRAM

RAMEND

None of the mentioned

42.
Which of the following statements are correct about the RCALL instruction?

It is a 2 byte instruction

It is a 4 byte instruction

It is a 16 byte instruction

None of the mentioned

44.
Which of the following statements is true?

CALL instruction is used to transfer control anywhere in the 4M memory space

PUSH instruction is used to take out the value from the stack into some register

POP instruction is used to jump to any location

RCALL is a 4 byte instruction

45.
In AVR, which registers are there for the I/O programming of ports?

PORT

PIN

DDR

All of the mentioned

error: You are not allowed to do so.....
0Shares
0
Scroll to Top