Explain the advantages and disadvantages of using memory I/O and standard I/O.

1 Answer

Answer :

Memory mapped I/O and standard I/O are the two methods for communicating microprocessor with peripherals.

Processor talks to both memory and peripheral using the same bus.
Two ways to talk to a peripheral.

  1. Memory mapped I/O
  2. Standard I/O

Memory mapped I/O: 

  • Peripheral registers occupy addresses in same address space as memory.
  • e.g. Bus has 16-bit address.
  • Lower 32k addresses may correspond to memory.
  • Upper 32k addresses may correspond to peripherals.
  • Requires no special instructions.
  • Assembly instructions involving memory like MOV and ADD work with peripherals as well.
  • Standard I/O requires special instructions (e.g. IN, OUT) to move data between peripheral registers and memory.
  • The advantage of memory mapped I/O is that microprocessor need not include special instructions for communicating with peripherals.


Standard I/O (I/O mapped I/O): 

  • Additional pin (M/IO) on bus indicates whether a memory or peripheral access.
  • Standard I/O is also known as I/O mapped I/O.
  • e.g. Bus has 16-bit address
  • All 64k addresses correspond to memory when M/IO set to 0.
  • All 64 addresses correspond to peripherals when M/IO set to 1.
  • No loss of memory addresses to peripherals.
  • Simpler address decoding logic in peripherals possible.
  • When the number of peripherals much smaller than address space then high order address bits can be ignored.
  • Smaller and/or faster comparators.
  • The advantage of standard I/O is no loss of memory addresses to the use as I/O addresses.

Related questions

Description : State any two advantages of MCB over Fuse. State the standard specifications of MCB available in the market.  

Last Answer : Following advantages of MCB over Fuse: 1. No need of replacement of fuse wire. 2. Manually restore of supply is simple. 3. Fault understanding by visual inspection 4. More safe than fuse The standard specifications of ... 6A, 10A,16A,20A, 25A, 30A, 32A, 40A, 50A, 60A and 63A 6. 250V and 450 v

Description : State advantages and disadvantages of radial distributor system. 

Last Answer : Advantages of radial distributor system: 1. Design of layout is simple. 2. Capital cost & Erecting cost is less as there is only one feeder. 3. Time required for completion of ... maintain supply to consumers when there is maintenance on feeder. 3. Voltage fluctuations are more.

Description : advantages and disadvantages of ICs.

Last Answer : Advantages of ICs: 1.The physical size of an IC is extremely small (generally thousand times smaller) than that of discrete circuits. 2. The weight of an IC is very less as compared to that of ... is high 3. Power dissipation is limited. 4. ICs are very delicate and need extra care while handling

Description : What are advantages and disadvantages of Mechatronics system? 

Last Answer : Advantages of Mechatronics system:  High level of integration.  Increased functionality and better design.  More use of electronics and software instead of mechanical function.  Assumes ... Its replacement is difficult, that it is difficult to change old system to new system. 

Description : State advantages and disadvantages of fiber optic communication

Last Answer : Advantage of fiber optic communication: 1.Greater information capacity/ higher bandwidth OFC's are capable of transmitting several gigabits per second over hundreds of miles allowing millions of ... are not flexible 7.Requiring more protection around the fiber cable compared with copper cable

Description : State advantages and disadvantages of continuous wave Radar

Last Answer : Advantages continuous wave RADAR : 1.Single frequency transmission and hence narrow receiver bandwidth 2.Duty cycle is unity, so mean power can be as high as transmitters will permits. 3.Ability ... required for receiver and transmitter. 3.Cannot detect targets crossing its beam at right angles.

Description : State advantages & disadvantages of electromagnetic flow meter.

Last Answer : Advantage: Provides wide linear range. 2) Ability to measure reverses flow. 3) Gives rapid response to flow changes. 4) No obstruction is created to flow. 5) It can handle corrosive as ... and pipe networks with relatively short inside diameters. 3) It is useful for electrically conducting fluid.

Description : List advantages and disadvantages of MEMS.

Last Answer : Advantages : 1. Batch fabrication and hence reduced cost. 2. Reduced size and reduced power ( due to pin size and reduced package volume) 3. High precision and resolution. 4. Reduced ... cannot be loaded with large forces because brittle materials can be fractured easily under high stress.  

Description : State the advantages and disadvantages of hydroelectric power plant.

Last Answer : Advantages of Hydroelectric power plant:-  1. There is no air pollution and other environmental problems. 2. The fuel (water) is available freely. 3. No fuel transportation cost so; there is ... , this can force the relocation of large numbers of riverside cities, towns, villages & people.

Description : State any two advantages and two disadvantages of nuclear power plant.

Last Answer : Disadvantages of Nuclear Power Plant: -   1. The capital cost of Nuclear power plant is very high as compare to other power plant of same capacity. 2. The erection & ... material could be released into the environment. Causing extensive damage to the mankind,animals and environment.

Description : State any four advantages and four disadvantages of diesel electric power plant. 

Last Answer : Advantages of Diesel electric power plant:- 1) The design and layout of Diesel electric power plant is simple. 2) It requires less space. 3) Time required for complete erection of diesel power plant is less ... . 9) The useful life is very short. 10) Availability of fuel in future may be limited.

