CS401 Quiz No. 1 Assembly Language 13 April 2012

Quiz No.1 CS401 Assembly Language Dated 13-04-2012

In direct addressing the memory address given in the instruction is
 Fixed
Variable

Execute in every condition whether true or false
If the condition is true
If the condition is false
None of the given

This jump is taken if the last arithmetic operation changed the sign unexpectedly.
Select correct option:

JP
JO
JNO
JS

This jump is taken if the last arithmetic operation produced a number in its destination that has even parity , Which jump is taken Select correct option:

JP
JPE
JNP
both JP and JPE

This jump is taken if the last arithmetic operation produced a number in its destination that has even parity , Which jump is taken Select correct option:

JP
JPE
JNP
both JP and JPE

The process through which the segment register can be explicitly specified is known as Select correct option:
Segment Addressing
Segment Override Prefix
Segment Indexing
None of the above

The other directive is “define word” or “dw” with the same syntax as “db” but reserving a whole word of __ bits instead of a byte. Select correct option:

32
8
16
64

Which of the following is not a valid instruction in assembly language?  Select correct option:

MOV AX, 55
MOV AX, BX
MOV CS, 0xb800
MOV BX, AX

Constant is never use as a Select correct option:

Source
Destination
Both as source and destination
None of the given

we can not add two base register i.e. (bx+bp) or cant use in an instruction Select correct option:

True
False

which type of rotation it is “The carry flag is inserted from the left, every bit moves one position to the right, and the right most bit is dropped in the carry flag. ”  Select correct option:

RCR
ROL
RCL
ROR

The simplest form of addressing, in which the operand value is present in instruction is  Select correct option:
Direct Addressing
Indirect Addressing
Immediate Addressing
None of them

mov [bx+si], ax is an example of Indexed Register Indirect.  Select correct option:

True
False

mov [1234],ax is an example of  Select correct option:
Direct addressing
Base register indirect
Base+index
None of the given

This JCXZ jump is taken whenever counter resets. Select correct option:

Yes

No

__ jump is not position relative but is absolute
Select correct option:

Near
Short
Far
None of the above

Size Mismatch Error is a syntax error
Select correct option:
False
True

The effective address will be either a main memory address or a register.
Select correct option:
True
False

we can not Subrtace index register from the base register( bx-si )in assemlby language
Select correct option:

True
False
ANY ONE ELSE /

All the addressing mechanisms in iAPX88 return a number called ___________ address.
Select correct option:
EFFICTIVE address
physical address
direct

Which one of the following is a illegal instruction
Select correct option:
MOV AX,BX
MOV AX,65
MOV ax,[bx+bp]
none

we can not Subrtace index register from the base register( bx-si )in assemlby language
true
false
The effective address will be either a main memory address or a register.
true
false
CX register mostly use a
flag register
destination register
baase register
COUNTER

The FLAG register in Intel x86 microprocessors that contains the current state of the processor
Select correct option:
True
false

The Jump command that doesn’t depends on FLAG register is
Select correct option:
JCXZ
JO
JINE
JP
when a 32 bit number is divided by a 16 bit number, the remainder is of
4bit
8bit
32bit
SHL and SAL are same
true
false

The simplest form of addressing, in which the operand value is present in instruction is
Select correct option:
direct addressing
indirect addressing

The simplest form of addressing, in which the operand value is present in instruction is
Select correct option:
Direct Addressing
Indirect Addressing
Immediate Addressing
None of them

Register to Register Operation is not allowed
Select correct option:

True
False

we can not add two base register i.e. (bx+bp) or cant use in an instruction
Select correct option:

True
False
The jump is taken if the last arithmetic operation changed the sign unexpectedly.
Select correct option:

JO
JNO
JNZ
JZ
unconditional jump can be
Select correct option:

near
short
far
all of the given

SI or DI is used we name the method.
Select correct option:

Based Addressing
Indexed Addressing
Stack Addressing
None of the above

Which of the following is not a valid instruction in assembly language?
Select correct option:

MOV AX, 55
MOV AX, BX
MOV CS, 0xb800
MOV BX, AX

This jump is taken if the last arithmetic operation produced a number in its destination that has even parity , Which jump is taken Select correct option:

JP
JPE
JNP
both JP and JPE

BP by default associated with
Select correct option:
CS
IP
SS
SP

Question # 1 of 10 ( Start time: 04:12:37 PM ) Total Marks: 1
BP by default associated with
Select correct option:
CS
IP
SS
SP

DOWNLOAD SOLUTION HERE
loading...