CS401 Midterm Online Quiz

0%

CS401-Midterm

1 / 50

In STOS instruction, the implied source will always be in

2 / 50

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

3 / 50

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

4 / 50

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

5 / 50

The iAPX888 architecture consists of _______ register.

6 / 50

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

7 / 50

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

8 / 50

In STOSB instruction, when DF is Set, SI is

9 / 50

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

10 / 50

physical address of the stack is obtained by

11 / 50

The iAPX88 processor supports ___________ modes of memory access.

12 / 50

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

13 / 50

The routine that executes in response to an INT instruction is called

14 / 50

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

15 / 50

All the addressing mechanisms iniAPX88 return a number called ______ address.

16 / 50

Assembly language is:

17 / 50

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

18 / 50

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

19 / 50

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

20 / 50

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

21 / 50

After the execution of “PUSH AX” statement

22 / 50

Which is the unidirectional bus ?

Control Bus

(II) Data Bus

(III) Address Bus

23 / 50

MOV instruction transfers a byte or word from which of the following source location.

24 / 50

In the instruction “CMP AX,BX” the contents of

25 / 50

While using STOBS, if DF=1 then

26 / 50

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

27 / 50

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

28 / 50

The iAPX888 architecture consists of _______ register.

29 / 50

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

30 / 50

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

31 / 50

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

32 / 50

The instruction ADC has________ Operand(s)

33 / 50

Which mathematical operation is dominant during the execution of SCAS instruction

34 / 50

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

35 / 50

REP will always

36 / 50

Code Segment is associated to _______ register by default.

37 / 50

The basic function of SCAS instruction is to

38 / 50

Left-Shift-Operation the left most bit _______

39 / 50

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

40 / 50

In a video memory, each screen location corresponds to

41 / 50

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

42 / 50

The basic function of SCAS instruction is to

43 / 50

After the execution of instruction “RET ”

44 / 50

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

45 / 50

To transfer control back the RET instruction take

46 / 50

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

47 / 50

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

48 / 50

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

49 / 50

After the execution of STOSW the CX will be

50 / 50

The extended ASCII has

Your score is

The average score is 64%

0%

Qunoot e Nazilah
Dua e Hajat
4 Qul
6 Kalma
Dua-e-Akasha
Darood Akbar
Surah Fatiha
Dua-e-Ganj Ul Arsh
Dua-e-Jamilah
Ayat-ul-Kursi