Que: 192. mov.w @PC+,R6 is a type of
|
a. direct addressing |
b. indirect addressing |
c. immediate addressing |
d. indirect auto increment addressing |
(c). immediate addressing
Que: 193. Which instruction is used to call functions?
|
a. MOV |
b. GO |
c. CALL |
d. All of the mentioned |
Que: 194. ret instruction is used for
|
a. determining the end of the program |
b. for returning back from the subroutine to the main program |
c. for transferring data from one place to another |
d. none of the mentioned |
(b). for returning back from the subroutine to the main program
Que: 195. According to conventions being followed, R12 to R15 are used for
|
a. parameter passing |
b. preserved for call |
c. both of the mentioned |
d. none of the mentioned |
Que: 196. We can store the temporary results across a call instruction with the help of which of the following registers
|
a. R1-R4 |
b. R4-R11 |
c. R12-R15 |
d. All of the mentioned |
Que: 197. Can we allocate variables on the stack?
|
a. yes |
b. no |
c. can’t be said |
d. depends on the conditions |
Que: 198. Which registers are reserved for passing the parameters to a subroutine and then returning the final result?
|
a. R1-R4 |
b. R4-R11 |
c. R12-R15 |
d. All of the mentioned |
Que: 199. What actually is the order of stack frame for a parameter to pass to a subroutine?
|
a. parameter passed to subroutine |
b. return address |
c. saved copies of registers(R4-R11) |
d. all of the mentioned |
(d). all of the mentioned
Que: 200. When any subroutine is called, then the first value of stack will be
|
a. value of PC |
b. the return address |
c. none of the mentioned |
d. both are one and the same things |
(d). both are one and the same things
Que: 201. After subroutine which of the instruction is used for returning the pointer back to the main program?
|
a. ret |
b. reti |
c. both of the mentioned |
d. none of the mentioned |
(c). both of the mentioned