Assembly Programming Language Quiz - 1

Assembly Programming Language Quiz - 1

10 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

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
Question 2 Multiple Choice (Single Answer)

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
Question 3 Multiple Choice (Single Answer)

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
Question 4 Multiple Choice (Single Answer)

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
Question 5 Multiple Choice (Single Answer)

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
Question 6 Multiple Choice (Single Answer)

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

  1. ROM
  2. RAM
  3. Hard Disk
  4. none of the above
Question 7 Multiple Choice (Single Answer)

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
Question 8 Multiple Choice (Single Answer)

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
Question 9 Multiple Choice (Single Answer)

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
Question 10 Multiple Choice (Single Answer)

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

  1. ROM
  2. RAM
  3. Hard/ Floppy Disk
  4. none of the above