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

1 Answer

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 Segment. 

Description:  Data segment is used to hold data, Code segment for the executable program, Extra segment also holds data specifically in strings and stack segment is used to store stack data.  Each segment is 64Kbytes & addressed by one segment register. i.e CS,DS,ES or SS  The 16 bit segment register holds the starting address of the segment  The offset address to this segment address is specified as a 16-bit displacement (offset) between 0000 to FFFFH.  Since the memory size of 8086 is 1Mbytes, total 16 segments are possible with each having 64Kbytes.

Advantages of segmentation: 1) With the use of segmentation the instruction and data is never overlapped. 2) The major advantage of segmentation is Dynamic relocatability of program which means that a program can easily be transferred from one code memory segment to another code memory segment without changing the effective address. 3) Segmentation can be used in multi-user time shared system. 4) Segmentation allows two processes to share data. 5) Segmentation allows you to extend the addressability of a processor i.e., address up to 1MB although the actual addresses to be handled are of 16 bit size. 6) Programs and data can be stored separately from each other in segmentation.

Related questions

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

Last 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.

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 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 : 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 : 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 : 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 : 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 : 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 : 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 : List the advantages and disadvantages of hydropower. 

Last Answer : Hydropower plant Advantages Renewable - Hydroelectric energy is renewable. This means that we cannot use up. However, there's only a limited number of suitable reservoirs where hydroelectric power ... MW under construction. Only one of these projects was started in the last two years. 

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 : Intel used HMOS technology to recreate_____: a. 8084 A b. 8086 A c. 8085 A d. 8088 A

Last Answer : c. 8085 A

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 : .How many transistors does the 8086 have?a) 10,000b ) 29,000 c) 110,000d) 129,000

Last Answer : ) 29,000

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 : 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 : 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 : 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 : In 8086, Example for Non maskable interrupts are a) Trapb) RST6.5 c) INTR

Last Answer : a) Trap

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 : Define calorific value. Differentiate between net calorific value and gross calorific value.

Last Answer : Calorific value of fuel  The amount of energy produced by the complete combustion of a material or fuel.  Measured in units of energy per amount of material, e.g. kJ/kg. Difference between NCV and GCV ... is not an actual heat available for use. It is an actual heat available for use.

Description : Define balance sheet.

Last Answer : Balance sheet  It is a statement of the assets, liabilities, and capital of a business or other organization at a particular point in time, detailing the balance of income and expenditure over the preceding period.

Description : Define Feed and speed in shaping machine

Last Answer : 1) Feed: Feed (S) is the relative movement of the work or tool in a direction perpendicular to the axis of reciprocation of the ram per double stroke. It is expressed in mm per stroke. 2) Speed: ... speed is the speed at which the metal is removed by the cutting tool in a period of one minute.

Description : Define impedance diagram and reactance diagram.

Last Answer : Impedance diagram: Impedance diagram is the simplified equivalent circuits of single line or one line diagrams of power system in which all components are represented by their equivalent circuit.  ... machines are neglected and is used only for fault current calculation is called reactance diagram.

Description : Define the terms incandescent and incandescent lamp.

Last Answer : Incandescent is the phenomenon in which the object emits or creates light when it is heated. An incandescent lamp is a lamp in which the filament is heated by electrical current & light is created.

Description : Define Analog Transducer and give examples of it

Last Answer : Analog Transducer: An analog transducer is a device that converts the input signal into a continuous DC signal of voltage or current. Examples: * Strain gauge * L.V.D.T * Thermocouple * Thermistor

Description : Define resistor and draw symbol of variable resistor.

Last Answer : Resistor: A resistor is an electrical component that limits or regulates the flow of electrical current in an electronic circuit. Symbol of variable resistor:   

Description : Define Sample and hold period with reference to S/H circuit.

Last Answer : Sample Period:- The time period during which the voltage across the capacitor is equal to the input voltage is called sample period. Hold Period:- The time period during which the voltage across the capacitor is constant is called hold period.

Description : Segmentation unit allows segments of _____ size at maximum. a) 4Gbytes b) 6Mbytes c) 4Mbytes d) 6Gbytes

Last Answer : a) 4Gbytes

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 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 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