CS401 Quiz 1 lec (1 to 11) according to new book

0

 Aslam U Alaikum!


Which of the following is a program control instruction?

jne 0534

 

The basic function of register is to hold---------.

Oparands

 

A 16-bit processor has an accumulator of:

16 bit

REPE and REPNE prefixes are only meaningful with------------.

CMPS

 

Stack is a data structure that behaves in --------------manner.

LIFO

 

Which of the following is the general form of addressing?

Base + Index + Offset

 

All mathematical and logical operations are performed on the:

Accumulator

 

Which of the following register is used to hold the address of the next instruction to be executed?

Program Counter

 

Which of the following bit is dropped into the carry flag after the execution of “Shift Logical Right” operation?

Right most bit

 

How logical errors are different from syntax error?

Identifying syntax and logical errors it the responsibility of assembler and programmer respectively.

In operation, the output is 1 only if both inputs are 1.

AND

How jmp is different form jnz?

jmp is an unconditional jump, however jnz is a conditional jump

 

In Shift Logical Left (SHL), the bit is dropped into the carry flag. most significant In STOS, the implied source operand always resides in ------.

 

AL or AX

Which of the following is an illegal assembly instruction?

mov [num1], [num2]

 

sub sp, 2

The above instruction is used to perform a operation on stack.

PUSH

 

subtracts one from the operand.

DEC

 

STI stands for?

Set the Interrupt flag

RET instruction takes arguments(s).

0

 

A symbol associated to a point in the program is called a .

Or A symbol associated to an instruction in the program is known

as:

Label

 

In 8088, there is a stack.

decrementing

 

CX register is mostly used as a register.

Counter

There are byte(s) for each character on the screen.

2

 

Whenever an instruction needs a memory source, holds the pointer to it.

DS:SI

The maximum amount of memory accessible using 8085 processor is .

64 KB

In direct addressing, the memory address given in the instruction is :

fixed

What makes CMP different from SUB?

SUB is a destructive subtraction while CMP is a nondestructive subtraction. Both affect the flags.

Which of the following are the basic bitwise logical operations?

AND, OR, XOR, and NOT

To convert the case of character, we add or subtract from

it its ASCII code

0x20

When the RET instruction is executed, it recovers the value of

the from the stack.

instruction pointer

 

When the relative address stored with the instruction is in 16

bits, the jump is called a jump.

Near

 

Registers are storage cells .

inside the processor

 

Keeping in view the downward compatible between the two systems, the codes written for the intel iAPX88 are on the intel 386 processor.

valid

In multiplication algorithm, We take the first digit of the multiplier and multiply it with the .

multiplicand

 

Which of the following jump does not depend on flags register?

JCXZ

In --------- operation, a zero is inserted from the left and every bit moves one position to the right. The right most bit is dropped or down into the carry flag.

Shift Logical Right (SHR)

 

In case of DIV BX instruction, the quotient is stored in ------- register.

AX

Which of the following flags sets when a large number is subtracted from a smaller number?

CF

The ordering of a program’s instructions is ensured by the ---- register.

Program Counter

 

When an element is pushed on the stack, SP is decremented by …………..

Two

In iAPX88, flag is specifically related to string instructions.

direction

Which of following conditional jump is not dependant on any flag?

Or

 

A decrementing stack moves from -------- to ---------addresses as elements are added in it.

higher, lower

 

The most convenient place to store local variables is ----------.

stack

---------- can be used to check whether particular bits of a number are set or not.

AND

Which of the following operations is used to set any specific bit in a binary number?

OR

 Which of the following operations is used to clear any specific bit in a binary number?

AND

Which bit of attribute byte represents the blue component of foreground color?

0

The segment offset pair is called a/an --------- address.

logical      

 

The extra bit produced as a result of an arithmetic operation that does not fit in the target register is stored in:

carry flag

 

Cell width refers to the total number of bits in a memory cell while the total number of cells is called the ---------.

depth

 

Intel 8085 can access up to --------- of memory, whereas Intel 8088 can access up to ---------- of memory.

64 KB, 1 MB

Which of the following is the most illegal instruction?

Mov al, ax

In ADC instruction, there are -----------.

two operands and the CF

 

Call instruction takes a -------- as an argument.

Label

 

Or Call instruction takes -------- argument(s).

1

 

VGA stands for .

Video Graphics Adapter

 

When the control is transferred to a subroutine?

After the arguments are pushed on the stack

CS and IP are both-----------bit registers.

16

 

Registers are normally part of ----------.

CPU

The base pointer accesses local variables using ------- offsets.

negative

 

ASCII table is the contiguous arrangement of the uppercase alphabets (41-5A), the lowercase alphabets (61-7A), and the numbers ----------.

30-39

 

Which of the following string instructions is generally used in a loop instead of REP prefix?

LODS

 

The correct instruction to subtract with borrow is ---------.

SBB

mov [1234], ax is an example of ---------- addressing.

Direct

 

What the following piece of code does?

Shl word [multiplicand], 1

Rcl word [multiplicand+2], 1

Extended Shift left

 

Shift logical Left (SHL) moves all the bits one position to the --- and inserts a zero from the ---------.

left, right

 

In MUL instruction, if the source operand is a byte, then it is multiplied with ------------ register.

AL

 In MUL instruction, if the source operand is a word, then it is multiplied with ------------ register.

AX

When the operand of DIV instruction is in 16 bits, then the implied dividend will be in ----------.

DX:AX

 

What does the PUSH operation do?

its copies the operand on the stack

 

When the execution of Call instruction, the value of ------- is decremented by 2.

SP

Which of the following bus is used to inform the memory that whether processor wants to read data or write data?

Control Bus

In far jump,---------------.

both offset and segment are given

 

A value 0500 is stored in memory. If we transfer this value to a general-purpose register, then it will be shown as:

0005

In which of the following addressing, both registers are not constant?

Base + Index

 

The number of ------------ in a cell is called the cell width.

Bits

In extended multiplication, we store the multiplicand in ------ bits, and the result is stored in ------- bits.

32, 32

Synchronization between the processor and the memory for the read and write operations is done by the -----------.

Control bus

 

iAPX88 Architecture consists of:

14 Registers

 

---------- transfers the word at the top of stack (pointed to by SP) to the destination operand and then increments SP by two.

POP

Which of the following is an incorrect XOR operation?

XOR BX,AX

 

This jump is taken if the last arithmetic operation changed the sign unexpectedly.

JO

 

Which of the following jumps is taken if the last arithmetic operation did not changed the sign unexpectedly?

JNO

Which would be the output of MOV AX, BL?

Assembler will declare that this is an illegal instruction

 

------- or ------- are taken if the last arithmetic operation has produced a number in the destination that has add parity.

JNP, JNO

Group of bits processor uses to inform memory which element to read/write is collectively known as:

Address bus

MOVS is used to move a block of memory.

Move

Stack Pointer is ----------- when the ret instruction is executed.

Incremented by 2

 

---------- Instruction directs the flow of program.

Program Control

 

Which of the following instructions allows memory to memory movement of data?

MOVS

 

By default, IP is associated with -----------.

CS

After the execution of Shift Arithmetic Right instruction, the most significant bit -----------.

retains its original value

 

In case of DIV BX instruction, the quotient is stored in ------ register.

AX

 

Which part of B80500 (encoded instruction) is an opcode?

B8

 

The operand of ------- is called the source operand because the data moves to the stack from the operand.

PUSH

 

Which of the following jump is taken if the last arithmetic operation has produced a number in its destination that has even parity?

JPE

When there is a 16 bit operand with the DIV instruction, then the implied dividend will be in -------- bits.

32

EBCDIC, grey code and ASCII are the standards for --------- representation of characters.

Alpha-numeric

 

In ---------, a zero is inserted from the right and every bit moves one position to its left with the most significant bit dropped into the carry flag.

both SHL and SAL

 

Conditional jumps can only be ----------.

Short

 

BP stands for --------- pointer.

Base

In video memory, each screen location corresponds to ---bytes.

2

 

What makes CMP different from SUB?

SUB is a destructive subtraction while CMP is a nondestructive subtraction. Both affect the flags.

Which of the following registers is used as a counter?

CX

The memory on video controller is accessible to the processor by -------- bus.

System

Which of the following addressing scheme has been used in the instruction MOV [BX], AX?

Based Register Indirect

 

The multiplier is stored in ---- bits in Extended Multiplication.

16

Which part of machine code tells the central processor to perform a certain task?

Operation code

Which of the following elements will come out first using the POP instruction if 6,3,5,8,4,7 and 9 were pushed on the stack?

9

During program execution, if any change occurs in AH or AL, is also reflected in ----------.

AX

To modify the processor’s behavior, ---------- instructions are used.

special

Which of the following uses data segment by default?

Base register or BX

 

The operand of POP is called the --------- because the data is moving from the stack to the operand.

destination

 

In assembly language, the first executable instruction of the program should be placed at the offset ----------.

0x0100

 

Suppose, the current value of IP is 0x0129, and the relative address is 0x0012. What will be the new value of IP?

0x013B

In the instruction “mov word [es:0], 0x1230”, 12 refers to ------ color on -------- background.

green, blue

 

mov ax, [num1] is an example of ----------- bit move.

8

The physical memory address of 1234:5678 segment-offset pair is:

179B8

XOR can also be used as a --------- to invert selective bits.

masking operator

 

Call instruction fchanges the values of ----- and ---- registers.

IP, SP

 

There are ------- registers in iAPX88 architecture that can hold

address of data.

4

 

What does the given instruction do?

SHR DL, 1

Move the right most bit into the carry flag

 

In which of the following terms, a character is stored in memory while writing assembly language program?

ASCII code

 

Physical memory address is of:

20 bits

 

In 8088, there is a -------------stack.

decrementing

 

Which of the following is also called intro-segment cell?

Near call

 

Suppose BX=0x0120, CS=0x1000, and the memory under

consideration is [CS:BX+0x0880].

Which of the following will be the physical address?

109A0

Which of the following is the correct syntax for ‘OR’ operation

in assembly language?

or ax, bx

 

In assembly language, “DIV BL” instruction has an ------- bit operand.

8

Flags register is a special register in every architecture. It is also known as ---------.

program status word

 

An important role of the stack is in the creation of ----- variables that are only needed while the subroutine is in execution and not afterwards.

Local

Stack is a data structure that behaves in a First in Last …….. manner.

Out

We can convert a digit into its ASCII representation by adding to it.

0x30

___________Decrements SP (the stack pointer) by two and then transfers a word from the source operand to the top of stack?

Or

__________ function decrements SP (the stack pointer) by two and then transfers a word from the source operand to the top of stack now pointed to by SP.

Push

 

The flag has a special role in debugging.

