State the use of OF and DF flags of 8086 microprocessor.

1 Answer

Answer :

Overflow Flag: This flag is set if an overflow occurs, i.e. if the result of a signed operation is large enough to be accommodated in destination register.

Direction Flag: It selects either increment or decrement mode for DI &/or SI register during string instructions.

Related questions

Description : Write an algorithm to subtract two 16 bit numbers (With borrow) in 8086 microprocessor.

Last Answer : Algorithm for 16 bit numbers subtraction with borrow: 1. Load 0000H into CX register (for borrow) 2. Load the first number into AX(accumulator) 3. Load the second number into BX register 4. Subtract ... . Move data from AX(accumulator) to memory 8. Move data from CX register to memory 9. Stop

Description : Enlist any four addressing modes of 8086 microprocessor.

Last Answer : Addressing modes of 8086 : 1. Immediate 2. Direct 3. Register 4. Register indirect 5. Indexed 6. Register relative 7. Based indexed 8. Relative based indexed 9. Implied

Description : Define memory segmentation. How memory segmentation is achieved in 8086? State advantages of memory segmentation.

Last Answer : Memory Segmentation: The memory in an 8086 microprocessor is organized as a segmented memory. The physical memory is divided into 4 segments namely, - Data segment, Code Segment, Stack Segment and Extra ... 16 bit size. 6) Programs and data can be stored separately from each other in segmentation.

Description : State the functions of temporary registers of 8085 microprocessor.

Last Answer : Temp Register (8 bits) is also called as operand register as it is used by μp for storing one of the operands during an operation and also for storing the result of any execution temproary.

Description : Enlist the features of 8085 microprocessor.

Last Answer : Features of 8085 microprocessor: 1. 16 address line so 216=64 Kbytes of memory can be addressed. 2. Operating clock frequency is 3MHz and minimum clock  frequency is 500 KHz. 3. On chip bus ... cycle TTL clock 10. Provide 2 serial I/O lines, so peripheral can be interfaced with  8085 μp

Description : State the functions of following pins of 8085 1) SOD 2) HLDA

Last Answer : 1) SOD: Serial Output data SOD pin is used to transmit data serially from accumulator to the external devices connected to the pin.  2) HLDA: Microprocessor generates HLDA signal to acknowledge requesting device after HOLD signal.

Description : Describe the functions of stack pointer and program counter of 8085. 

Last Answer : Stack pointer: 1. It is a 16 bit register which is used to store the address of topmost filled memory location of stack memory. 2. SP always points current top of stack. 3. If data is ... of memory and in 8085 the address of memory is 16 bit. Hence program counter is 16 bit register.

Description : Describe re-entrant procedure with the help of schematic diagram.

Last Answer : Re-entrant Procedures: A procedure is said to be re-entrant, if it can be interrupted, used and re-entered without losing or writing over anything. To be a re-entrant, Procedure ... program execution flow reenters in the procedure1. These types of procedures are called reentrant procedures.

Description : Explain the following assembler directives. 1) DB 2) DUP 3) EQU 4) ENDs.

Last Answer : 1) DB (Define Byte or Data Byte): This is used to define a byte type variable. The range of values : 0 - 255 for unsigned numbers -128 to 127 for signed numbers This can be used ... the end of the segment The directives SEGMENT, ENDS are always enclosed in data, code, stack and extra segments.

Description : Write an algorithm and draw the flowchart to find sum of series of numbers. 

Last Answer : Algorithim to find sum of series of numbers: 1. Initialize data segment 2. Initialize byte counter and memory pointer to read number from array. 3. Initialize sum variable to 0 4. sum=sum+number from array ... Decrement byte counter 9. If byte counter=0 then step 10 else step 4 10. Stop

Description : Define pipelining.

Last Answer : Pipelining: Process of fetching the next instruction while the current instruction is executing is called pipelining which will reduce the execution time.

Description : In 8086 the overflow flag is set when a) The sum is more than 16 bits b) Signed numbers go out of their range after an arithmetic operation c) Carry and sign flags are set

Last Answer : b) Signed numbers go out of their range after an arithmetic operation

Description : Who was introduce the 80286 microprocessor updated on 8086,in 1983: a. Intel b. Motorola c. Fairchild d. None of these

Last Answer : a. Intel

