UNIT-1
1).The total number of address lines in 8086 microprocessor is______ [ c ]
a) 8 b) 16 c) 20 d) 40
2).How many flags are presented in 8086 microprocessor______ [ b ]
a) 8 b) 9 c) 10 d) 12
3).How many pins are presented in 8086 microprocessor______ [ b ]
a) 20 b) 40 c) 44 d) 42
4).The total memory capacity of 8086 microprocessor is______ [ c ]
a) 64KB b) 512KB c) 1MB d) 64MB
5)._____ is a small program that is a part of large program. [ b ]
a) MACRO b) PROCEDURE c) BRANCH d) REGISTER
6).The general purpose registers are______________ [ d ]
a) AX, BX b) CX, DX c) CS, DS d) both (a) &(b)
7).________ is used as a 16-bit accumulator. [ a ]
a) AX b) BX c) CX d) DX
8).The memory of 8086 is divided into _____ logical segments. [ b ]
a) 4 b) 16 c) 64 d) 12
9).Physical address can be calculated from__________ [ c ]
a) Segment address b) offset c) both (a) & (b) d) none
10).The complete architecture of 8086 is divided into ____ parts. [ d ]
a) 3 b) 4 c) 6 d) 2
11).The control flag register contains_____ flags. [ b ]
a) 1 b) 2 c) 3 d) 4
12)._______ are the special purpose registers. [ d ]
a) Segment registers b) pointers c) index registers d) All
13)._______ flag is set when the result is negative. [ c ]
a) O b) I c) S d) C
14).Assembler is a program used to convert an assembly language into
Machine language.
15).The hints given to the assembler using predefined alphabetical strings
are called Assembler Directives.
16).The process of assigning a lable to the string is called MACRO.
17).MOV AX,[BX] is an example for Register Indirect addressing mode.
18). PUSH instruction inserts the contents on to the stack.
19). IN instruction is used for reading an input port.
20).CWD stands for Convert signed word to Double word.
UNIT -2
1).________ is a call to a procedure in the same code segment as the CALL
Instruction. [ c ]
a) Far CALL b) same CALL c) Near CALL d) None
2)._______ is a call to a procedure present in a different segment from that
Which contains the CALL instruction. [ b ]
a) Same CALL b) FAR CALL c) Near CALL d) None
3).When a RET instruction is used in near procedure,then the return will be
Done by replacing IP with a word from_______ [ b ]
a) Bottom of stack b) Top of stack c) Left of stack d) Right of stack
4).The process of writing a set of instructions which tells the microprocessor
What to do is called________ [ a ]
a) Program b) procedure c) MACRO d) Lable
5).ALP stands for Assembly Language Programming.
6).The words used by assembly language to represent each instruction type
Is called Mnemonics.
7).’IF’,’ELSE’ & ‘ENDIF’ are used to implement Conditionalstatements.
8).CMP instruction is used to compare two strings.
9).CALL instruction is used to transfer execution to a sub-program or procedure.
10).RET instruction will return execution from a procedure to the next instruction.
11). The contents of different registers are given below. Form Effective addresses for different addressing modes are as follow : Offset = 5000H
[AX]- 1000H, [BX]- 2000H, [SI]- 3000H, [DI]- 4000H, [BP]- 5000H,
[SP]- 6000H, [CS]- 0000H, [DS]- 1000H, [SS]- 2000H, [IP]- 7000H.
I. MOV AX, [5000H]
a) 5000Hb) 15000H c) 10500H
II. MOV AX, [BX] [SI]
a) 13000H b) 15000H c) 12000H
III. MOV AX, 5000H [BX] [SI]
a) 20000H b) 1A000H c) 1A00H
12). The conditional branch instruction JNS performs the operations when if __
a) ZF =0 b) SF=0 c) PF=0 d) CF=0
13). Vector address of TRAP
a) 24H b) 36H c) 24 d) 18H
14). SOD pin can drive a D flip-flop?
a) SOD cannot drive any flip-flops.
b) SOD cannot drive D flip-flop, but can drive any other flop-flops.
c) Yes, SOD can drive D flip-flop.
d) No, SOD cannot drive any other flop-flops except D flop-flop.
15). IDIV and DIV instructions perform the same operations for?
a) Unsigned number b) Signed number c) Signed number & Unsigned number d) none of above.
16). What is the output of the following code
AL=88 BCD, CL=49 BCD
ADD AL, CL
DAA
a) D7, CF=1 b) 37, CF=1 c) 73, CF=1 d) 7D, CF=1
17). What is the output of the following code
AL= 49 BCD, BH= 72 BCD
SUB AL, BH
DAS
a) AL=D7, CF=1. b) AL=7D, CF=1. c) AL=77, CF=1 d) none of them.
18). What is the output of the following code?
AL= -28 decimal, BL=59 decimal
IMUL BL
AX=? , MSB=?
a) AX= F98CH, MSB=1. b) AX= 1652, MSB=1. c) BX F9C8H, MSB=1. d) BX= 1652, MSB=1.
19. What is the output of the following code?
AL= 00110100 BL= 00111000
ADD AL, BL
AAA
a) AL = 6CH b) 12H c) 12 d) C6H
20). What is the output of the following code?
AL=00110101 BL= 39H
SUB AL, BL
AAS
a) AL= 00000100, CF=1 b) BL=00000100, CF=0
c) AL=11111100 CF=1 d) BL= 00000100, CF=1
21). What is the output of the following code
CF =0, BH = 179
RCL BH, 1
a) CF=0, OF= 1, BH= 01100101 b) CF=1, OF=1, BH=01100110
c) CF=1, OF =0, BH= 01001101 d) CF=0, OF=0, BH=00101100
No comments:
Post a Comment