Alien head

Assembly Programming Language Quiz - 1

Description: Assembly Programming Language Quiz - 1
Number of Questions: 10
Created by:
Tags: assembly
Attempted 0/10 Correct 0 Score 0

What is the value of Zero (Z) flag after the instruction: SUB AX,AX

  1. Set

  2. Cleared

  3. Unknown

  4. none of the above


Correct Option: A

If you add positive number plus negative number the over flow flag will be set if:

  1. The result is negative

  2. The result is positive

  3. The result is zero

  4. There is no over flow when adding ( ve) (-ve) numbers


Correct Option: D

Which of the following instruction(s) can be performed only in CX register:

  1. LOOP

  2. MUL, DIV, CBW

  3. ADD, SUB

  4. none of the above


Correct Option: A

The debug command U

  1. Retrieve the assembly program instructions from the disk

  2. Retrieve the assembly program instructions from the RAM

  3. Convert the machine code stored in memory into assembly equivalent

  4. none of the above


Correct Option: C

The assembly directive is a command to:

  1. The Assembler program

  2. The Microprocessor

  3. both (a) and (b) are correct

  4. both (a) and (b) are wrong


Correct Option: A

When you power on the computer it starts executing instructions in:

  1. ROM

  2. RAM

  3. Hard Disk

  4. none of the above


Correct Option: A

You want to move two bytes from address 100 to 200, so what is the proper instruction:

  1. Mov AX,[100], Mov [200],AX

  2. Mov AH,[100], Mov [200],AH

  3. Mov [200],[100]

  4. none of the above


Correct Option: A

The limitation on The maximum memory space addressable by 8086 processor because:

  1. It has only 14 registers

  2. The register size was 16 bits

  3. The address bus width was 20 bits

  4. none of the above


Correct Option: C

What is the memory-addressing mode of the first operand in the MOV instruction? for the following program segment:

Age DB 100 
MOV Age,123

  1. Immediate addressing mode

  2. direct addressing mode

  3. Indirect addressing mode

  4. none of the above


Correct Option: C

The operating system (DOS / Windows) generally loaded (system boot) from:

  1. ROM

  2. RAM

  3. Hard/ Floppy Disk

  4. none of the above


Correct Option: C
+ View questions