Alien head

Assembly Programming Language Quiz - 1

Description: Assembly Programming Language Quiz - 1
Number of Questions: 10
Created by:
Tags: assembly

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

Answer: 1

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

Answer: 4

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

Answer: 1

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

Answer: 3

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

Answer: 1

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



      
  1. ROM

  2. RAM

  3. Hard Disk

  4. none of the above

Answer: 1

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

Answer: 1

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

Answer: 3

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

Answer: 3

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



      
  1. ROM

  2. RAM

  3. Hard/ Floppy Disk

  4. none of the above

Answer: 3
+ View questions