InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Write A Program In Assembly Language To Find Out One`s And Two`s Complement For An 8 Bit Number? |
|
Answer» The PROGRAM to find the one`s COMPLEMENT of an eight BIT number is as follows: LDA 2501H CMA STA 2502H HLT The program to find the two`s complement is as follows: LDA 2501H CMA INR A STA 2502H HLT The program to find the one`s complement of an eight bit number is as follows: LDA 2501H CMA STA 2502H HLT The program to find the two`s complement is as follows: LDA 2501H CMA INR A STA 2502H HLT |
|
| 2. |
In Assembly Language, Write The Program To Search For The Largest Number Among N Numbers Which Are Stored In The Memory? |
|
Answer» The program to detect the largest number among n NUMBERS stored in the memory are as follows: Step 1>>MOV AX, 0000 Step 2>>MOV SI, 0200 Step 3>>MOV CX, [SI] Step 4>>BACK : INC SI Step 5>>INC SI Step 6>>CMP AX, [SI] Step 7>>JAE GO Step 8>>MOV AX, [SI] Step 10>>MOV [0251], AX Step 11>>INT 3 The program to detect the largest number among n numbers stored in the memory are as follows: Step 1>>MOV AX, 0000 Step 2>>MOV SI, 0200 Step 3>>MOV CX, [SI] Step 4>>BACK : INC SI Step 5>>INC SI Step 6>>CMP AX, [SI] Step 7>>JAE GO Step 8>>MOV AX, [SI] Step 9>>GO: LOOP BACK Step 10>>MOV [0251], AX Step 11>>INT 3 |
|
| 3. |
Briefly Explain The Functions Of Debugger, Assembler And The Linker? |
Answer»
|
|
| 4. |
Briefly Explain Dma And Its Various Addressing Modes? |
Answer»
|
|
| 5. |
Explain Segments Their Pro`s And A Method For Their Implementation? |
Answer»
|
|
| 6. |
Briefly Explain Sar Instructions In 8086 Family? |
|
Answer» SAR: Also known as Shift each bit of OPERAND right, this INSTRUCTION SHIFTS each bit of the operand in a register or memory LOCATION, right by the number of bits SPECIFIED. The carry flag is affected by this operation. SAR: Also known as Shift each bit of operand right, this instruction shifts each bit of the operand in a register or memory location, right by the number of bits specified. The carry flag is affected by this operation. |
|
| 7. |
Briefly Explain Imul Instructions In 8086 Family? |
|
Answer» IMUL: This instruction is used for the multiplication of two SIGNED NUMBERS.The RESULT of imul between two signed numbers is signed as well. The OF (Over flow) and CF (CARRY flag) flags get AFFECTED by this instruction. IMUL: This instruction is used for the multiplication of two signed numbers.The result of imul between two signed numbers is signed as well. The OF (Over flow) and CF (Carry flag) flags get affected by this instruction. |
|
| 8. |
Briefly Explain Loop Instructions In 8086 Family: |
|
Answer» LOOP: (Jump to specified label until CX = 0): As the name suggests the loop INSTRUCTION is used to repeat a sequence of instructions for a specified NUMBER of time. It does not affect any flag and the number of times the loop is to be REPEATED is stored in the CX register. LOOP: (Jump to specified label until CX = 0): As the name suggests the loop instruction is used to repeat a sequence of instructions for a specified number of time. It does not affect any flag and the number of times the loop is to be repeated is stored in the CX register. |
|
| 9. |
Briefly Explain Cwd Instructions In 8086 Family? |
|
Answer» CWD also known as the Convert SIGNED Word to signed Double word instruction, it is USED to extend the sign bit of a word in AX register to all the bits of the DX register. Generally used before a signed word in AX. Then it is divided by another signed word using IDIV instruction. It does not affect any FLAG. CWD also known as the Convert signed Word to signed Double word instruction, it is used to extend the sign bit of a word in AX register to all the bits of the DX register. Generally used before a signed word in AX. Then it is divided by another signed word using IDIV instruction. It does not affect any flag. |
|
| 10. |
What Do You Understand By Macro? Explain The Various Conditional Constructs Used While Programming A Macro? |
Answer»
|
|
| 11. |
Explain In Pentium Processors How Memory Management Has Been Improved? |
Answer»
|
|
| 12. |
How Can A Microprocessor Based Computer System Be Developed? |
|
Answer» In developing a Microprocessor based computer system the FOLLOWING steps are involved:
In developing a Microprocessor based computer system the following steps are involved: |
|
| 13. |
Explain Briefly The Role Of The 8284 Processor? |
Answer»
|
|
| 14. |
Describe Briefly The External And Internal Bus Of The 8088 Processor? |
Answer»
|
|
| 15. |
Briefly Mention The Differences Between Vga And Cga Graphics.? |
|
Answer» The characteristics of CGA are as follows:
The characteristics of CGA are as follows: |
|
| 16. |
Briefly Explain The 8279 Operation ? |
Answer»
|
|
| 17. |
Describe Briefly Any Three Types Of Transmission? |
|
Answer» The various types of commonly used TRANSMISSIONS are as follows: Simplex Transmission: This type of data transmission INVOLVES data to be MOVED only in one direction. In this no data can be SENT back using the same channel. A good example of this form of transmission can be found in a keyboard. Half Duplex Transmission: This type of transmission allows data to be transferred in both directions but not at the same time. One end transmits while the other receives. FULL Duplex Transmission: In this type of transmission data can be sent and received at the same time. There are no two different modes such as transmit and receive. The various types of commonly used transmissions are as follows: Simplex Transmission: This type of data transmission involves data to be moved only in one direction. In this no data can be sent back using the same channel. A good example of this form of transmission can be found in a keyboard. Half Duplex Transmission: This type of transmission allows data to be transferred in both directions but not at the same time. One end transmits while the other receives. Full Duplex Transmission: In this type of transmission data can be sent and received at the same time. There are no two different modes such as transmit and receive. |
|