CS401 Midterm Online Quiz

0%

CS401-Midterm

1 / 50

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

2 / 50

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

3 / 50

Left-Shift-Operation the left most bit _______

4 / 50

After the execution of SAR instruction:

5 / 50

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

6 / 50

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

7 / 50

To transfer control back the RET instruction take

8 / 50

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

9 / 50

REP will always

10 / 50

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

11 / 50

physical address of the stack is obtained by

12 / 50

The instruction ADC has________ Operand(s)

13 / 50

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

14 / 50

one DIV instruction has

15 / 50

one RET is executed, it recovers the values from

16 / 50

The physical address of the stack is obtained by

17 / 50

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

18 / 50

In a video memory, each screen location corresponds to

19 / 50

one Only ___________ instructions allow moving data from memory to memory.

20 / 50

To convert any digit to its ASCII representation

21 / 50

After the execution of instruction “RET ”

22 / 50

The iAPX888 architecture consists of _______ register.

23 / 50

The basic function of SCAS instruction is to

24 / 50

The iAPX88 processor supports ___________ modes of memory access.

25 / 50

In STOSB instruction, when DF is Set, SI is

26 / 50

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

27 / 50

After the execution of STOSW the CX will be

28 / 50

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

29 / 50

After the execution of “PUSH AX” statement

30 / 50

The basic function of SCAS instruction is to

31 / 50

The iAPX888 architecture consists of _______ register.

32 / 50

Regarding assembler, which statement is true:

33 / 50

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

34 / 50

The second byte in the word designated for screen location holds

35 / 50

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

36 / 50

A 32 Bit processor has accumulator of ---------

37 / 50

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

38 / 50

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

39 / 50

After the execution of “PUSH AX” statement

40 / 50

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

41 / 50

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

42 / 50

which bit sets the character "blinking" on the screen?

43 / 50

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

44 / 50

RETF will pop the offset in the

45 / 50

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

46 / 50

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

47 / 50

| 0 |--›| 1 | 1 | 0 | 1 | 0 | 0 | 0 | --›| C | is a example of ______

48 / 50

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

49 / 50

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

50 / 50

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

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