Description : Write any four advantages and four disadvantages of thermal power plant.

Last Answer : .embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

Description : Write advantages and disadvantages of positive and negative feedback.

Last Answer : Advantages of Positive Feedback: i) Voltage gain increases. ii) No phase shift is provided. iii) Feedback signal and input signal are in phase. iv) Input and Output voltage increases.  ... ii) Feedback signal and input signal are out of phase. iii) Input and Output voltage decreases.

Description : What are the advantages and disadvantages of tidal power?

Last Answer : Free of costPollution freeLong life Less maintenance

Description : What are the advantages and disadvantages of wave energy?

Last Answer : AdvantagesFree from pollutionAvailable for every timeThe water can reuse as drinking purposeDisadvantageMore costLarge maintenanceDifficult to constructAquatic life get affected

Description : What are the advantages and disadvantages of solar energy?

Last Answer : Free of costRenewable energyInextable solar energyLow energy densityHigh capital costMaintenance cost highDepends on weatherNeed to direction tracking

Description : What are the advantages of using Linux?

Last Answer : Advantages of Linux are as follows :Linux is open source and free.Linux Is multiuser and multitasking operating system.Linux is the stable operating system.Linux is reliable.Linux can be modify according to requirements.Linux is the secure operating system.

Description : Explain memory hierarchy.

Last Answer : Memory hierarchy: Main memory is large, inexpensive, slow memory stores entire program and data. Cache memory is small, expensive, fast memory stores copy of likely accessed parts of large ... In memory hierarchy the smaller memory is faster and larger memory storage is slower.

Description : Explain memory write ability and storage permanence with suitable diagram.

Last Answer : Write ability and storage permanence of memories: Write ability is the manner and speed at which memory can be written. Storage permanence is the ability of memory to hold stored bits ... Holds bits after power is no longer supplied. High end and middle range of storage permanence.

Last Answer : Shared memory :For sharing of data faster and communication between programs, we use shared memory. Shared memory can be used with multiprocessors and single processors. Means Program ... No resource preemption4. Circular waitIf the four conditions occur simultaneously then the deadlock occurs.

Description : List standard voltage level used in India. 

Last Answer : Standard voltage level used in India: * Generation Voltage : 3.3KV, 6.6KV,11KV and 17.5 KV,21KV (Now a days generation voltage is in the range of 11KV- 33KV) * Primary Transmission voltage :- 220 ... voltages in India are 765 KV (750KV), 400KV, 220KV, 132KV, 110KV, 66KV, 33KV, 22KV, 11KV.

Description : State standard voltage in India for the following : (i) Generation Voltage (ii) Primary Transmission Voltage

Last Answer : i. Generation Voltage : 3.3KV, 6.6KV,11KV and 17.5 KV  ii. Primary Transmission voltage :- 220 KV, 400KV, 765 KV (750 KV) 

Description : The standard for long distance analog signal transmission in process control industry is (A) 4-20 mV (B) 0-20 mA (C) 4-20 mA (D) 0-5 V

Last Answer : The standard for long distance analog signal transmission in process control industry is 4-20 mA

Last Answer : Commonly used standard capacitor is concentric cylindrical type.

Last Answer : Standard resistor is made from maganin.

Last Answer : The standard full-load power factor ratings for synchronous motors are unity or 0.8 leading.

Description : Standard Commands for Programmable Instruments (SCPI)

Last Answer : Standard Commands for Programmable Instruments (SCPI) SCPI stands for Standard Commands for Programmable Instruments it is often pronounced as Skippy. SCPI is a instrument language that control the ... is for storing data in instrument. Display : for presentation.

Description : EEPROM VS FLASH MEMORY

Last Answer : EEPROM VS FLASH MEMORY

Description : What are the disadvantages of using solar energy?

Last Answer : High installation costEnergy density is depend on weatherSo it is low Not suitable in all areasMaintenance cost high

Description :  State the disadvantages of skin effect.

Last Answer : Disadvantages of skin effect:- 1. Full cross section of conductor is not utilized, Therefore effective area of conductor reduces so its resistance increases. 2. Due to increase in resistance, copper ... increases (Since Voltage drop = IR ) 5. So voltage regulation becomes poor (increases) 

Description : What are the disadvantages of Open loop control system?

Last Answer : Open loop control system are less reliable. In open loop control system Optimization is not possible. Open loop control system are less accurate.

Description : Write any two disadvantages of hydro power plant.

Last Answer : Disadvantages of hydro power plant: i) Due to high cost of civil engineering works, the capital cost per kW of hydro plants is considerably higher than that of steam plants. ii) Hydro ... ) Hydro plant reservoir submerges huge areas, uproots large population and creates social and other problems. 

Description : Write any two disadvantages of ammeter shunts.

Last Answer : Disadvantages of ammeter shunts: 1. Errors are caused because of change in temperature. 2. Most suitable for DC measurement. 3. Power loss takes place.

Description : State any two disadvantages of one wattmeter method of measurement of 3 phase power.

