CS401 Midterm Online Quiz

0%

CS401-Midterm

1 / 50

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

2 / 50

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

3 / 50

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

4 / 50

To transfer control back the RET instruction take

5 / 50

While using STOBS, if DF=1 then

6 / 50

The iAPX888 architecture consists of _______ register.

7 / 50

Which is the unidirectional bus ?

Control Bus

(II) Data Bus

(III) Address Bus

8 / 50

assembly the CX register is used normally as a ______________register.

9 / 50

The physical address of the stack is obtained by

10 / 50

The basic function of SCAS instruction is to

11 / 50

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

12 / 50

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

13 / 50

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

14 / 50

Which mathematical operation is dominant during the execution of SCAS instruction

15 / 50

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

16 / 50

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

17 / 50

One screen location corresponds to a

18 / 50

In STOSB instruction, when DF is Set, SI is

19 / 50

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

20 / 50

In STOS instruction, the implied source will always be in

21 / 50

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

22 / 50

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

23 / 50

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

24 / 50

physical address of the stack is obtained by

25 / 50

Assembly language is:

26 / 50

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

27 / 50

RETF will pop the offset in the

28 / 50

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

29 / 50

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

30 / 50

Only instructions allow moving data from memory to memory.

31 / 50

one RET is executed, it recovers the values from

32 / 50

After the execution of SAR instruction:

33 / 50

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

34 / 50

Regarding assembler, which statement is true:

35 / 50

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

36 / 50

After the execution of instruction “RET”

37 / 50

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

38 / 50

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

39 / 50

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

40 / 50

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

41 / 50

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

42 / 50

After the execution of instruction “RET ”

43 / 50

After the execution of “PUSH AX” statement

44 / 50

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

45 / 50

After the execution of STOSW the CX will be

46 / 50

JC and JNC test the ____________ flag.

47 / 50

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

48 / 50

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

49 / 50

An offset alone is not complete without

50 / 50

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

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