trap

 

IAPX88 stands for:

Intel Advanced Processor Extensions 88

 

In every bit moves one position to the right and the bit dropped from the right is inserted at the left. This bit is also copied into the carry flag.

Rotate Right (ROR)

 

Which of the following registers hold the address of data in Intel Boss?

BX, BP, SI and DI

 

Stack is:

a data structure

 

Constant can never be used as --------.

destination

 

SP is associated (by default) with ----------.

SS

Which bit of attribute byte represents the green component of foreground color?

1

 

BP stands for ---------- pointer.

Base

Shift logical Right (SHR) moves all the bits one position to the

 

--------- and inserts a zero from the ---------.

right, left

 

The execution of the instruction “mov word [ES :160], 0x1230” will print a character on the screen at the --------- column of the ----------- row.

first, second

 

The stack of iAPX88 works on --------- sized elements.

word

 

MOVS is used to --------- a block of memory.

Move

 

Which bit of attribute byte represents the red component of foreground color?

2

----------- can also be used as a masking operation to invert selective bits.

XOR

 

What is the content of stack pointer?

Address of the top element of the stack

 

Far jump is not position relative rather ----------.

Absolute

 

In MUL instruction, if the source operand is a byte then the result is retuned in ------- and -------.

AH, AL

 

Which of the following are the two variants of STOS instruction?

STOSB and STOSW

 

---------- cannot appear as an operand in any instruction, it is used for accessing instructions.

IP

Which of the following instructions allows code reusability in 8088?

CALL

 

Which bit of the attribute byte represents the red component of foreground color?

2

In 8051, there is an ----------- stack.

incrementing

 

Shift logical Right (SHR) operation copies the ------ bit into the carry flag.

right most

 

Shift Arithmetic Right (SAR) shifts every bit one place to the right and places a copy of the ------- significant bit at the -----

significant place.

most, most

………… jump is absolute and not position relative.

Far

 

Which of the following directive is used to reserve an eight bits space in memory?

db

 

What makes db different from dw?

dw occupies 16 bits and db occupies 8 bits

 

The total numbers of symbols in extended ASCII are …….

256

 

……… is used for permanent diversion.

Jump

 

In MUL instruction, if the source operand is a word, then it is multiplied with ------------ register.

AX

 

The intent of the processor is carried to the memory for read/write operations through the…………

control bus

 

There are -------- columns per row on the screen.

80

 

In XOR operation, the output if 1 if both inputs are -------.

different

Which of the following is the extension of object file?

.exe

The stack pointer marks the --------- of stack.

top

Shifting the integer 5 left by 1 bit results in -------.

10

 

Program consists of -------- logical parts.

Two

 

In -------- operation, a carry flag is inserted from the left moving every bit one position to its right. The right most bit is dropped in the carry flag.

Rotate Through Carry Right (RCR)

 

Memory address always goes from ………

processor to memory

 

The unit of stack operations in iAPX88 is a …………

word

 

8088 is a ………. processor with its accumulator and all registers of ………..

16 bit, 16 bits

 

Which of the following keywords is used to define two bytes in memory?

DW

Quiz #1 (1 to ) Lectures❤

1.The programmable interval Timer (PTI) has input frequency of ______.

 1.19318MHZ ..confirm

2. Which of the following IRQs is used for sound card or network card or the modem?

 IRQ 5….confirm

3. Which of the following IRQ is used by the floppy disk drive?

 IRQ 6….confrim

4. Which of the following IRQ is used by the parallel port

 IRQ 7….confirm

5. Which of the following IRQ is derived by the keyboard when generates an interrupts

when a key is passed or released

 IRQ 1…..confirm

6. Which of the following IRQ is the cascading interrupt connected to the output of the

second 8451 in the machine.

 IRQ 2…..confirm

7. Which of the following IRQ is connected to serial port COM 2

 IRQ 3……confirm

8. Which of the following IRQ is connected to serial port COM 1?

 IRQ 4….confirm

9. Which of the following instructions is used to read a character from the keyboard port?

 in al, 0x60….confirm

 10. Which of the following instruction is the key left shift?

 cmp al, 0x2a…..confirm

11. Which of the following instruction is no, try next comparison?

 jne nextcmp….confirm

12. Which of the following instruction is used to point es to video memory?

 mov es, ax…confirm

13. Which of the following instruction is used to send EOI to PIC?

 out 0x20, al…..confrim

14. Which of the following instruction is used to point as to IVT base

 mov es, ax…..confirm

15. Which of the following instruction is used to disable interrupts?

 Cli ….confirm

16. Which of the following instruction is used to store offset at n*4?

 mov word [es:9*4], kbisr….confrim

17. Which of the following instruction is used to store segment at n*4+2?

 mov [es:9*4+2], cs….confirm

18. Which of the following instruction is used to enable interrupts?

 Sti…..conftim

19. All register and stack of a program are saved in___________.

 Multitasking…confirm from net

20. _____ is/are the port number(s) for parallel port

 378…confirm

21. ______is/are the port number(s) for keyboard

 60 to 64…confrim

22. ____is/are the port number(s) for PIC

20 and 21…confirm

23. Which of the following is the ACK pin in DB-25 connecter?

 10….confirm

24. IBM AT has __ Programmable Interrupt Controllers(PIC)

 2……confirm

25. Which of the following interrupts is of highest priority?

 Timer interrupt…..confirm

24. Which of the following is the source register in OUT instruction?

 AL or AX…..confrim

25. At the end of servicing an interrupt_________signal is used to inform the

Programmable Interrupt Controller (PIC) about it.

 EOI……confirm

26. The space where all registers of a task are stored is called______

 Process Control Block(PCB)

27. INT 08 that is saving and restoring the registers is called_____and the whole event is

called a ______________

 Schedule, context switch……confirm

28. __________ is used for exporting keyboard service.

 INT 16…confirm

29. _________ is used for exporting video services accessible

 INT 10…confirm

30._______is used for parallel port services and similarly others through different

interrupts.

 INT 17…confirm

31. ______just like a pin hole camera

INT 21…confirm

32. Which of the following are the data pins used to take data from the processor to the

devices connected through parallel port

 2 to 9….confrim

33. Which of the following the ACK, is normally used by the printer to acknowledge the

receipt of data and show the willingness to receive more data

 10…. confrim

34. Which of the following are ground and must be connected to the external circuit ground

to provide.

 18 to 25….confrim

35. Which of the following stands for TSR?

 Terminate and stay resident

36. The first parallel port LPT1 has ports designated from _ to ________.

 378, 37A..confrim

37. In intel 8088, there are a total of _______ possible interrupt vectors in an interrupt

Vector Table.

 256….confrim

38. A parallel port has ______views

 2…..confirm

39. The parallel port connector is called______.

 DB-25….confrim

40. Which of the following is the highest priority interrupt?

 INT 8…..confirm

41. iret returns on the basis of ____ and ________

 CS , IP……confirm

 42. When two devices in a system want to use the same interrupt Request (IRQ) line, is

referred as IRQ_________.

 Conflict……confirm

43. Which of the following interrupt request(IRQ) is derived by a timer device.

 IRQ 0……confrim

44. Which of the following interrupt request(IRQ) is derived by a keyboard.

 IRQ 1….confrim

45. Which of the following interrupt request(IRQ) is connected to serial port COM 2.

 IRQ 3…confirm

46. Changing and restoring the state of Central Processing Unit (CPU) is called

 Context switching…confirm from net

47. Which of the following is used for exporting parallel port services

 INT 17……confirm

48. The parallel port connector is called _________.

 DB-25….confrim

49. Port ____ is used to send an End Of interrupt(EOI) signal to the programmable

Interrupt Controller(PIC) after an interrupt has ended?

 0x20…confrim

50. Which of the following is the destination register in IN instruction?

 AL or AX…..confrim

51. _________is used in debugging along with the trap flag.

 INT 1…..confirm

52. An End of interrupt (EOI) signal is sent by the

 Programmable Interrupt controller…..confirm

 53. Each of the bits of port _______ corresponds to one of the interrupt request (IRQ) lines

 21…..confirm

54. The thread registration code initializes the Process Control Black (PCB) and adds it to

the linked list. The _________ then gives it a turn.

 Scheduler……confirm

55. Which of the following is BIOS interrupt providing keyboard services?

 Int 0x16…confirm

56. DOS has a single entry point to access all of its services through__________.

 INT 21……confirm

57. The output of programmable interval timer (PIT) is connected to the ___ line of

programmable interrupt controller (PIC).

 IRQ 0….confirm

58. Which of the following flags can be used in mathematical operations?

 Carry flag….confirm

59. Programmable Interrupt Controller (PIC) has _________ input signal(s) and ____

output signal(s).

 Eight, one…..confirm

60. Which of the following pins of DB-25 connector are ground?

 18-25……confirm

61. IF the _____ flag is set, then after every instruction, a type 1 interrupt will be generated Automatically

 Trap…..confirm

62. Which of the following interrupts plays the most significant part during single step debugging of a program?

 INT 1….confirm

 63. Which of the following flags is cleared with the help of stack?

 Interrupt flag

64. Programmable interrupt controller has ______ ports 20 and 21.

 2…..confrim

65. PCB stands for _________.

 Process Control Block…..confirm

66. Which of the following is correct regarding the input frequency of Programmable

interval Timer (PIT)?

 It is fixed……confirm

67. Which of the following is the order of pushing the contents on stack during the

execution of INT instruction?

 FLAGS CS and then IP….confirm

68. ___________ is a special type of interrupt that returns to the same instruction instead of

the next instruction

 Divide overflow interrupt….confrim

69. Which of the following instruction is used to disable all interrupts during the execution

of a program?

 cli…confirm

70. The offset address of an interrupt service routine “n” at _________.

 nx4……confirm

71. The offset address of the segment will be at________.

 nx4+2…..confirm

72. In intel 8088 the interrupt vector table occupies ______ of memory

 4 bytes

 73. _______ is a special type of interrupt that returns to the same instruction instead of the

next instruction.

 Divide overflow interrupt……..confrim

74. Which of the following interrupts is used for saving and restoring the register?

 INT 08……confirm

75. Which of the following instruction is used to return from an interrupt service routine?

 IRET…….confrim

76. Which of the following is the order of pushing the contents on stack during the

execution of IRET pops instruction?

 IP, CS, and then FLAGS…..confirm

77. Which of the following is the priority of interrupt Request(IRQ) 0?

 Highest……confirm

78. The number of ______ in a cell is called the cell width

 Bits….confirm

79. iAPXBB architecture consists of

 14 register….confirm

80. Synchronization between the processor and the memory for read and write operations

is done by the_________.

 Control bus….confirm

90. _______transfer the word at the top of the stock (pointed to by SP) to the destination