Last Answer : State any two disadvantages of one wattmeter method of measurement of 3 phase power. Disadvantages of one wattmeter method:- 1. Only used for balanced load 2. It can not be used for ... connection then neutral point must be available 4. Delta connection must be opened to connect current coil.

Description : The main disadvantages of having poor power factors are:  (A) High cost of station and distribution equipment (B) Poor voltage regulation (C) High energy loss in conductor (D) All of the above

Last Answer : The main disadvantages of having poor power factors are:  (A) High cost of station and distribution equipment (B) Poor voltage regulation (C) High energy loss in conductor (D) All of the above

Description : What are the disadvantages of the linear regulator? how are they overcome in the switching regulator? What is continuous and discontinuous mode switching regulator?

Last Answer : Disadvantages of the linear regulator: Linear regulator waste power in the form of heat. Linear regulator has very low efficiency. Linear regulator cannot be used for the step ... between continuous mode and discontinuous mode switching regulator.

Description : What are some disadvantages of hydroelectric power plant?

Last Answer : The disadvantages of the hydroelectric power plant are as follows :The hydroelectric power plant can be developed only where the large quantity of water is available. The hydroelectric ... civil engineering costs may be high.These are some disadvantages of the hydroelectric power plant.

Description : what are the disadvantages of thyristor?

Last Answer : Disadvantages of thyristor The silicon controlled rectifier (SCR) is unidirectional devices, so it can control power only in DC power during positive half cycle of AC supply. Thus only DC power is ... cycle. It cannot be used at higher frequencies. The gate current cannot be negative

Description : State the advantages of instrument transformer in using for extension of range of meters. 

Last Answer : Advantages of instrument transformer: 1. Extension of instrument range is possible. 2. Isolation of instruments from high voltage side. 3. Power loss is less as compared to shunts and multipliers. 4 ... measurement. 5. It is economical method of range extension. 6. Increases in safety of operator.

Description : If one uses his phone for reminders, will his memory worsen? I.O.W, if you don't use it, will you lose it?

Last Answer : No but you might turn in to this guy.

Description : Explain any four advantages of amorphous transformer.

Last Answer : Advantages of amorphous core transformer: 1) Lowest hysteresis loss. 2) Low eddy current loss. 3) Low temperature rise. 4) Up to 75% energy saving using amorphous metal than conventional metal. 5 ... capacity. 9) High Reliability. 10) Excellent short circuit capacity. 11) Less maintenance cost. 

Description : Are there any advantages to PVC windows?

Last Answer : Have you decided to change your windows to new ones and don't know where to start? Let's start with the fact that windows are a very important part of any house or apartment, thanks to ... Another thing you need to pay attention to when ordering is that the profile must meet all quality standards.

Description : What are the advantages of LED lamps?

Last Answer : What are the advantages of LED lamps? LED lamps have an advantage over fluorescent lamps in the first place in terms of environmental friendliness. Another reason for using LED lamps is ... advantages. Today, such lamps are used in everyday life, for industrial lighting and street lighting.

Description : State the four advantages of MIG welding.  

Last Answer : Four advantages of MIG welding: 1. High quality welds can be produced much faster. 2. Flux is not used there is no chance for the entrapment of slag in the weld metal resulting in high quality ... of metals and alloys. 5. Least expensive and highly economic. 6. Little or no post welds cleaning.

Description : State 2 advantages of JFET over BJT.

Last Answer : Advantages of JFET over BJT: 1) High input impedance 2) Better thermal stability 3) Produce less noise 4) Smaller than BJT 5) Rugged in construction and simpler to fabricate 6) High degree of isolation between Input and Output. 

Description : Advantages of LED over CFL.

Last Answer : Advantages of LED over CFL. 1) Efficiency: LED bulbs use close to a third of the amount of power CFL bulbs would use to produce the same amount of light. This makes them ... decorative to heavy duty industrial applications.  6) Maintenance: Smooth light and low maintenance compared to CFL

Description : State the advantages of use of high voltage in transmission of Electric power. 

Last Answer : Advantages: 1. As Transmission voltage increases, current decreases. 2. As current decreases, cross section of conductor decreases. 3. As cross section of conductor decreases, its ... high voltage transmission line, successful interconnection of transmission line is possible than low voltage. 

Description : State the advantages of SMPS.

Last Answer : Advantages of SMPS: 1. High Efficiency, more than 94%. 2. Easy maintenance and servicing. 3. High modularity and redundancy. 4. Lower power dissipation. 5. Wide AC input voltage range. 6. Less cost.

Description : State advantages of rotating field type alternators. 

Last Answer : Advantages of Rotating Field Type Alternator: 1) For high-voltage alternator, large space is required to accommodate conductors with insulation, as high voltage is induced in them. If field poles are placed ... is kept rotating. 8) Rotating field is comparatively light and can run with high speed. 

Description : State advantages of short pitch winding over full pitch winding in alternators. 

Last Answer : Advantages of Short Pitch Winding over Full Pitch Winding in Alternators: 1) Short pitching reduces the amount of copper needed for end connection when compared with full pitched coil. 2) They ... reduced, thereby increasing the efficiency. 4) The power quality of generated emf is improved.