CS401 Midterm Online Quiz

0%

CS401-Midterm

1 / 50

After the execution of STOSW, the CX will be

2 / 50

Regarding assembler, which statement is true:

3 / 50

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

4 / 50

“Far” jump is not position relative but is _______________

5 / 50

To transfer control back the RET instruction take

6 / 50

The iAPX888 architecture consists of _______ register.

7 / 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

8 / 50

An offset alone is not complete without

9 / 50

While using STOBS, if DF=1 then

10 / 50

REP will always

11 / 50

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

12 / 50

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

13 / 50

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

14 / 50

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

15 / 50

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:

16 / 50

Left-Shift-Operation the left most bit _______

17 / 50

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

18 / 50

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

19 / 50

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

20 / 50

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

21 / 50

One screen location corresponds to a

22 / 50

The second byte in the word designated for one screen location holds

23 / 50

In STOS instruction, the implied source will always be in

24 / 50

mov ax,5 has

25 / 50

After the execution of instruction “RET”

26 / 50

The basic function of SCAS instruction is to

27 / 50

one DIV instruction has

28 / 50

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

29 / 50

Code Segment is associated to _______ register by default.

30 / 50

physical address of the stack is obtained by

31 / 50

assembly the CX register is used normally as a ______________register.

32 / 50

The iAPX888 architecture consists of _______ register.

33 / 50

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

34 / 50

After the execution of “PUSH AX” statement

35 / 50

Assembly language is:

36 / 50

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

37 / 50

one RET is executed, it recovers the values from

38 / 50

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

39 / 50

JC and JNC test the ____________ flag.

40 / 50

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

41 / 50

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

42 / 50

After the execution of “PUSH AX” statement

43 / 50

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

44 / 50

The physical address of the stack is obtained by

45 / 50

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

46 / 50

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

47 / 50

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

48 / 50

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

49 / 50

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

50 / 50

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

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