adplus-dvertising
frame-decoration

Question

How many times is this loop going to get execute?

LDI R20, 10
now: LDI R21, 70
DEC R21
BRNE now
OUT PORTB, R20

a.

10

b.

70

c.

700

d.

none of the mentioned

Answer: (b).70

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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

Similar Questions

Discover Related MCQs

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

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

Q. In the JMP instruction how many bits are their for determining the target address?

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

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

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

Q. On power on SP points to the address?

Q. Which of the following statements is true?

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

Q. The data will not go from the port registers to the pin unless:

Q. On reset DDR registers of all ports are set to:

Q. All series of AVR has 8 pins in all of their ports?

Q. Which of the following is not a single bit instruction in AVR?

Q. Which of the following is correct about the SBIS instruction?

Q. Instruction CBI PORTB,1 means

Q. Which of the following instruction can used to toggle a bit of the PORT?

Q. What is the main function of the SBIC instruction?

Q. In AVR micro controllers, ADD instruction affects the status of which of the following bits of a status register?

Q. ADC instruction is used for?

Q. AVR supports which of the following mentioned subtraction instructions?