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

Which of the following is correct about BRNE instruction in avr microcontrollers?
A. it is used to compare two registers
B. it is used to compare two values
C. it is used to check the zero flag
D. it is used to jump to the given mentioned label when the zero flag accounts to 0
 
Answer: d
Explanation: BRNE label instruction is used to jump to that particular address denoted by label if condition (Z=0) is true or satisfied. If the condition is not satisfied then it will execute the next immediate instruction.
 

Tìm kiếm

Back
Top