Description : How many speed of 8088,8085,8086 microprocessor: a. 2.5 Million instruction per second b. 1.5 Million instruction per second c. 3.5 Million instruction per second d. 1.6 Million instruction per second

Last Answer : a. 2.5 Million instruction per second

Description : Which is 16 Bit microprocessor: a. 8088 b. 8086 c. 8085 d. All of these

Last Answer : d. All of these

Description : In 8086 microprocessor one of the following instructions is executed before an arithmeticoperation a. AAM b) AAD c) DAS d) DAA

Last Answer : b) AAD

Description : In 8086 microprocessor one of the following statements is not true.a)Coprocessor is interfaced in MAX mode b)Coprocessor is interfaced in MIN mode c)I/O can be interfaced in MAX / MIN moded)Supports pipelining

Last Answer : b)Coprocessor is interfaced in MIN mode

Description : 8086 is interfaced to two 8259s (Programmable interrupt controllers). If 8259s are in master slave configuration the number of interrupts available to the 8086 microprocessor is a) 8 b) 16 c) 15 d) 64

Last Answer : a) 8

Description : 8086 microprocessor is interfaced to 8253 a programmable interval timer. The maximum number by which the clock frequency on one of the timers is divided by a) 216 b) 28 c) 210 d) 220

Last Answer : d) 220

Description : In 8086 microprocessor one of the following instructions is executed before an arithmetic operation a) AAM b) AAD c) DAS d) DAA

Last Answer : b) AAD

Description : 8088 microprocessor differs with 8086 microprocessor in a) Data width on the output b) Address capability c) Support of coprocessor d) Support of MAX / MIN mode

Last Answer : a) Data width on the output

Description : In 8086 microprocessor one of the following statements is not true. a) Coprocessor is interfaced in MAX mode b) Coprocessor is interfaced in MIN mode c) I/O can be interfaced in MAX / MIN mode

Last Answer : b) Coprocessor is interfaced in MIN mode

Description : n 8086 microprocessor the following has the highest priority among all type interrupts. a) NMI b) DIV 0 c) TYPE 255 d) OVER FLOW

Last Answer : a) NMI

Description : BHE of 8086 microprocessor signal is used to interface the a) Even bank memory b) Odd bank memory c) I/O d) DMA

Last Answer : b) Odd bank memory

Description : Describe the functions of General purpose registers of 8086 microprocessor.

Last Answer : (i) General Purpose Registers of 8086 1. AX (Accumulator) - Used to store the result for arithmetic / logical operations All I/O data transfer using IN & OUT instructions use A ... Index - acts as the destination for string movement instructions Used to hold offset address of Extra segment.

Description : The 16 bit flag of 8086 microprocessor is responsible to indicate ___________ A. the condition of result of ALU operation B. the condition of memory C. the result of addition D. the result of subtraction 

Last Answer : The 16 bit flag of 8086 microprocessor is responsible to indicate the condition of result of ALU operation

Description : In 8086 microprocessor , the address bus is ________ bit wide A. 12 bit B. 10 bit C. 16 bit D. 20 bit

Last Answer : In 8086 microprocessor, the address bus is 20 bit

Description : The intel 8086 microprocessor is a _______ processor A. 8 bit B. 16 bit C. 32 bit D. 4 bit

Last Answer : The intel 8086 microprocessor is a 16 bit processor 

Description : Which processor provided 1 MB memory: a. 16-bit 8086 and 8088 b. 32-bit 8086 and 8088 c. 64-bit 8086 and 8088 d. 8-bit 8086 and 8088

Last Answer : a. 16-bit 8086 and 8088

Description : Intel used HMOS technology to recreate_____: a. 8084 A b. 8086 A c. 8085 A d. 8088 A

Last Answer : c. 8085 A

Description : .How many transistors does the 8086 have?a) 10,000b ) 29,000 c) 110,000d) 129,000

Last Answer : ) 29,000

Description : 8087 connection to 8086, to enable the _________ bank of memory _______pins are to be connected. a) Lower, BHE b) Upper, BHE c) Lower, INT d) Upper, INT.

Last Answer : a) Lower, BHE

Description : What is the output of the following code AL=00110101 BL= 39H M. Krishna Kumar/IISc. Bangalore M2/V1/June 04/1 Microprocessors and Microcontrollers/Assembly language of 8086 Multiple Choice Questions SUB AL, BL AAS ... , CF=1 b) BL=00000100, CF=0 c) AL=11111100 CF=1 d) BL= 00000100, CF=1

