8086 Assembly Language Fundamentals

Covers 8086 assembly programming concepts including registers, flags, memory addressing, and program structure

7 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

What is the value of over flow (O) flag after the instruction: SUB AX,AX

  1. Set
  2. Cleared
  3. Unknown
  4. none of the above
Question 2 Multiple Choice (Single Answer)

What about the Stack segment in .COM program during execution:

  1. Must be defined explicitly in the program
  2. DOS uses the high area of the COM program for the Stack
  3. There is no stack for .COM program during execution
  4. none of the above
Question 3 Multiple Choice (Single Answer)

The physical address 12345 can be represented by the logical address:

  1. 1234:5
  2. 1230:45
  3. Both (a) and (b) are wrong
  4. Both (a) and (b) are correct
Question 4 Multiple Choice (Single Answer)

You want to initialize the IP register with the value 2000:

  1. Mov IP,2000
  2. Jmp 2000
  3. Mov 2000,IP
  4. You can not change IP register
Question 5 Multiple Choice (Single Answer)

The maximum memory space addressable by 8086 processor was:

  1. 64 KB
  2. 640KB
  3. 1MB
  4. 2MB
Question 6 Multiple Choice (Single Answer)

What is the value of AX register after executing, MOV AX,456h, CMP AX,456h

  1. 456h
  2. Zero
  3. 1
  4. Unknown
Question 7 Multiple Choice (Single Answer)

To increment both AL, AH registers:

  1. INC AX
  2. INC AL INC AH
  3. both (a) and (b) are correct
  4. both (a) and (b) are wrong