operand and increments SP by two.

 POP….confirm

91. In extended multiplication, we store the multiplicand in ______ bits, and the result is

stored in ____ bits

 32, 32…..confirm

 92. Suppose AX=5, BX=5, DX=0, CF=1, ZF=1, What will be the final value in AX register

after the execution of ADC, AX, BX?

 10….confirm

93. Shift logical left (SHL) moves of the bits one position to the ________ and inserts to zero

from the _________.

 Right, left…confirm

94. In MUl instruction, if the source operand is a byte, then it is multiplied with

________register.

 Al…..confirm

95. When the operand of DIV instruction is in 16 bits, then the implied dividend will be in

 DX:AX……confirm

96. We can convert a digit into its ASCII representation by adding _________ to it.

 0x30……confirm

97. Shifting the integer 5 left by 1 bit results in

 10….confirrm from net

98. Intel 8085 can access up to _____ of memory, whereas intel 8088 can access up to

________ of memory

 64KB , 1MB

99. The ordering of a program’s instruction is ensured by the ______ register

 Program counter….confirm

100. When the RET instruction is executed, it recovers the value of the _______ from the

stack.

 Instruction pointer…..confrim

101. If AND operation is performed between AX and BX, then how many AND operations

will be performed in total?

 16…..confirm

 102. Keeping in view the downward compatability between the two systems, the codes

written for the intel 8088 are _______ on the intel 386 processor.

 Valid…confirm

103. SP is associated (by default) with ________.

 SS….confrim

104. IP is associated (by default) with ________.

 CS….confirm

105. ASCII stands for ________.

 American Standard Code for information interchange

106. ___________ is used for permanent diversion.

 Jump…..confrim

107. Which of the following uses data segment by default?

 Base pointer….confirm

108. Which of the following is the number of operands for ADC (ADD with carry)

instruction

 3

109. Which of the following addressing scheme has been used in the instruction

MOV[BX],AX?

 Base register indirect…..confrom from net

110. Suppose AX=5, BX=5, DX=0, CF=1, ZF=1 and AF=1. What will be the final value in

AX register after the execution of ADC AX, BX?

 10… not sure

111. Suppose BX=0x0120, CS=0x1000, and the memory under consideration is

[CX:BX+0x0880]. Which of the following will be the physical address?

 11A00

 112. __________ transfer the word at the top of the stack (pointed to by SP) to the

destination operand, and increment SP by two

 POP

113. In extended multiplication, we store the multiplied in ______ bits, and the result is

stored in __________ bits.

 32, 32…..confrim

114. The number of ___ in a cell is called the cell width?

 Bits

115. iAPx88 architecture consist of

 14 registers

116. Synchronization between the processor and the memory for read and write operation

is done by the ________.

 Control bus…..confirm

117. What does the PUSH operation do

 It copies the operand on the stack…..confrim

118. Intel 8085 can access up to _ of memory, whereas intel 8088 can access up to ____ of

memory.

 64KB , 1MB …confirm

119. The basic function of register is to hold ________.

 Operand…confirm

120. Which of the following bus is used to inform the memory that whether process wants

to read data or write data?

 Control bus….confirm

121. In which of the following addressing, both register are not constant?

 Base + index

122. mov [1234], ax is an example of ________addressing.

 Direct….confirm

 123. What the following piece of code does?

 Shi word [multiplicand],1

 Rcl word[multiplicand +2], 1

 Extended shift left…..confirm

 

124. The correct instruction to subtract with borrow is ___________

 SBB…confirm

125. The correct instruction to subtract without borrow is _______.

 SUB…confirm

126. Which of the following string instructions is generally used in a loop instead of REP

prefix?

 LODs…confirm

127. With the execution of Call instruction, the value of ________ is decremented by 2

 SP…confirm

128. iAPX88 stands for ___________.

 Intel Advanced Processor Extension 88

129. In far jump ___.

 Both offset and segment are given

130. A value of 0500 is stored in memory. If we transfer this value to a general-purpose

register, then it will be shown as

 0005….confirm

131. Which of the following operations is used to set any specific bit in a binary number?

 AND….confirm from net

 132. The multiplier is stored in ______ bits in Extended Multiplication

 32…confirm

133. After the execution of Shift Arithmetic Right instruction, the most significant bit

__________.

 Is replaced by a 1

134. In multiplication algorithm, we take the first digit of the multiplier and multiply it

with the __________.

 Multiplicand….confirm

135. During program execution, if any change occurs in AH or AL is also reflected in

________.

 AX…..confrim

136. Which of the following jump does not depend on flogs register?

 JCXZ…confirm

137. RET instruction takes _______argument(s)

 0 …confirm

138. Shift logical Right(SHR) moves all the bits one position to the ______ and inserts a

zero from the ____.

 Left, right….confrim

139. Shift logical LEft(SHL) moves all the bits one position to the ______ and inserts a zero

from the ____.

 Rigt, left…..confrim

139. All mathematical and logical operations are performed on the _____.

 Accumulator….confrim

140. STI stands for?

 Set the interrupt flag….confirm

 141. What is the purpose of MOV AX, 0xFFFF?

 Mov AX into 0xFFFF…..confrim

142. An important role of the stack is in the creation of _______ variables that are only

needed while the subroutine is in execution and not afterwards.

 Local…confirm

143. _____decrements SP(the stack pointer) by two, and then transfers a word from the

source operation the top of the stack

 PUSH

144. Which of the following cannot be pushed on the stack?

 1 byte..confrim

145. The maximum parameters a subroutine can receive are ______ when all the general

purpose register are used

 7……confirm

146. The ________ flag has a special role in debugging.

 Trap…confirm

147. In the instruction mov word [es:0] 0x1230, 12 refers to ___ color on ____ background

 Green, blue…..confrim

148. In the instruction mov word [es:0] 0x0741, 12 refers to ___ color on ____ background

 White, black….confrim

149. In the instruction mov word [es:0] 0xb800, 12 refers to ___ color on ____ background

 White,black…confrim

150. Which of the following is a program control instruction?

 Jne 0534….confirm

151. Which of the following instruction allows memory to memory movement of data?

 MOVS….confrim

152._______can also be used as a masking operation to invert selective bits

XOR…confirm

153. Code size reduction and improvement in speed were the two reasons for introducing

block processing instructions in the ______processor

 8088….confrim

154. In assembly language, the first executable instruction of the program should be placed

at the offset.

 0x0100….confrim

155. BH register is a (an) _________ bit register.

 8…confirm

156. Which of the following instructions allows code reusability in 8088?

 Call…confrim

157. In ADC instruction, there are ________.

 Two operands and the CF….confriim

158. ¼ can be represented by ________ as a fractional binary number.

 0.01…confirm

159. _______subtracts one from the operand

 DEC

160. Stack is a data structure that behaves in ______ manner.

 Both LIFO and FIFO…confirm

161.How logical errors are different from syntax error?

 Identifying both types of errors is the responsibility of assembler….confrim

162. A symbol associated to a point in the program is called a______.

 Label…confirm

163. IN 8088, there is a ________stack.

 Decrementing

 164. CX register is mostly used as _________ register.

 Counter…confirm

165. There are__byte(S) for each character on the screen.

 1…confirm

166. During program execution if any change occurs in AH or AL is also reflected in

________.

 AX…confirm

167.Whenever on instruction needs a memory source ______ holds the pointer to it.

 DS:SI..confirm

168. How jmp is different fron jnz?

 Jnz permanently diverts the program flow, but jmp does not..confirm

169. What makes CMP different from SUB?

CMP is a non destructive subtraction that does not affect any flag. However SUB is a

destructive subtraction

170. The ordering of a program’s instructions is ensured by the _________ register.

 Program counter…confirm

171. When an element is pushed on the stack, Sp is decremented by _______.

 Two..confirm

172. Which of the following bus is used to inform the memory that whether processor

wants to read data or write data.

 Control bus..confirm

173. In ______ operation a zero is inserted from the left and every bit moves one position to

the right, the right most bit is allocated into the carry flag.

 Shift logical right….confirm

174. In iAPX88 ______ flag is specially related to the string instruction.

Direction…confirm

175. To convert the case of a character, we add or subtract _________ from the ASCII

code.

 0x20…confirm fron net

176. Which of the following flags sets when a larger number is subtracted from a smaller

number.

 CF…confirm

177. Which of the following is an illegal assembly instruction?

 Mov [num1],[num2]….confirm

178. mov ax,[num1] is an example of _bit move

 8.

179. Call instruction takes a __________ as an argument

 Label….confirm

180. Which of the following is the most illegal instruction?

 Mov ax, [num1]

181 When the control is transferred to a subroutine?

 After the arguments are pushed on the stack..confirm

182. CS and CP are both ________ bit register

 16…confirm

183. A decrementing stack moves from _____ to _______ addresses as elements are added

in it.

 Higher, lower…confirm

184. The most convenient place to store local variables is _____.

 Stack…confirm

185. ____can be used to check whether particular bits of a number are set or not.

 AND…confirm

 186. The segment offset pair is called a/an _________ address.

 Logical…confirm

7 – Blinking of foreground character

6 – Red component of background color

5 – Green component of background color

4 – Blue component of background color

3 – Intensity component of foreground color

2 – Red component of foreground color

1 – Green component of foreground color

0 – Blue component of foreground color

187. The ________ flag has a special role in debugging.

 Trap…confirm

188. The extra bit produced as a result of an arithmetic operation that does not fit in the

target register is stored in.

 Carry flag..confrim

189. Cell width refers to the total number of bits in a memory cell while the total number of

cells is called the _________.

 Cell width…confirm

190. Register are normally part of_________.

 CPU…confirm

191. When the relative address stored with the instruction is in 16 bits as in the last example the jump is called a _________ jump.

 Near..confrim

192. If the offset is stored in a single byte as in 75F2 with the opcode 75 and operand F2,the jump is called a ________jump.

Short…confirm

193. How jump is different from jnz?

 Jump is an unconditional jump, however jnz is a conditional jump…confirm

194. A 16-bit processor has an accumulator of _______.

 32 bits…confirm

195. REPE and REPNE prefixes are only meaningful with _______.

 CMPS or SCAS…both are confirm

196. Which of the following bit is dropped into the carry flag after the execution of ‘Shift

Logical Right’ operation

 Right most bit…confirm

197. In _______operation, the carry flag is inserted from the right causing every bit to

move one location to its left. The dropped bit from the left goes into the carry flag.

 Rotate through the Cary left…confirm

198. In _________ operation, the output is 1 only if both inputs are 1

 AND…confirm

199.In Shift Logical Left (SHL), the ________ bit is dropped into the carry flag.

 Most significant..confrim

