Que: 51. Which of the following is not a single bit instruction in AVR?
|
a. SBI |
b. PORT |
c. CBI |
d. All of the mentioned |
Que: 52. Which of the following is correct about the SBIS instruction?
|
a. it is used to the monitor the status of the HIGH for the single bit of a port |
b. it is a byte oriented instruction |
c. It is a 4 byte instruction |
d. all of the mentioned |
(a). it is used to the monitor the status of the HIGH for the single bit of a port
Que: 53. Instruction CBI PORTB,1 means
|
a. clearing the PORTB register |
b. clearing the first bit of the PORTB register |
c. setting the PORTB register |
d. setting the first bit of the PORTB register |
(b). clearing the first bit of the PORTB register
Que: 54. Which of the following instruction can used to toggle a bit of the PORT?
|
a. SBI |
b. CBI |
c. Both of the mentioned |
d. None of the mentioned |
(c). Both of the mentioned
Que: 55. What is the main function of the SBIC instruction?
|
a. it is used to clear a particular bit of a port |
b. it is used to jump unconditionally |
c. it is used to skip the instruction if a particular bit of a port is zero |
d. none of the mentioned |
(c). it is used to skip the instruction if a particular bit of a port is zero
Que: 56. In AVR micro controllers, ADD instruction affects the status of which of the following bits of a status register?
|
a. Z |
b. C |
c. N |
d. All of the mentioned |
(d). All of the mentioned
Que: 57. ADC instruction is used for?
|
a. addition of two 16 bit numbers |
b. analog to digital conversion |
c. automatic digital control |
d. none of the mentioned |
(a). addition of two 16 bit numbers
Que: 58. AVR supports which of the following mentioned subtraction instructions?
|
a. SUB |
b. SBC |
c. SBI |
d. All of the mentioned |
(d). All of the mentioned
Que: 59. What steps are involved when we subtract two numbers present at two different locations?
|
a. take the two’s complement of the subtrahend |
b. add it to the minuend |
c. invert the carry |
d. all of the mentioned |
(d). all of the mentioned
Que: 60. In executing subtraction based instructions, state the role of the C flag?
|
a. if C=1, the result is negative |
b. if C=1, the result is positive |
c. none of the mentioned |
d. all of the mentioned |
(a). if C=1, the result is negative