Professional Documents
Culture Documents
_________ Field is a group of symbols used to represent an address that is not specifically known at the time, the statement is written. A. Opcode B. Label C. Operand D. Comment 3. Which level of programming is faster in terms of execution? A. High C. Low B. Assembly D. Medium
4. Which registers are used for address calculations in based indexed addressing mode? A. BX & SI C. BP & DI B. BP & SI D. BX/BP & SI/DI
5. Which of the following addressing mode is also called as displacement addressing mode? A. Register C. Relative based indexed B. Register relative D. Based indexed
6. An Intra segment jump is a jump any where within code segment and Inter segment jump is a jump to any memory location within the entire memory system. A. True B. False C. None 7. Which of the following operation is illegal? A. PUSH AX C. PUSH AL B. POP DX D. ALL
9. Which of the following flags are affected for CMP instruction? A. CF, OF, ZF C. CF, SF B. CF, ZF, SF D. CF, ZF
10. After execution of AAS instruction, _______ nibble contains the correct unpacked BCD. A. Lower C. Both B. Upper D. None
11. What instruction is used for converting a byte to word? A. CBW C. CWD B. CWB D. CDW
12. During signed operations _______ is called the sign extension of AL. A. DH C. AX B. DL D. AH
13. Which of the flag are Reset after logical OR and AND operations? A. CF, ZF C. CF, SF B. CF, OF D. CF, PF
14. The TEST AL, 01H instruction performs ___________ logical operation. A. AND C. OR B. XOR D. NOT
15. MOV BL, 02H MOV AL, 07H IDIV AL, BL After the execution of these instructions, the contents of AL are ________. A. 03H B. F3H C.13H D. FFH 16. MOV BL, 02H MOV AL, F9H; twos complement of -7 IDIV AL, BL After the execution of these instructions, the contents of AL are ________.
A. FDH C.13H
B. FCH D. FFH
17. MOV BL, 02H MOV AL, F9H; twos complement of -7 SAR AL, 02H After the execution of these instructions, the contents of AL are ________. A. FDH B. FCH C.13H D. FFH 18. Which of the following instruction can be used to check whether a number is positive or not? A. ROL C. RCL B. ROR D. TEST
19. What is the operation done by the following statement REP MOVSB A. Index registers are incremented B. CX is decremented C. No flags are affected D. All 20. The instruction that searches for an operand byte in a string of bytes or words specified in AX register is_________. A. LODS C. STS B. SCAS D. SCANS
21. Which of the following instruction is a unconditional jump? A. JMP C. JZ B. JUMP D. All
22. Upon the receipt of an Interrupt, the instruction executed is A. RET C. IRET B. RETURN D. INTO
23. Calculate the address of the Interrupt service routine from the following instruction? INT 40H A. 00A0H C. 0080H B. 0160H D. 0040H
24. Which of the following instruction performs unconditional jump CX number of times? A. JNZ C. LOOP B. JZ D. LOOPZ
25. Upon the receipt of a CALL, the instruction executed is A. RET C. IRET B. RETURN D. INTO
27. Identify one of the flag manipulation instructions. A. STL C. STO B. CLF D. CLC
28. Give the status of TEST pin during the execution of WAIT instruction. A. 0 C. Not effected B. 1 D. High Z
29. Give the directive used to end a procedure. A. END C. ENDM B. ENDS D. ENDP
30. Identify the directive to align on odd memory address. A. EVEN C. Not necessary B. ODD D. None
31. What directive is used to declare a procedure as public? A. PUBLIC C. EXTRN B. EXTERN D. GLOBAL
32. ________ Operator computes the 16-bit displacement of the particular label. A. LENGTH C. GROUP B. OFFSET D. PTR
33. What operator is used to access external procedures? A. PUBLIC C. EXTRN B. EXTERN D. GLOBAL
34. The Pointer operator is prefixed by A. Double word C. Byte B. Word D. Byte/Word
35. What are the contents of CS and IP after execution of JMP 10000H? A. CS=0000H, IP=1000H C. CS=1000H, IP=1002H B . CS=1000H, IP=0000H D. CS=1000H, IP=1004H
36. The PUSH instruction loads the upper byte in _________. A. SP-1 C. SP+1 B. SP-2 D. SP+2
37. The POP instruction loads the lower byte from _________. A. SP-1 C. SP+1 B. SP-2 D. SP+2
39. Calculate the physical address for relative based indexed addressing mode: Given [DS] =2100H [BX] = 0158H [DI] = 1234H Displacement=13A1H A. 482D B. 2312D C. 2372D D. Insufficient data 40. Factorial program is an example for ________ procedures. A. Recursive C. Both B. Reentrant D. Stack
12. D 13. B 14. A 15. A 16. A 17. B 18. C 19. D 20. B 21. A 22. C 23. A 24. C 25. A 26. B 27. D 28. B 29. D 30. C 31. C 32. B 33. D 34. D 35. B