200. In STOS, the implied source operand always resides in ________.

 AL,AX…..confrim

201. The maximum amount of memory accessible using 8085 processor is _____________-.

 64KB

202. sub sp,2. The above instruction is used to perform a _________ operation on stack.

 PUSH..confrim

203. In direct addressing the memory address given in the instruction is ______.

 Fixed….confrim

 204. Which of the following are the basic bitwise operations?

 AND, OR, XOR and NOT….confirm

205. Which of the following is also called intra-segment call?

 Far call….confrim

206. A/An ___ is an area of memory that holds all local variables and parameters.

 Stack…confirm

207. How many are the functions of a register?

 Four…confirm

208. The shift logical right operation inserts a zero from the left and moves every bit one

position to the right and copies the rightmost bit in the carry flag.

 True…confirm

209. The shift logical left zero bit is inserted from the right and every bit moves one

position to its left with the most significant bit dropping into the carry flag.

 Shift Logical Left (SHL) / Shift Arithmetic Left (SAL)

210. Shift arithmetic left is just another name for shift logical left.

 True

211. A signed number holds the sign in its most significant bit. If this bit was one a logical

right shifting will change the sign of this number because of insertion of a zero from the

left.

 Shift arithmetic Right(SAR)…confirm

212. The operation of shift arithmetic right is therefore to shift every bit one place to the

right with a copy of the most significant bit left at the most significant place. The bit

dropped from the right is caught in the carry basket.

 True..confirm

213. In the rotate right operation every bit moves one position to the right and the bit

dropped from the right is inserted at the left. This bit is also copied into the carry flag.

Rotate Right (ROR)…true confirm

214. In the operation of rotate left instruction, the most significant bit is copied to the carry

flag and is inserted from the right, causing every bit to move one position to the left

 Rotate Left(ROL)…confirm

215. In the rotate through carry right instruction, the carry flag is inserted from the left,

every bit moves one position to the right, and the right most bit is dropped in the carry flag.

 Rotate Through Carry Right(RCR)…confirm

216. The exact opposite of rotate through carry right instruction is the rotate through carry

left instruction. In its operation the carry flag is inserted from the right causing every bit to

move one location to its left and the most significant bit occupying the carry flag

 Rotate THorugh Carry Left…confirm

217. Register are storage cells ___________.

 Inside the processor…confirm

218. Which of the following is the meaning of partial pivoting while employing the row

transformations?

 Making the largest element as pivot…..confrim

219. In case of DIV BX instruction, the quotient is stored in _____ register

 AX…confirm

220. The base pointer accesses local variables using ______ offset

 Negative….confrim

221. The important thing to observe in the ASCII table is the contiguous arrangement of

the uppercase alphabets (41-5A), the lowercase alphabets (61-7A), and the numbers (30-

39).

 True

222. Which of the following registers hold the address of data in intel 8088?

 BX BP ST and ES…confirm fron net

223. Which of the following is the general form of addressing?

Base+index+offset…confirm

224. All mathematical and logical operations are performed on its.

 Arithemetic Logic Unit(ALU)….confrim fron net

225. Call instruction changes the values of ______ and ______ registers.

 IP,SP

226. Which of the following keywords is used to define two bytes in memory?

 DW….confrim

227. The stack pointer marks the _________ of stack.

 Top…confirm

228. The extra bit produced as a result of an arithmetic operation that does not fit in the

target register is stored in.

 Carry flag

229. Conditional jump can only be _______.

 Short…confirm from net

230. Which of the following is the correct syntax for ‘OR operation in assembly language?

 Or ax,bx and or bye[mem] 5…confirm

231. . Which of the following is the correct syntax for ‘AND operation in assembly

language?

 And ax, bx and ‘and byte [mem] ,5..confrim

232. . Which of the following is the correct syntax for ‘XOR operation in assembly

language?

 Xor ax,bx and xor byte [mem], 5…confirm

233. . Which of the following is the correct syntax for ‘NOT operation in assembly

language?

 Not ax, and not byte[mem]

 234. _______jump is absolute and not position relative.

 Far….confirm

235. Constant can never be used as _________.

 Destination…confirm

236. Call instruction takes _________argumetns

 1…confirm

237. Program consists of ____ logical parts

 Two….confrim

238. All the addressing mechanism in iApX88 return a number called the ______ address

 Effective….confirm

239. the physical memory address of 1234:5678 segment-offset pair is

 179B8

240. Which of the following gives the more logical view of the storage medium?

 DOS

241.If AX=00ff then which of the following instruction can be used to change the value of

AX to FF00.

 AND AX,FF00…confrim

 In programmable interrupt controller which of the following ports is referred as interruptmask register?

 21


 ___ is the highest priority interrupt in interrupt controller

  IRQ 0


 IRET returns on the basis of and

   CS, IP

 If is set, the after every instruction a type 1 interrupt will be automaticallygenerated.

 Trap flag

 

 The interrupt handler uses instruction to return back to the caller.

   IRET

   

Which of the following interrupt is used for Arithmetic overflow?

  INT 4

 During the execution of INT instruction, some contents are pushed on to the stack, the orderof pushing then is

  FLAGS register, CS and then IP


 Each of the bits at port _corresponding to one of the IRQ lines.

  21


 Which of the following pins of the parallel port connector are grounded?a. a) 10-18

 18-25


Which of the following interrupts plays the most significant part during step debugging of aprogram?

 INT 1

Which of the following IRQs is connected to serial port COM 2?

 IRQ 3

Which of the following IRQs is connected to serial port COM 1?

 IRQ 4


Which of the following IRQs is used by the parallel port?

 IRQ 7

In programmable interrupt controller which of the following ports is used to selectivelyenabling or disabling interrupts?

 21


The space where all the registers of task are stored is called

 Process control block

 

 Which of the following is the destination register in IN instruction?

 AL or AX

In multitasking environment, which of the following structure is used to maintain the ordering of active PCBs?

 Linked List


 In multitasking which of the following interrupts is used as scheduler during context switching?

 INT 8

 Which of the following are required for thread entry?

 CS and IP


The time interval between two timer tick is?

 55 ms

 Which of the following flag can be used for mathematical operations?

 Carry Flag


In multi-tasking, the process of saving and restoring to values of registers from a processcontrol block (PCB) is called

 Context switching


When two devices in a system want to use the same IRQ line, is referred as:

 IRQ Conflict


An End of Interrupt (EOI) signal is sent by

 Handler


Threads can have function calls, parameters and _ variables.

 Local


Which of the following arranges jobs in a sequence in order to be executed?

 Process control block

 

Which of the following flags cannot be cleared using an assembly instruction?

 Carry flag

 Which of the following is the highest priority interrupt?

 INT0

 At the end of servicing an interrupt, which of the following is used to inform tha PIC that it iscompleted?

 EOI


Which of the following interrupts is used for maintaining the system time?

 INT 8


Which of the following is used for exporting parallel port services?

 INT 17


In programmable interrupt controller which of the following ports is referred as a

controlport?

 20


_______is/are the port number(s) for parallel port.

 378

 

 The number of pins in a parallel port connector are?

 25

 

The offset address of an interrupt n will be at

 nx4

 

Programmable interrupt controller has two ports (20 and 21). Port 20 is the control port while port 21 is.

The interrupt mask register

Which of the following instruction selects memory address space?

 MOV


The thread registration code initializes the PCB and adds it to the linked list so that the will give it a turn.

 Scheduler


Which of the following instruction is used for disabling all the interrupts during a programexecution?

Cli


Programmable interrupt controller (PIC) has

 Eight input signals and one output signals


In 8088 processor, there can be totalpossible entries in an interrupt vector table.

 256


Each thread can have their own

 Stack


 The parallel port connector is called?

 DB-25

In 8088, the physical memory address for Interrupt Vector Table is fixed and the tableoccupies exactly of memory.

 1 KB


Which of the following interrupts is non maskable interrupt?

 INT 2


 Using OUT instruction on parallel data port results into a signal of for every 1 bit.

 5 V


PCB stands for?

Process Control Block


 Which of the following port number is used to send an end of interrupt (EOI) signal to thePIC after an interrupt is ended?

 0x20


 Which of the following instruction is used for reading a char from keyboard?

 in al, 0x60


 In PIC, which of the following port is used for selectively enabling or disabling interrupts?

 21


 DOS has single entry point to access all its services through interrupt

INT 21


Which of the following pins of parallel port are used to carry the data from processor to thedevice connected through parallel port?

 Pin 2 to pin 9


