CS401 Computer Architecture and Assembly Language Programming Quiz No 2 Solution and Discussion Spring 2014 Due Date: May 28, 2014



Sponsored Links


Question # 1 of 10 ( Start time: 03:45:00 PM ) Total Marks: 1
The purpose of MOVS instruction is to move a memory location to register
Select correct option:

True
False (Correct)

Question # 2 of 10 ( Start time: 03:46:14 PM ) Total Marks: 1
Loading a segment register with an immediate operand is not allowed in the 8088 architecture. Select correct option:

True (Correct)
False

Question # 3 of 10 ( Start time: 03:47:05 PM ) Total Marks: 1
An element is pushed on the stack SP is decremented by ______ as the 8088 stack works on word sized elements.
Select correct option:

Three
Two (Correct)
Four
Five

Question # 4 of 10 ( Start time: 03:48:35 PM ) Total Marks: 1
There are just ______ block processing instructions in 8088.
Select correct option:

6
5 (Correct)
4
3

Question # 5 of 10 ( Start time: 03:49:27 PM ) Total Marks: 1
MUL (multiply) Instruction performs an unsigned multiplication of the source operand and the __________.
Select correct option:

Accumulator (Correct)
Carry
Word
Base

Question # 6 of 10 ( Start time: 03:50:51 PM ) Total Marks: 1
___________ 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.
Select correct option:

PUSH (Correct)
POP
CALL
None of the Above

Question # 7 of 10 ( Start time: 03:52:15 PM ) Total Marks: 1
Far calls are called intra segment calls.
Select correct option:

True (Correct)
False

Question # 8 of 10 ( Start time: 03:53:23 PM ) Total Marks: 1
LODS is generally not used in a loop and not with the REP prefix since the value previously loaded in the register is overwritten if the instruction is repeated and only the last value of the block remains in the register
Select correct option:

True (Correct)
False

Question # 9 of 10 ( Start time: 03:54:49 PM ) Total Marks: 1
ASCII stands for______________________________.
Select correct option:

American Standard Code for Information Interaction
American Standard Code for Information Interchange (Correct)
American Standard Communication for Integer Interchange
American Scientific Communication for Integer Interaction

Question # 10 of 10 ( Start time: 03:55:37 PM ) Total Marks: 1
Local variables should be created when the subroutine is called and discarded afterwards.
Select correct option:

True (Correct)
False