Download as DOCX, PDF, TXT or read online from Scribd
Download as docx, pdf, or txt
You are on page 1of 8
1.
Assembly language is easier to understand as compared to machine language
program because A. Offers mnemonics B. Symbolic names for addressing C. Offers opcodes and operands D. Both A and B Ans D 2. The instructions like MOV or ADD are called as ______ A. OP-Code B. Operators C. Commands D. None of the mentioned Answer: Option A 3. A single two pass assembler does which of the following in the first pass A. It allicates space for the literals B. It computes the total length of the program C. It builds the symbol table for the symbols and their values D. All of the above Answer: Option D 4. DEBUG is able to troubleshoot only A. .EXE files B. .OBJ files C. .EXE file and .OBJ file D. .EXE flie and .LST file Answer: Option A 5. The purpose of the ORIGIN directive is __________ A. To indicate the starting position in memory, where the program block is to be stored B. To indicate the starting of the computation code C. To indicate the purpose of the code D. To list the locations of all the registers used Answer: Option A 6. The last statement of the source program should be _______ A. Stop B. Return C. OP D. End Answer: Option D 7. A machine language instruction format consists of A. Operand field B. Operation code field C. Operation code field & operand field D. None of the mentioned Answer: Option C 8. A 16-bits address bus can generate _____addresses. a) 32767 b) 25652 c) 65536 d) None of the mentioned Answer: c 9. The register of 8086 are_____ bits in size. a) 8 b) 12 c) 16 d) 20 Answer: c 10. Which of the following registers are available in 8086 microprocessor? a) General data register b) Segment registers c) Pointer and Index register d) All of the mentioned Answer: d 11. Which of the following is a 16-bit register? a) AL b) AX c) AH d) All of the mentioned Answer: b
12. _______ register is used as a default counter in case of string and loop instructions. a) AX b) BX c) CX d) DX Answer: c
13. _____ register is used as an implicit operand or destination operand in case of arithmetic instructions and Input-Output instructions. a) AX b) BX c) CX d) DX Answer: d
14. The number of address and data lines of 8086_________. a) 8 and 8 b) 16 and 16 c) 20 and 16 d) 16 and 20 Answer: c
15. _______ is the most important segment and it contains the actual assembly language instructions to be executed by the microprocessor. a) Data segment b) Code segment c) Stack segment d) Extra segment Answer: b
16. Base Pointer (BP) contains offset address of ________ segment. a) Data segment b) Code segment c) Stack segment d) Extra segment Answer: a
17. Instruction Pointer (IP) contains offset address of ________ segment. a) Data segment b) Code segment c) Stack segment d) Extra segment Answer: b
18. The Instruction Pointer is ______ bits in length. a) 8 bits b) 4 bits c) 16 bits d) 32 bits Answer: c
19. The index register is used to hold __________. a) Segment memory b) Offset memory c) Offset address d) Segment address Answer: c
20. SI and DI registers is used to store the offset addresses of _______. a) CS and DS or ES b) DS and DS or ES c) DS or ES and CS d) DS and ES Answer: b
21. Which of the following is not a machine control flag? a) Direction flag b) Interrupt flag c) Overflow flag d) Trap flag Answer: c
22. In 8086 the overflow flag is set when______. a) The sum is more than 16 bit b) Carry and sign flags are set c) Signed numbers go out of their range after an arithmetic operation d) During subtraction Answer: c
23. Direction flag is used with ____. a) String instructions b) Stack Instructions c) Arithmetic Instructions d) Branch Instructions Answer: a
24. If there is a carry from lowest nibble during addition, ______ flag sets. a) Carry b) Auxiliary carry c) Over flow d) Sign Answer: b
25. If_________ flag is set; the processor enters the single step execution mode. a) Direction b) Trap c) Interrupt d) Zero Answer: b
26. The Intel 8086 microprocessor is a_____ processor. a) 8 bits b) 4 bits c) 16 bits d) 32 bits Answer: c
27. What is /are the improvement is in the architecture of 8086 over 8085 architecture a) A 16-bit ALU, a set of 16-bit registers b) Segmented memory addressing c) Fetched instruction queue for overlapped fetching and execution d) All of the mentioned Answer: d
28. The BIU prefetches the instruction from memory and store them in _____. a) Queue b) Register c) Memory d) Stack Answer: a
29. The 8086 fetch instruction one after another from ______ of memory. a) Data segment b) Code segment c) Extra segment d) Stack segment Answer: b
30. Which is not part of execution unit? a) ALU b) Address conversion mechanism c) Flag register d) General purpose registers Answer: b
31. The length of predecoding instruction byte queue is _______ bytes long. a) 2 b) 4 c) 6 d) 8 Answer: c
32. If segment address = 1005 H, offset address = 5555 H, then the physical address is_____. a) 655A H b) 155A5 H c) 4550 H d) 56555 Answer: b
33. In a segment if offset is a 16-bit number, then the maximum possible locations are_____. a) 1 KB b) 64 bytes c) 64 KB d) 1 MB Answer: c
34. If the size of the segment is 64 kb, what will be the starting and ending off set addresses of it a) 0000H to 7FFFH b) 0000H to FFFFH c) 8000H to FFFFH d) 00000H to FFFFFH Answer: b
35. Of the segment addresses are assigned as 0000H to F000H and the offset addresses values are from 0000H to FFFFH, then the physical addresses range from_____. a) 0000H to FFFFH b) 00000H to F0000H c) 00000H to FFFFF d) 0000H to FFF0H Answer: c 36. What is the content of Stack Pointer ? Address of the current instruction Address of the next instruction Address of the top element of the stack None of the above Ans. C 37. The instruction DEC N inform the assembler to Decrement the content of N Decrement the data addressed by N Convert signed decimal number to binary None of the above Ans. A 38. Classify the following register(s) SI,DI Index registers General purpose registers Segment registers Ans. A
39. Which of the following instruction(s) can be performed only in CX register:
LOOP MUL, DIV, CBW ADD, SUB Ans.A 40. The CX register full name is: Accumulator register Base register Counter register Ans. C 41. how many bits in one double word? 8 bits 16 bits 32 bits Ans. C 42. How many bytes in a double word 1 byte 2 byte 4 byte Ans. C 43. The result of logical operation: 1 XOR 0 logic 0 logic 1 Ans. B 44. The result of logical operation: 0 OR 0 logic 0 logic 1 Ans. A 45. The result of logical operation: 1 XOR 1 logic 0 logic 1 Ans. A 46. The result of logical operation: 1 OR 0 0 1 Ans.B 47. The AX register full name is: Accumulator register Counter register Base register Ans. A 48. The result of logical operation: 1 AND 1 logic 1 logic 0 Ans,A 49. How many bytes in one word 1 byte 2 byte 4 byte Ans, B 50. What is the value of AX register after executing, MOV AX,456h, CMP AX,456h 456h Zero Unknown ANs. A 51. To increment both AL, AH registers: INC AX INC AL INC AH both (a) and (b) are correct Ans. B Consider the program segment: Age DB 100 MOV Age,123 52. What is the memory-addressing mode of the first operand in the MOV instruction? Immediate addressing mode direct addressing mode Indirect addressing mode Ans. C 53. The assembly directive is a command to: The Assembler program The Microprocessor both (a) and (b) are correct Ans. A