Q.1 Circle the MOST CORRECT ANSWER.
1. In order for a function to return a 16- bit value to the calling function, we use the _________ register
a. AX b. AL c. BX d. DX:AX
2. To export a function so other source code files can use, we use the directive
a. extern b. global c. import d. export
3. A constructed FAR procedure should be terminated with
a. retf b. retn c. end d. iret
4. To signal the end of an assembly program, we use
a. endp b. end c. endseg d. start
5. INT 10h is an example of _____________ interrupt.
a. Software b. Hardware c. external d. DOS
6. The Instruction PUSH AX will
a. Increment SP b. Decrement SP c. Increment SS d. Decrement SS
7. The result of executing NOT AX
a. AX=01111011 b. AX=10111000 c. AX=01110100 d. others
8. The result of executing SAR BX, 3
a. BX=11110111 CF=1 b. BX=00010111 CF=0
c. BX=11110111 CF=0 d. others
9. After executing AND AX,BX
a. AX=10111011 b. AX=00111001 c. AX=10001011 d. others.
10. After executing TEST AX, 10000001
a. AX=10001011 b. AX=10000001 c. AX=01111011 d. others.