Assembly Programming Language Quiz - 1
Assembly Programming Language Quiz - 1
Questions
Question 1 Multiple Choice (Single Answer)
What is the value of Zero (Z) flag after the instruction: SUB AX,AX
- Set
- Cleared
- Unknown
- 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:
- The result is negative
- The result is positive
- The result is zero
- 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:
- LOOP
- MUL, DIV, CBW
- ADD, SUB
- none of the above
Question 4 Multiple Choice (Single Answer)
The debug command U
- Retrieve the assembly program instructions from the disk
- Retrieve the assembly program instructions from the RAM
- Convert the machine code stored in memory into assembly equivalent
- none of the above
Question 5 Multiple Choice (Single Answer)
The assembly directive is a command to:
- The Assembler program
- The Microprocessor
- both (a) and (b) are correct
- both (a) and (b) are wrong
Question 6 Multiple Choice (Single Answer)
When you power on the computer it starts executing instructions in:
- ROM
- RAM
- Hard Disk
- 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:
- Mov AX,[100], Mov [200],AX
- Mov AH,[100], Mov [200],AH
- Mov [200],[100]
- none of the above
Question 8 Multiple Choice (Single Answer)
The limitation on The maximum memory space addressable by 8086 processor because:
- It has only 14 registers
- The register size was 16 bits
- The address bus width was 20 bits
- 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
- Immediate addressing mode
- direct addressing mode
- Indirect addressing mode
- none of the above
Question 10 Multiple Choice (Single Answer)
The operating system (DOS / Windows) generally loaded (system boot) from:
- ROM
- RAM
- Hard/ Floppy Disk
- none of the above