Last Answer : b) BL=00000100, CF=0

Description : In 8086, Example for Non maskable interrupts are a) Trapb) RST6.5 c) INTR

Last Answer : a) Trap

Description : Registers, which are partially visible to users and used to hold conditional, are known as a. PC b. Memory address registers c. General purpose register d. Flags

Last Answer : c. General purpose register

Description : Which are the flags of status register: a. Over flow flag b. Carry flag c. Half carry flag d. Zero flag e. Interrupt flag f. Negative flag g. All of these

Last Answer : g. All of these

Description : What is the clock frequency of 8086 microprocessor?

Last Answer : MAximum clock frequency of 8086 is 5MHZ.

Description : Which of the following is not an XT microprocessor? A) 8006 B) 8086 C) 8088 D) None of above

Last Answer : Answer : D

Description : To read or write a complete word from / to the memory in 8086 microprocessor and if it is located at an even address, the number of Read or Write cycles required is

Last Answer : To read or write a complete word from / to the memory in 8086 microprocessor and if it is located at an even address, the number of Read or Write cycles required is one

Description : Which microprocessor accepts the program written for 8086 without any changes?   (a) 8085 (b) 8088 (c) 80186 (d) 80188 

Last Answer : Which microprocessor accepts the program written for 8086 without any changes?   (a) 8085 (b) 8088 (c) 80186 (d) 80188 

Description : State the use of Lux Meter and Tachometer in energy audit.

Last Answer : Use of lux meter – to measure intensity of light Use of tachometer – to measure speed

Description : State various types of energy losses with their control measures in any utility.

Last Answer : Energy loss and control in any utility Energy saving opportunities in cooling tower (These measures will save electrical energy used in fan or pumps) 1. Follow manufacturer's recommended ... Preheating combustion air 10. Switching from steam to air atomization Switching to lower cost fuel

Description : State two objectives of energy audit.

Last Answer : Objective of energy audit  To determine ways to reduce energy consumption per unit of product output or to lower operating costs. Energy Audit provides a bench-mark" (Reference ... effective use of energy throughout the organization. Provide detailed documentation for monitoring of energy use

Description : State any two units of energy.

Last Answer : Units of energy: Joule Calorie Kilowatt Kilowatt-hour Watt

Description : State the insulating materials used in motor. Write temperature class and withstand temperature ranges for them. 

Last Answer : The insulating materials used in motor are as belows: 1. Cotton, 2. Silk, or paper, 3. Press board, 4. Resins 5. PVC 6. Cellulose-Fiber, 7. Enameled coating, etc  ... Over 180° Mica, porcelain, ceramics, glass quartz, asbestos, treated glass fiber or treated asbestos. etc.

Description : State the type of insulating materials under Class Y and Class B.

Last Answer : The type of insulating materials under Class Y : 1. Cotton  2. Silk 3. Paper 4. Rubber 5. PVC The type of insulating materials under Class B: 1. Backelite 2. Impregnated varnish 3. Mica 4. Fiber glass 5. Asbestos 

Description : State gaseous and liquid insulating material.

Last Answer : i) Gaseous insulating material : 1. Air 2. Nitrogen 3. Hydrogen 4. SF6 ii) liquid insulating material: 1. Transformer oil 2. Capacitor oil 3. Cable oil 4. Pyranol 5. Savotal 6. Savol 7. Vegetable oil 8. Silicon liquids

Description : State suitable single phase motor for following applications: (i) Table fan (ii) Mixers and Grinders

Last Answer : Application Suitable Single Phase Motor Table Fan 1) Capacitor split phase motor 2) Capacitor start capacitor run motor Mixers and Grinders 1) Universal motor 2) A.C. Series motor

Description : State the impact of inductance and resistance on transmission line performance

Last Answer : Impact of inductance on transmission line: 1) It causes IXL drop in transmission line which affects regulation. 2) It is the only parameter which decides power transmission capacity of line i. ... is very small, it causes losses, temperature rise& poor voltage regulation so it cannot be neglected

Description : State the needs and benefits of star labelling. 

Last Answer : Needs of star labelling: * Star labelling is meanly required to recognize quality of product * Star labelling is also required to determine life and efficiency of the product. * Star labels ... emission and air pollution will be reduces. 5. Market efficiency and compilation will be improve.