bmstutor.com

vlsi interview question-objective type-07



131 An OR gate generates a low output when (a) any one of its inputs is low (b) all of its inputs are high (c)
when all of its inputs are low (d) power fails
132. Given that the subprogram putc displays the character in al, the effect of the following
instructions: mov al, ‘a’
add al, 2
call putc
is to (a) display 2 (b) display c (c) display a (d) display a blank
133. Given that the bl register contains ‘B’, the effect of the following instruction
or bl, 0010 0000
is to (a) clear bl (b) store ‘b’ in bl (c) store 0010 0000 in bl (d) leave bl unchanged
133b. Given that the bl register contains ‘B’, which of the following instructions will change bl so that it contains
b (a) or bl, 0010 0000 (b) and bl, 0010 0000 (c) or bl, 1101 1111 in bl (d) and bl,
1101 1111
133c. Given that the bl register contains ‘b’, which of the following instructions will change bl so that it contains
B (a) or bl, 0010 0000 (b) and bl, 0010 0000 (c) or bl, 1101 1111 in bl (d) and bl,
1101 1111
134. Which of the following is an illegal instruction
(a) MoV Ax, 30000 (b) iNc Al (c) aNd bx, bx (d) add ax 30
135. An AND gate generates a high output when (a) any one of its inputs is high (b) all of its inputs are high (c)
when all of its inputs are low (d) power fails
136. Given that the subprogram putc displays the character in al, the effect of the following instructions:
mov al, ‘0’
add al, 2
call putc
is to (a) display ‘2’ (b) display 3 (c) display 0 (d) display a blank
137. Given that the bl register contains 1111 0000, the effect of the following instruction
or bl, 0000 1111
is to (a) clear bl (b) store 1111 1111 in bl (c) store 0000 1111 in bl (d) leave bl unchanged
138. Which of the following is an illegal 8086 instruction
(a) mov 20, bx (b) iNc Al (c) aNd bx, bx (d) add ax, 30
139. Which of the following is an illegal l8086 instruction8
8
(a) mov ax, [bx] (b) iNc [bx] (c) aDd bx, [bx] (d) add ax, [cx]
140. Which of the following is an illegal 8086 instruction
(a) mov ax, [bx] (b) iNc [bx] (c) aDd bx, [dx] (d) add [bx], 1
141. Which of the following is an illegal 8086 instruction
(a) ret 2 (b) push al (c) aDd bx, 25000 (d) and ax, dx
142. The net effect of calling the following subprogram in terms of program behaviour:
Subprog: push ax
add ax, 10
r e t
is to (a) leave ax unchanged (b) add 10 to ax (c) cause the program to behave in an unpredictable manner (d) do
nothing
143. Branch prediction is used in the context of (a) pipelining (b) program loops (c) cache memory (d) ALU
operation
144. Delayed branching is used (a) to introduce delays in program execution (b) in pipelining (c) in cache
memory (d) decoding instructions
145. A Harvard architecture means that a machine has (a) separate memories for data and instructions (b) unified
cache memory (c) multiple functional units (d) an on-chip cache
146. Which is the most complex component of the following (a) transistor (b) flip flop (c) AND gate (d) decoder
147. An assembly language instruction (a) always has a label (b) always takes at least 1 operand (c) always has an
operation field (c) always modifies the status register
148. An arithmetic instruction always modifies the (a) stack pointer (b) status register (c) program counter (d) an
index register
149. A conditional jump instruction (a) always cause a transfer of control (b) always involves the use of the status
register (c) always modifies the program counter (d) always involves testing the Zero flag
150. An interrupt instruction (a) causes an unconditional transfer of control (b) causes a conditional transfer of
control (c) modifies the status register (d) is an I/O instruction