Font size
WorksheetsArithmetic and Branch instructions in 8086
Total questions: 20
Worksheet time: 12mins
2. A machine language instruction format consists of
a) Operand field
b) Operation code field
c) Operation code field & operand field
d) none of the mentioned
3. The instruction “JUMP” belongs to
a) sequential control flow instructions
b) control transfer instructions
c) branch instructions
d) Arithmetic nstructions
9.The operands, source and destination in an instruction cannot be
a) register, register
b) memory location, memory location
c) memory location, register
d) immediate data, register
The instruction that supports addition when carry exists is
a.ADD
b.ADC
c.ADD & ADC
d.none of the mentioned
The instruction, “INC” increases the contents of the specified register or memory location by
a.2
b.0
c.1
d.3
The instruction that subtracts 1 from the contents of the specified register/memory location is
a.INC
b.SUBB
c.SUB
d.DEC
he flag that acts as Borrow flag in the instruction, SBB is
a.direction flag
b.carry flag
c.parity flag
d.trap flag
In general, the source operand of an instruction can be
a.memory location
b.register
c.immediate data
d.all the above
In general, the destination operand of an instructon can be
a.memory location
b.register
c.immediate data
d.memory location and register
The instruction, CMP to compare source and destination operands it performs
a.addition
b.subtraction
c.division
d.multiplication
During comparison operation, the result of comparing or subtraction is stored in
a.memory
b.registers
c.stack
d.no where
The instructions that are used to call a subroutine from a main program and return to the main program after execution of called function are
a) CALL,JMP
b) JMP,IRET
c) CALL,RET
d) JMP,RET
What is not an operand
Register
Memory location
Immediate data
Assembler
The conditional branch instruction JZ performs the operations when if __
a) ZF =1
b) SF=1
c) PF=1
d) CF=1
In intrasegment jump we need to change both CS and IP
True
False
In DIV operation the remainder will be in ------------------
(a)
In MUL , 16 bit multiplicand will be in
(a)
_______________branch to some location only if specified condition is satified
Conditional
Unconditional
----------------instruction is used to repeat some set of instruction till CX=0
(a)
Which of the following is not arithmetic instruction
ADD
SUB
INC
JZ