The input frequency of the programmable interval timer (PIT) is

 Fixed


 All registers of task are stored in space called

 Process control block

 

 Which of the following IRQ`s is derived by a key board

 IRQ 1


Changing and restoring the state of Control processing unit (CPU) is referred as

 Multitasking


 For the external hardware to generate an interrupt there are how many pins outside theprocessor?

 1

Which of the following instruction selects peripheral address space? 

IN

Which of the following is the most commonly used port with printer?

Parallel Port


allows us to execute one instruction at a time rather than the whole program at once

 INT 1


Which of the following is used for exporting keyboard services?

 INT 16


TSR stands for

 Terminate and Stay resident


Which of the following is the ACK pin in DB-25 Connector

10


Which of the following IRQs is a cascading interrupt?

IRQ 2


In interrupt masking, we use to get control from the program without letting the program know about it.

 IRQ 0


The output of programmable timer interval is connected to which line of the PIC?

 IRQ 0


 Which of the following IRQs is used for Floppy disk drive?

IRQ 6


74. In multitasking, each PCB requires bytes to store the values of registers.

28


 Which of the following IRQs is used for sound card or network card?

 IRQ 5


Programmable interrupt controller has ports.

 2

Which of the following bits of parallel control port enables the IRQ 7 triggering by the ACKpin?

 Bit 4

 

Which of the following IRQs is derived by a timer device?

IRQ 0


is a special type of interrupt that returns to the same instruction instead f the next instruction

Divide overflow


All the registers & stack are saved in

 Multitasking


 Which of the following is the source register in OUT instruction?

 AL or AX


Which of the following is the destination register in IN instruction?

AL or AX

The first instruction of COM file must be at offset:

0x0100 


The iAPX88 architecture consists of ___ registers.

14 


 When two 16-bit numbers are added the answer can be 17 bits long, this extra bit that won’t fit in the target register is placed in the where it can be used and tested.

Carry flag 


 Only instruction allow moving data from memory to memory

string 

 

Allow changing specific processor behaviors and are used to play with it.

Special instructions 

8088 is a 16-bit processor with its accumulator and all registers of ___.

16 bits 

In the instruction cmp ax,bx the contents of ___ are changed.

flag register 

All the addressing mechanisms in iAPX88 return a number called ___ address.

Effective 

Mov byte[num1],5 is ___ instruction.

Legal 

The memory address always moves from

processor to memory 

An offset alone is not complete without

segment 

Code segment is associated to ___ register by default.

IP 


The iAPX88 processor supports ___ modes of memory access.


A 32-bit processor has accumulator of ___

32 bits 


 After execution of JCXZ instruction CX will changed with flag affect.

None 

 Far jump is not position relative but is ___ memory

absolute 


If the address of memory location num1 is 0117 and its content is 0005 then after execution of the instruction mov bx, num1 bx will contain.

0005 

 Assembly the cx register is used normally as a ___ register.

counter 

Which is the unidirectional bus?

address bus 

 ___ register holds the address of next instruction is to be executed

program counter 

JC and JNC test the __

carry flag 

 Which bit sets the character ‘’blinking’’ on the screen?

 Mov ax, 5 has:

2 operands 


Index registers are used to store ___.

address 


The bits of the ___ work independently and individually.

flags register 


The operation of CMP is to:

subtract source from destination 

The registers IP, SP, BP, SI, DI and BX all can contain a ___ offset.

16 bits 

Regarding assembler, which statement is true:

assembler converts mnemonics to the corresponding OPCODE 

 

If BB is the OPCODE of the instruction which states to “move a constant value to ax register”, the hexadecimal representation (using little Endian notation) of the instruction mov ax, 336 (150 in hexadecimal number system) will be:

0XBB0150 

Assembly language is:

low level programming language 

There are ___ registers in iapx88 architecture that can hold address of data.

 Which part of this B80500 encoded instruction is an opcode?

opcode is B8 

 In ___ operation the carry flag is inserted from the right causing every bit to move one location to its left and the most significant bit occupying the carry flag.

Rotate through carry left(RCL) 

 In ___ operation, a carry flag is inserted from the left moving every bit one position to the right, with the right most bit is dropped in the carry flag.

RCR 

CS and IP are both ___ bit registers.

16 

 Motorola follows ___.

big endian


Intel follows ___.

Little endian 


The shift logical right operation inserts.

a zero from left 


Shifting the -15 two-bit SAR:

-7 

 In left shift operation the most left bit___

will go to CF 


To reserve 8-bits in memory ___ directive is used.

db 


In the mov ax, 5 5 is the ___ operand.

source 

Which flags are not used for mathematical operations?

direction, interrupt and trap flag 


The number of bits required to access 1MB of memory are

20 bits 

cx register is:


count register 


Which of the following is not true about registers?

intermediate results may also be stored in registers 


Types of jump are:

short, near, far 


8088 is a __ bit processor.

16 


 |0|->|1|1|0|1|0|0|0|->|C| is an example of:

SHR 


Memory is determined by ____ pair and not alone.

Segment-offset 


Question No: 1 ( Marks: 1 ) – Please choose one

The first instruction of “COM” file must be at offset: .

0x0010

0x0100 (Page 19) 

0x1000

0x0000

Ref:-
The first instruction of a COM file must be at
offset 0100 (decimal 255) as a requirement.

Question No: 2 ( Marks: 1 ) – Please choose one

The execution of the instruction “mov word [ES : 0], 0x0741” will print character “A” on screen , background color of the screen will be .

Black (Page 81) 

White

Red

Blue

Question No: 3 ( Marks: 1 ) – Please choose one

Advertisements

REPORT THIS AD

The iAPX888 architecture consists of _______ register.

12

14

16 (Page 15)

18

Question No: 4 ( Marks: 1 ) – Please choose one

The execution of the instruction “mov word [ES: 0], 0x0741” will print “A” on the screen, color of the character will be .

Black

White (Page 81)

Red

Blue

Question No: 5 ( Marks: 1 ) – Please choose one

One screen location corresponds to a .

Byte

Word (Page 80)

Double byte

Double word

QQuestion No: 6 ( Marks: 1 ) – Please choose one

When an item is pushed on the decrementing stack, the top of the stack is .

First decremented and then element copied on to the stack (Page 68) .

First incremented and then element copied on to the stack .

Decremented after the element copied on to the stack .

Incremented after the element copied on to the stack

Question No: 7 ( Marks: 1 ) – Please choose one

Each screen location corresponds to a word, the lower byte of this word contains ____ .

The character code (Page 81)

The attribute byte

The parameters

The dimensions

Question No: 8 ( Marks: 1 ) – Please choose one

if ax contains decimal -2 and BX contains decimal 2 then after the execution of instructions: CMP AX, BX ,JA label .

Jump will be taken .

Zero flag will set .

ZF will contain value -4 .

Jump will not be taken (rr)

Question No: 9 ( Marks: 1 ) – Please choose one

If D is “35” is shift to left 2 bits the new value .

35 .

70 .

140 .

17

Question No: 10 ( Marks: 1 ) – Please choose one

When two 16bit numbers are added the answer can be 17 bits long, this extra bit that won’t fit in the target register is placed in the where it can be used and tested .

carry flag (Page 16)

Parity Flag

Auxiliary Carry

Zero Flag

Question No:  11 ( Marks: 1 ) – Please choose one

Only instructions allow moving data from memory to memory.

string (Page 29) .

word .

indirect .

stack

Question No: 12 ( Marks: 1 ) – Please choose one

When a 16 bit number is divided by an 8 bit number, the quotient will be in .

AL (Page 85) .

AX .

AH .

DX

Question No: 13 ( Marks: 1 ) – Please choose one

Which bit of the attributes byte represents the red component of background color ?

. 3

. 4

. 5

. 6 (Page 81)

Question No: 14 ( Marks: 1 ) – Please choose one | 0 |–›| 1 | 1 | 0 | 1 | 0 | 0 | 0 | –›| C | is a example of ______ .

Shl

.sar

.Shr (Page 52)

.Sal

Question No: 15 ( Marks: 1 ) – Please choose one

allow changing specific processor behaviors and are used to play with it.

Special Instructions (Page 14) .

Data Movement Instructions .

Program Control Instructions .

Arithmetic and Logic Instructions

Question No: 16 ( Marks: 1 ) – Please choose one

8088 is a 16bit processor with its accumulator and all registers of __________.

.32 bits

.6 bits

.16 bits (Page 14)

.64 bits

Question No:  18. In instruction ADC the operands can be
o Two register only
o Two register and one memory location
o CF and two other operands (Page 57)
o ZF and two other operands

Question No:  19. After the execution of instruction “RET”
o SP is incremented by 2 (Page 66)
o SP is decremented by 2
o SP is incremented by 1
o SP is decremented by 1

Question No:  20. The extended ASCII has
o 64 characters
o 128 characters (Page 79)
o 256 characters
o 502 characters

Question No:  21. The second byte in the word designated for screen location holds
o The dimension of the screen
o Character position on the screen
o Character color on the screen (Page 81)
o ACSII code of the character

Question No:  22. REP will always
o Incremented CX by 1
o Incremented CX by 2
o Decremented CX by 1 (Page 92)
o Decremented CX by 2

Question No:  23. The routine that executes in response to an INT instruction is called
o ISR (Page 103)
o IRS
o ISP
o IRT

Question No:  25.The routine that executes in response to an INT instruction is called

o AX are changed
o BX are changed
o CX are changed
o Flag register are changed (Page 39)

Question No:  26. All the addressing mechanisms iniAPX88 return a number called ______ address.
o Effective (Page 33)
o faulty
o indirect
o direct

Question No:  27. The execution of the instruction “mov word [ES: DI], 0x0720”
o will clear next character on screen (Page 82)
o will print “20” at top left of the screen
o will print “20” at top right of the screen
o will move DI at location 0720 on the screen

Question No:  28. “mov byte [num1],5” is _______ instruction.
o legal
o illegal (Page 30)
o stack based
o memory indirect

Question No:  29. MOV instruction transfers a byte or word from which of the following source location.
o DS:DI
o ES:SI
o ES:DI (Page 92)
o DS:SI

 

Question No:  31. If AX contains FFFFh, then after execution of instruction “SAL ax, 3”, the result will be
o -3
o +3
o -8
o +8

Question No:  32. If the decimal number “35” is shifted by two bit to left, the new value will be
o 35
o 70
o 140
o 17

Question No:  33. While using STOBS, if DF=1 then
o The value of SI will be incremented by one
o The value of SI will be incremented by two
o The value of SI will be decremented by one
o The value of SI will be decremented by two

Question No:  34. After the execution of STOSW, the CX will be
o Decremented by 1
o Decremented by 2 (Page 92)
o Incremented by 1
o Incremented by 2

Question No:  35. The memory address always move from
o processor to memory
o memory to processor
o memory to peripheral
o peripheral to processor

Question No: 36. An offset alone is not complete without
o Segment (Page 34)
o code label
o index register
o data label

Question No:  37. Code Segment is associated to _______ register by default.
o IP (Page 34)
o SS
o BP
o CX

Question No: 38 ( Marks: 1 ) – Please choose one

After the execution of SAR instruction:

.MSB remain as it is

.MSB Will change

.MSB move to left (Page 52) .

No change will occur.

Question No: 39 ( Marks: 1 ) – Please choose one

ASCII stands for ____________. The screen is two dimensional space having:

.25 Rows and 25 Columns (Page 80)

.25 Rows and 80 Columns

.80 Rows and 80 Columns

.80 Rows and 25 Columns

Question No: 40 ( Marks: 1 ) – Please choose one

In the Rotate Right Operation every bit moves one position to right and the bit dropped from the right is inserted at the left and:

.Dropped in CF (Page 53)

.moves to AL

.Don’t go anywhere.

Question No: 41 ( Marks: 1 ) – Please choose one

____________ of the following flags will be affected by MOVSB?

.DF

.ZF

.PF

.No effect on flags.

Question No: 42 ( Marks: 1 ) – Please choose one

The iAPX88 processor supports ___________ modes of memory access.

.5

.6

.7 (Page 35)

Question No: 43 ( Marks: 1 ) – Please choose one

Stack is a ______ that behaves in a first in last out manner.

.Program

.data structure (Page 67)

.Heap

.None of the Given

Question No: 44 ( Marks: 1 ) – Please choose one

The physical address of the stack is obtained by

.SS:SI combination

.SS:SP combination (Page 68)

.ES:BP combination

.ES:SP combination

Question No: 45 ( Marks: 1 ) – Please choose one

Foreground and background parameter will be

.32bits

.16bits

.8bits

.4bits

Question No: 46 ( Marks: 1 ) – Please choose one

The clear screen operation initialize whole block of memory

.0741

.0417

.0714

.0174, 0720 (Page 91)

Question No: 47 ( Marks: 1 ) – Please choose one

In STOSB instruction, when DF is Set, SI is

.Incremented by 1

.Incremented by 2

.Decremented by 1 (Not confirmed)

.Decremented by 2

Question No: 48 ( Marks: 1 ) – Please choose one

Assembly language is:
.Low-level programming language Click here for detail .High-level programming language .Also known as machine language .Not considered closer to the computer

Question No: 49 ( Marks: 1 ) – Please choose one

A 32 Bit processor has accumulator of ———

.8 bit

.16 bit

.32 bit (Page 12)

.64 bit

Question No: 50 ( Marks: 1 ) – Please choose one

To transfer control back the RET instruction take

.1 argument

.1 argument

.3 arguments (Page 72)

.No arguments

Question No: 51 ( Marks: 1 ) – Please choose one

RET is executed, it recovers the values from

.Register

.Stack (Page 71)

.Data segment

.Code segment

Question No: 52 ( Marks: 1 ) – Please choose one

To convert any digit to its ASCII representation

.Add 0x30 in the digit (Page 80)

.Subtract 0x30 from the digit

.Add 0x61 in the digit

.Subtract 0x61 from the digit

Question No: 53( Marks: 1 ) – Please choose one

The prevalent convention in most high level languages is stack clearing by the

.Caller

.Callee (Page 74)

.RET

.Stack

Question No: 54 ( Marks: 1 ) – Please choose one

After execution of JCXZ instruction CX will changed with flag affect.

.CF

.OF

.DF

.None of Above (Page 43)

Question No: 55 ( Marks: 1 ) – Please choose one

Execution of the instruction “mov word [ES : 0], 0x0741” will print

. “A” appear on the top left of screen (Page 81)

. “A” appear on the top right of screen

. “A” appear on the center of screen

. “A” appear on the bottom left of screen

Question No: 56( Marks: 1 ) – Please choose one

if contains decimal -2 and BX contains decimal 2 then after the execution of instructions: CMP AX, BX JA label

.Jump will be taken

.Zero flag will set

.ZF will contain value -4

.Jump will not be taken

Question No: 57( Marks: 1 ) – Please choose one

Which of the following options contain the set of instructions to open a window to the video memory?

.mov AX, 0xb008 mov ES, AX

.mov AX, 0xb800 mov ES, AX (Page 81)

.mov AX, 0x8b00 mov ES, AX

.mov AX, 0x800b mov ES, AX

 No: 59( Marks: 1 ) – Please choose one

Execution of the instruction “mov word [ES : 0], 0x1230” will print the character color will

.Green

.White

.Red

.Black

Question No:  60( Marks: 1 ) – Please choose one

After the execution of SAR instruction

. The msb is replaced by a 0

. The msb is replaced by 1

. The msb retains its original value

. The msb is replaced by the value of CF

Question No:  61( Marks: 1 ) – Please choose one

RETF will pop the offset in the

. BP

. IP (Page 69)

. SP

. SI

Reference:
RETF will pop the offset in the instruction
Pointer followed by popping the segment in the code segment register.

Question No: 64 ( Marks: 1 ) – Please choose one

“Far” jump is not position relative but is _______________

. memory dependent

. Absolute (Page 46)
. Temporary

. indirect

Reference :-
Far jump is not position relative but is absolute.

Question No:  65 ( Marks: 1 ) – Please choose one

Only ___________ instructions allow moving data from memory to memory.

. string (Page 29) rep

. word

. indirect

. stack

Question No:  66 ( Marks: 1 ) – Please choose one

After the execution of instruction “RET 2”

. SP is incremented by 2
. SP is decremented by 2 (Page 66) rep

. SP is incremented by 4

. SP is decremented by 4

Question No:  67 ( Marks: 1 ) – Please choose one

DIV instruction has

. Two forms (Page 85)

. Three forms

. Four forms

. Five forms

Reference:
There are two forms of the
DIV instruction. The first form divides a 32bit number in DX:AX by its 16bit
operand and stores the 16bit quotient in AX and the 16bit remainder in DX.

Question No:  68 ( Marks: 1 ) – Please choose one

When the operand of DIV instruction is of 16 bits then implied dividend will be of

. 8 bits (Page 85)

. 16 bits

. 32 bits

. 64 bits

Question No:  69 ( Marks: 1 ) – Please choose one

After the execution of MOVS instruction which of the following registers are updated

. SI only

. DI only

. SI and DI only (Page 92)

. SI, DI and BP only

Question No:  70 ( Marks: 1 ) – Please choose one

In 8088 architecture, whenever an element is pushed on the stack

. SP is decremented by 1

. SP is decremented by 2 (Page 68)

. SP is decremented by 3

. SP is decremented by 4

Reference:
Whenever an element is pushed on the stack SP is decremented by two as
the 8088 stack works on word sized elements.

Question No:  71 ( Marks: 1 ) – Please choose one

When a very large number is divided by very small number so that the quotient is larger than the space provided, this is called

. Divide logical error

. Divide overflow error (Page 85)

. Divide syntax error

. An illegal instruction

Question No:  72 ( Marks: 1 ) – Please choose one

In the word designated for one screen location, the higher address contains

. The character code

. The attribute byte (Page 81)

. The parameters

. The dimensions

Reference:-
The second byte in the word designated for one screen location holds the
foreground and background colors for the character. This is called its video
attribute or attribute byte.

 

Question No: 74 ( Marks: 1 ) – Please choose one

In a video memory, each screen location corresponds to

. One byte

. Two bytes

. Four bytes

. Eight bytes

Question No:  77( Marks: 1 ) – Please choose one

After the execution of “PUSH AX” statement

.AX register will reside on the stack

.A copy of AX will go on the stack (Page 69)

.The value of AX disappear after moving on stack

.Stack will send an acceptance message

Question No: 78 ( Marks: 1 ) – Please choose one

physical address of the stack is obtained by

.SS:SP combination

.SS:SI combination

.SS:SP combination (Page 68) rep

.ES:BP combination

.ES:SP combination

Question No:  79 ( Marks: 1 ) – Please choose one

If the address of memory location Num1 is 0117 and its content is 0005 then after execution of the instruction “ mov bx, Num1” bx will contain

.0005

.0117 (Page 30)

.Num1

.1701

Question No:  80 ( Marks: 1 ) – Please choose one

In STOS instruction, the implied source will always be in

.AL or AX registers (Page 92)

.DL or DX registers

.BL or BX registers

.CL or CX registers

Question No:  81 ( Marks: 1 ) – Please choose one

The shift logical right operation inserts A zero at right A zero at left (Page 52) A one at right A one at right

 

Question No: 84 ( Marks: 1 ) – Please choose one

assembly the CX register is used normally as a ______________register. .source .counter (Page 32) .index .pointer Which is the unidirectional bus ? (I) Control Bus (II) Data Bus (III) Address Bus

.I only

.II only

.III only (Page 9)

.I and II only

Question No: 85 ( Marks: 1 ) – Please choose one

The basic function of SCAS instruction is to

.Compare (Page 92)

.Scan

.Sort

.Move data

Question No: 86 ( Marks: 1 ) – Please choose one

_______ register holds the address of next instruction is to be executed

.Base pointer

.Code segment

.Source index

.Program counter (Page 13)

Question No: 87 ( Marks: 1 ) – Please choose one

JC and JNC test the ____________ flag. .carry (Page 41) .parity .zero .sign

Question No: 88 ( Marks: 1 ) – Please choose one

After the execution of REP instruction CX will be decremented then which of the following flags will be affected?

.CF

.OF

.DF

.No flags will be affected (Page 93)

Question No: 89 ( Marks: 1 ) – Please choose one

In string manipulation whenever an instruction needs a memory source, which of the following will hold the pointer to it?

.ES: DI

.ES: BP

.DS:BP

.DS:SI (Page 91)

Question No: 90 ( Marks: 1 ) – Please choose one

which bit sets the character “blinking” on the screen?

.5

.6

.7 (Page 7)

.8

Question No: 91 ( Marks: 1 ) – Please choose one

If we want to divide a signed number by 2, this operation can better be accomplished by

.SHR

.SAR (Page 52)

.SHL

.SAL

Question No: 92 ( Marks: 1 ) – Please choose one

After the execution of STOSB,the CX wil be……..

.Incremented by 1

.Incremented by 2

.Decremented by 1

.Decremented by 2

 

Question No: 94 ( Marks: 1 ) – Please choose one

In a video memory, each screen location corresponds to

.One byte

.Two bytes (Page 86)

.Four bytes

.Eight bytes cs401 paper 02 dec,2010

Question No: 95 ( Marks: 1 ) – Please choose one

Execution of the instruction “mov word [ES : 0], 0x0741” will print

. “A” appear on the top left of screen (Page 81) rep

. “A” appear on the top right of screen

. “A” appear on the center of screen

. “A” appear on the bottom left of screen

Question No: 96 ( Marks: 1 ) – Please choose one

After the execution of “PUSH AX” statement

.AX register will reside on the stack (Page 69) rep .

A copy of AX will go on the stack

.The value of AX disappear after moving on stack

.Stack will send an acceptance message

 

Question No: 99 ( Marks: 1 ) – Please choose one

After the execution of REP instruction CX will be decremented then which of the following flags will be affected?

.CF

.OF

.DF

.No flags will be affected (Page 93) rep

Question No: 101 ( Marks: 1 ) – Please choose one In a video memory, each screen location corresponds to

.One byte

.Two bytes (Page 66) .

Four bytes

.Eight bytes

Question No: 102 ( Marks: 1 ) – Please choose one

shifting the -15 two bit sAR

.-7

.-8

.7

.8

Question No: 103 ( Marks: 1 ) – Please choose one mov ax,5 has

.1 operand

.2 opeand (Page 25) .

3 operand

.4 opeand

Question No:  104 ( Marks: 1 ) – Please choose one

The physical address of the stack is obtained by

. SS:SP combination

. SS:SI combination

. SS:SP combination (Page 68) rep

.ES:BP combination

. ES:SP combination

Question No:  105 ( Marks: 1 ) – Please choose one

After the execution of instruction “RET ” . SP is incremented by 2

. SP is incremented by 2 (Page 66) rep .

SP is decremented by 2

. SP is incremented by 1

. SP is decremented by 1

Question No: 106 ( Marks: 1 ) – Please choose one T

he second byte in the word designated for one screen location holds . Character color on the screen

. The dimensions of the screen

. Character position on the screen

. Character color on the screen (Page 81) rep .

ASCII code of the character

 

Question No: 108 ( Marks: 1 ) – Please choose one

The basic function of SCAS instruction is to

. Compare (Page 92) rep

. Scan

. Sort

. Move data

Question No:  109 ( Marks: 1 ) – Please choose one Index registers are used to store __________

..Data

…Intermediate result

…Address (Page 16)

…Both data and addresses

Question No:  110 ( Marks: 1 ) – Please choose one

The bits of the _____________ work independently and individually

..index register

…base register

…flags register (Page 12)

…accumulator

Question No:  111 ( Marks: 1 ) – Please choose one

To convert any digit to its ASCII representation

. Add 0x30 in the digit (Page 80) rep

. Subtract 0x30 from the digit

. Add 0x61 in the digit

. Subtract 0x61 from the digit

Question No:  112 ( Marks: 1 ) – Please choose one

When a 32 bit number is divided by a 16 bit number, the quotient is of

. 32 bits

. 16 bits (Page 85)

. 8 bits

. 4 bits

 

Question No:  114 ( Marks: 1 ) – Please choose one

Which mathematical operation is dominant during the execution of SCAS instruction

. Division

. Multiplication

. Addition

. Subtraction (Page 92)

Question No:  115 ( Marks: 1 ) – Please choose one

If AX contains decimal -2 and BX contains decimal 2 then after the execution of instructions: CMP AX, BX JA label

. Jump will be taken

. Zero flag will set

. ZF will contain value -4

. Jump will not be taken

Question No:  116 ( Marks: 1 ) – Please choose one

The execution of the instruction “mov word [ES : 160], 0x1230” will print a character “0” on the screen at

. Second column of first row

. First column of second row (Page 81) .

Second column of second row

. First column of third row

Question No:  117 ( Marks: 1 ) – Please choose one

If the direction of the processing of a string is from higher addresses towards lower addresses then

. ZF is cleared

. DF is cleared (Page 91)

.ZF is set

. DF is set

Question No:  118 ( Marks: 1 ) – Please choose one

The instruction ADC has________ Operand(s) . 0 . 1 . 2 (Page 56) . 3

Question No: 120 ( Marks: 1 ) – Please choose one Suppose AL contains 5 decimal then after two left shifts produces the value as

. 5

. 10

. 15

. 20

Question No:  121 ( Marks: 1 ) – Please choose one

In STOS instruction, the implied source will always be in

. AL or AX registers (Page 92) rep

.DL or DX registers

. BL or BX registers

. CL or CX registers

Question No:  122 ( Marks: 1 ) – Please choose one

After the execution of STOSW the CX will be

. Decremented by 1

. Decremented by 2 (Page 92) rep

.Incremented by 1

. Incremented by 2

Question No:  123 ( Marks: 1 ) – Please choose one

The basic function of SCAS instruction is to

. Compare (Page 92) rep

.Scan

. Sort

. Move data

Question No:  124 ( Marks: 1 ) – Please choose one

Which is the unidirectional bus ? (I) Control Bus (II) Data Bus (III) Address Bus

…I only

…II only

…III only (Page 9) rep

…I and II only

Question No: 125 ( Marks: 1 ) – Please choose one

The operation of CMP is to

…Subtract Source from Destination (Page 39)

…Subtract Destination to from Source

…Add 1 to the Destination

…Add Source and Destination

Question No:  126 ( Marks: 1 ) – Please choose one

The registers IP, SP, BP, SI, DI, and BX all can contain a ________offset.

…8-bit

…16-bit (Page 21)

…32-bit

…64-bit

Question No: 127 ( Marks: 1 ) – Please choose one

In assembly the CX register is used normally as a ______________register.

. source

. counter (Page 92)

.index

. pointer

Question No:  128 ( Marks: 1 ) – Please choose one

All the addressing mechanisms in iAPX88 return a number called _____________ address.

. effective (Page 33)

.faulty

. indirect

. direct

Question No: 129 ( Marks: 1 ) – Please choose one

Which bit of the attributes byte represents the blue component of foreground color

. 3

. 2

. 1

. 0 (Page 81)

Question No: 130 ( Marks: 1 ) – Please choose one

When a 32 bit number is divided by a 16 bit number, the quotient will be stored in

. AX (Page 85)

. BX

. CX

. DX

Question No:  131 ( Marks: 1 ) – Please choose one

“mov byte [num1], 5” is _________ instruction.

. legal (Page 30) rep

. illegal

. stack based

. memory indirect

 

Question No: 133 ( Marks: 1 ) – Please choose one

The execution of the instruction “mov word [ES : 0], 0x0741” will print character “A” on screen, color of the character will be .

Black .

White (Page 81) rep

Red .

Blue

Question No: 134 ( Marks: 1 ) – Please choose one

Which of the following flags will be affected by MOVSW?

. DF

. PF

. ZF

. No effect on flags

Question No: 135 ( Marks: 1 ) – Please choose one

Which bit of the attributes byte represents the blue component of background color ?

. 3

. 4 (Page 81)

. 5

. 6

Question No: 136 ( Marks: 1 ) – Please choose one

To transfer control back the RET instruction take

.1 argument

.1 argument

.3 arguments (Page 72) rep .

No arguments

Question No: 137 ( Marks: 1 ) – Please choose one

In STOSB instruction SI is decremented or incremented by

.4

.1

.2

.3

Question No: 138 ( Marks: 1 ) – Please choose one

CMPS instruction subtracts the source location to the destination location. Destination location always lies in

.DS:SI (Page 93)

.DS:DI

.ES:SI

.ES:DI

Question No: 139 ( Marks: 1 ) – Please choose one

Regarding assembler, which statement is true: .

Assembler converts mnemonics to the corresponding OPCODE (Page 13) .

Assembler converts OPCODE to the corresponding mnemonics .

Assembler executes the assembly code all at once .

Assembler executes the assembly code step by step

Question No: 140 ( Marks: 1 ) – Please choose one

If “BB” is the OPCODE of the instruction which states to “move a constant value to AX register”, the hexadecimal representation (Using little Endian notation) of the instruction “Mov AX,336” (“150” in hexadecimal number system) will be:

.0xBB0150

.0x5001BB

.0x01BB50

.0xBB5001

Question No: 141 ( Marks: 1 ) – Please choose one

In the instruction MOV AX, 5 the number of operands are

.1

.2 (Page 25) rep

.3

.4

Question No:  142 ( Marks: 1 ) – Please choose one

The maximum parameters a subroutine can receive (with the help of registers) are

.6

.7 (Page 72)

.8

.9

Question No: 143 ( Marks: 1 ) – Please choose one

In assembly the CX register is used normally as a ______________

register.

.source .

counter (Page 92) rep .

index .pointer

Question No: 144 ( Marks: 1 ) – Please choose one

All the addressing mechanisms in iAPX88 return a number called _____________ address. .

effective (Page 33) rep .

faulty

.indirect

.direct

Question No:  145 ( Marks: 1 ) – Please choose one

When a 16 bit number is divided by an 8 bit number, the dividend will be in

.AX (Page 85)

.BX

.CX

.DX

Question No:  146 ( Marks: 1 ) – Please choose one

in Left-Shift-Operation the left most bit _______

.will drop

.will go into CF (Page 52) .

Will come to the right most

.will be always 1

Question No:  147 ( Marks: 1 ) – Please choose one

Suppose the decimal number “35” after shifting its binary two bits to left, the new value becomes _________

.35

.70

.140

.17

Question No: 148 ( Marks: 1 ) – Please choose one

When divide overflow occurs processor will be interrupted this type of interrupt is called

.Hardware interrupt

.Software interrupt

.Processor exception

.Logical interrupts

Question No:  149 ( Marks: 1 ) – Please choose one

Which mathematical operation is dominant during the execution of SCAS instruction

.Division

.Multiplication

.Addition

.Subtraction (Page 92) rep

Question No: 150 ( Marks: 1 ) – Please choose one

After the execution of REP instruction CX will be decremented then which of the following flags will be affected?

.CF

.OF

.DF

.No flags will be affected (Page 93) rep

Question No: 151 ( Marks: 1 ) – Please choose one

_________ is one of the reasons due to which string instructions are used in 8088

.Efficiency and accuracy

.Reduction in code size and accuracy

.Reduction in code size and speed (Page 91) .

Reduction in code size and efficiency.

 

MIDTERM FALL 2011

CS401 Assembly Language

01 Dec 2011 Session 2

 

Question No: ( Marks: 1 ) – Please choose one
The execution of the instruction “mov word [ES : 0], 0x0741” will print character “A” on screen , background color of the screen will be
► Black
 White
 Red
 Blue

 

Question No: ( M a r k s: 1 )

The iAPX888 architecture consists of _______ register.

o   12

o   14

o   16

o   18

 

 Question No:

if contains decimal -2 and BX contains decimal 2 then after the execution of

instructions:  CMP  AX, BX ,JA label

 

Jump will be taken

Zero flag will set

ZF will contain value -4

Jump will not be taken

 

in direct addressing the memory address given in the instruction is

Fixed
Variable
Register
Empty

 

Execute in every condition whether true or false 
If the condition is true 
If the condition is false 
None of the given

 

 

This jump is taken if the last arithmetic operation produced a number in its destination that has even parity , Which jump is taken 
Select correct option: 

JP 
JPE 
JNP 
both JP and JPE

 

This jump is taken if the last arithmetic operation produced a number in its destination that has even parity , Which jump is taken 
Select correct option: 

JP 
JPE 
JNP 
both JP and JPE

 

The process through which the segment register can be explicitly specified is known as 
Select correct option: 
Segment Addressing 
Segment Override Prefix 
Segment Indexing 
None of the above

 

 The other directive is “define word” or “dw” with the same syntax as “db” but reserving a whole word of __ bits instead of a byte. 
Select correct option: 

32 

16 
64

 

Which of the following is not a valid instruction in assembly language? 
Select correct option: 

MOV AX, 55 
MOV AX, BX 
MOV CS, 0xb800 
MOV BX, AX

 

Constant is never use as a 
Select correct option: 

Source 
Destination 
Both as source and destination 
None of the given

 

we can not add two base register i.e. (bx+bp) or cant use in an instruction 
Select correct option: 

True 
False

 

which type of rotation it is "The carry flag is inserted from the left, every bit moves one position to the right, and the right most bit is dropped in the carry flag. " 
Select correct option: 

RCR 
ROL 
RCL 
ROR

 

The simplest form of addressing, in which the operand value is present in instruction is 
Select correct option: 
Direct Addressing 
Indirect Addressing 
Immediate Addressing 
None of them

 

mov [bx+si], ax is an example of Indexed Register Indirect. 
Select correct option: 

True 
False

 

mov [1234],ax is an example of 
Select correct option: 
Direct addressing 
Base register indirect 
Base+index 
None of the given

 

This JCXZ jump is taken whenever counter resets. 
Select correct option: 

Yes 
No

 

 __ jump is not position relative but is absolute 
Select correct option: 

Near 
Short 
Far 
None of the above

 

Size Mismatch Error is a syntax error 
Select correct option: 
False 
True

 

The effective address will be either a main memory address or a register. 
Select correct option: 
True 
False

 

we can not Subrtace index register from the base register( bx-si )in assemlby language 
Select correct option: 

True 
False

ANY ONE ELSE /

 

All the addressing mechanisms in iAPX88 return a number called ___________ address.
Select correct option:

EFFICTIVE address

physical address

direct

 

Which one of the following is a illegal instruction
Select correct option:

MOV AX,BX

MOV AX,65

MOV ax,[bx+bp]

none

 

we can not Subrtace index register from the base register( bx-si )in assemlby language

true

false

The effective address will be either a main memory address or a register.

true

false

CX register mostly use a

flag register

destination register

baase register

COUNTER

 

The FLAG register in Intel x86 microprocessors that contains the current state of the processor
Select correct option:

True

false

 

The Jump command that doesn’t depends on FLAG register is
Select correct option:

 JCXZ

  JO

  JINE

  JP

 when a 32 bit number is divided by a 16 bit number, the remainder is of

4bit

8bit

32bit

SHL and SAL are same

true

false

 

The simplest form of addressing, in which the operand value is present in instruction is
Select correct option:

direct addressing

indirect addressing

 

The simplest form of addressing, in which the operand value is present in instruction is 
Select correct option: 
Direct Addressing 
Indirect Addressing 
Immediate Addressing 
None of them

 

Register to Register Operation is not allowed 
Select correct option: 

True 
False

 

we can not add two base register i.e. (bx+bp) or cant use in an instruction 
Select correct option: 

True 
False

 

The jump is taken if the last arithmetic operation changed the sign unexpectedly. 
Select correct option: 

JO 
JNO 
JNZ 
JZ

 

unconditional jump can be 
Select correct option: 
near 
short 
far 
all of the given

 

 

SI or DI is used we name the method. 
Select correct option: 

Based Addressing 
Indexed Addressing 
Stack Addressing 
None of the above

 

Which of the following is not a valid instruction in assembly language?  
Select correct option: 

MOV AX, 55 
MOV AX, BX 
MOV CS, 0xb800 
MOV BX, AX

 

This jump is taken if the last arithmetic operation produced a number in its destination that has even parity , Which jump is taken 
Select correct option: 

JP 
JPE 
JNP 
both JP and JPE

 

BP by default associated with
Select correct option:
CS
IP
SS
SP

 

Question # 1 of 10 ( Start time: 04:12:37 PM ) Total Marks: 1
BP by default associated with
Select correct option:
CS
IP
SS
SP

 

 

 

 

 

 In a virtual memory system, the effective address is a main memory address.
Select correct option:
True
False

 

Which type of Rotation it is "Every bit moves one position to the right and the bit dropped from the right is inserted at the eft. This bit is also copied into the carry flag."
Select correct option:
ROL
RCR
RCL
None of the given

 

The most basic difference between Conditional and Unconditional jumping is
Select correct option:
arithmetic operations
consideration of flags
address
none of the above

 

In direct addressing the memory address given in the instruction is
Select correct option:
Fixed
Variable
Register
Empty

 

__ jump is not position relative but is absolute
Select correct option:
Near
Short
Far
None of the above

 

The simplest form of addressing, in which the operand value is present in instruction is
Select correct option:
Direct Addressing
Indirect Addressing
Immediate Addressing
None of them

 

 

 

By default CS is associated with
Select correct option:
SS
BP
CX
IP

 

The stack pointer contains the address of the word that is currently on__:
Select correct option:
Top of the stack
Down of the stack
Top and Down both
None of the above



The stack pointer contains the address of the word that is currently on__:
Select correct option:
Top of the stack
Down of the stack
Top and Down both
None of the above

 Quiz: NEXT

 

Constant is never use as a
Select correct option:
Source
Destination
Both as source and destination
None of the given

 

Register to memory operation is not allowed
Select correct option:
True
False


Register to memory operation is not allowed
Select correct option:
True
False

 

 

 

 

The Jump command that doesnot depends on FLAG register is
Select correct option:
JCXZ
JO
JNE
JP

 

__ jump is not position relative but is absolute
Select correct option:
Near
Short
Far
None of the above

  far

 

Memory to Memory operation is allowed
Select correct option:
True
False

 

Which register holds the item that is to be written into the stack or read out of the stack:
Select correct option:
SP
IP
BX
DX

  SP

  ?

 

The process through which the segment register can be explicitly specified is known as
Select correct option:
Segment Addressing
Segment Override Prefix
Segment Indexing
None of the above

 

In JZ jump is not taken if the last arithmetic operation produced a zero in its destination.
Select correct option:
True
False



 

we can not add two base register i.e. (bx+bp) or cant use in an instruction
Select correct option:
True
False

 

Physical address calculation depends on
Select correct option:
Base address
Effective address
Offset Address
None of the above

 

The other directive is “define word” or “dw” with the same syntax as “db” but reserving a whole word of __ bits instead of a byte.


Select correct option:
32
8
16
64

SI or DI is used we name the method. 
Select correct option: 
Based Addressing 
Indexed Addressing 
Stack Addressing

None of the above

FLAG register in Intel x86 microprocessors that contains the current state of the processor 
Select correct option: 

True 
False

 

The addressing method that can be used to access a two dimensional array is. 
Select correct option: 

Base + Index + Offset addressing 
Base + Index addressing

we can not add two base register i.e. (bx+bp) or cant use in an instruction 
Select correct option: 

True 
False

 

 

Which type of Rotation it is "Every bit moves one position to the right and the bit dropped from the right is inserted at the eft. This bit is also copied into the carry flag." 
Select correct option: 

ROL 
RCR 
RCL 
None of the given

 

Constant is never use as a 
Select correct option: 

Source 
Destination 
Both as source and destination 
None of the given

 

Bydefault CS is associated with 
Select correct option: 

SS 
BP 
CX 
IP

 

BX is a register in which intermediate arithmetic and logic results are stored. 
Select correct option: 

True 
False

 

The process through which the segment register can be explicitly specified is known as 
Select correct option: 

Segment Addressing 
Segment Override Prefix 
Segment Indexing 
None of the above

 

SHL and SAL are same 
Select correct option: 

True 
False

  which type of rotation it is "The carry flag is inserted from the left, every bit moves one position to the right, and the right most bit is dropped in the carry flag. "

RCR
RQL

RDL

RLL

 

MOV AL,BX is a type of ___ error.

syntax

size mismatch error

size mismatch

 

All the addressing mechanisms in iAPX88 return a number called ___________ address

Effective address

Physical address

 

we can not add two base register i.e. (bx+bp) or cant use in an instruction

True

False

 

BX is a register in which intermediate arithmetic and logic results are stored.

True

False

 

 

mov [1234],ax is an example of

Direct addressing
Base register indirect

Base+index

direct addressing

In JA jump is not taken after a CMP if the unsigned destination is larger than the unsigned source.

True

False

 

This jump is taken if the last arithmetic operation produced a number in its destination that has even parity , Which jump is taken

  JP
JPE
JNP

None

 

 

 

 

Mechanism used to drop carry for making the calculated address valid is known as: 
Select correct option: 

Carry Overload 
Overflow 
Address Wraparound 
None of the above 

we can not Subtracted index register from the base register( bx-si )in assembly language 
Select correct option: 

True 
False 

Physical address calculation depends on 
Select correct option: 

Base address 
Effective address 
Offset Address 
None of the above 

Simple CMP instruction uses _____ operation 
Select correct option: 

Addition 
Division 
Subtraction 
Multiplicaion 

SS is bydefult associated with 
Select correct option: 

BP 
IP 
SP 
BP 

When a 32 bit number is divided by a 16 bit number, the remainder is of 
Select correct option: 

4 bits 
8 bits 
16 bits 
32 bits 

Memory to Memory operation is allowed 
Select correct option: 
True 
False 


SS is bydefult associated with
BP
IP
SP
BP

Register to constant data movement is allowed?
No
Yes

The first 16-bit processor produced by “Intel” was 8085

True

False

 

 

The first 16-bit processor produced by “Intel” was 8085

True

False

 

Instruction Pointer holds the address of the

Previous instruction to be executed

Current instruction

Next instruction to be executed

None of the given

 

 

Group of bits processor uses to inform memory which element to read/write is
collectively known as
Select correct option:
Control bus
Data bus
Address bus
RAM

 

Register are storage cell
Select correct option:
Outside the processor
Both inside and outside the processor
Inside the processor
None of the given

 

The basic function of register is to
Select correct option:
Hold the operand
Hold the operator
Hold both the operator and operand
None of the given

 

Assembly languague is not a low level language.
Select correct option:
True
False

 

 

90 is the op-code of

Do nothing

Add

Subtract

Multiplication

 

he space where all the registers of a task are stored is called the
control block
process control block 
stack
memory 


The number of pins in a parallel port connector are?
20
25
15
10

 

 

 

In a free market economy, resources are allocated on the basis of:

 

vote taken by consumer

a central planning authority

consumers preferences

the level of profit of firm

 

Accounts office of Z&X corporations has paid Rs.250000 on account of profit in the month of August 2011. Which of the following the accounts office has paid for?

Labour

capital

land

entrepreneur

 

If the quantity demanded of mangoes exceeds the quantity supplied of mangoes:  

there is a surplus of mangoes

market force will cause the price to fall

market force will cause the price to rise 

the market is in equilibrium

 

4The process by which we limit the supply or amount of some economic factor which is scarcely available is called:

Rationing 

Budling

price floor

price ceiling

 

That resources are fully employed in producing particulars goods and services

the level of production that will cause both unemployment and inflation

Which of the following factors would cause leftward shift in supply curve for bicycles?

Decrease in wages

increase in price of input 

Decrease in price of input

use the latest technology in production of bicycle

 

Measurement of elasticites is made in percentage terms because:

it is easy to calculate

the resulting measurement is unit free

it give a more accurate answer

the answer is always negative way

 

 

 

8 Suppose quantity demanded of chicken increases by 5 percent in response to 2 percent increase in price of beef. The cross-price elasticity of demand for chicken with respect to price of beef is:

+2.5 

-2.5

+.25

-.25

 

Normally the shape of production possibility frontier is:

positive

convex

lenear

concave

 

If desk lamps and bulbs are complementary goods, a fall in price of desk lamps will shift the demand curve for:

bulbs to the right

bulbs to the right

Desk lamps to the right

desk lamps to the left

 

mov [si+300], ax is an example of Indexed Register Indirect + Offset

Select correct option:

True

False

 

 

The iAPX88 processor supports _____________modes of memory access.

Select correct option:

 6

 7

 8

 9

Post a Comment

0Comments

Thanks everone

Post a Comment (0)