25 views
in Unit 3 by
Explain the advantages and disadvantages of using memory I/O and standard I/O.

Your answer

Thanks for your contribution. Feel free to answer this question. Please avoid short answer. Your answer is most welcome. Be genuine.

Upload image or document:

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
Are you a robot ? (Y = Yes / N = No)
To avoid this verification in future, please log in or register.

1 Answer

0 votes
by

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

1 answer 5 views

State the advantages and disadvantages of hydroelectric power plant.

asked Sep 8, 2018 by Shimroz123
0 answers 40 views

What are the advantages and disadvantages of automation?

asked Mar 10, 2018 in Control System by Quiz
1 answer 45 views

What are the advantages and disadvantages of tidal power?

asked Dec 19, 2017 in Renewable energy sources by Quiz
2 answers 54 views

What are the advantages and disadvantages of wave energy?

asked Dec 19, 2017 in Renewable energy sources by Quiz
1 answer 43 views

What are the advantages and disadvantages of solar energy?

asked Dec 19, 2017 in Renewable energy sources by Quiz
3 answers 18 views

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

asked Sep 8, 2018 by Shimroz123
2 answers 27 views

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

asked Sep 7, 2018 by Shimroz123
2 answers 16 views

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

asked Sep 7, 2018 by Shimroz123
1 answer 12 views

Write advantages and disadvantages of positive and negative feedback.

asked Sep 5, 2018 by Shimroz123
1 answer 223 views

Explain memory write ability and storage permanence with suitable diagram.

asked Mar 24, 2018 in Unit 3 by Quiz
1 answer 57 views

Explain memory hierarchy.

asked Mar 26, 2018 in Unit 3 by Quiz
1 answer 69 views

What are the disadvantages of using solar energy?

asked Dec 19, 2017 in Renewable energy sources by Quiz
1 answer 38 views

Calculate the size of memory address space for a 16 bit data and 20 bit address bus. A) 1 MB B) 2 MB C) 3 MB D) 4 MB

asked Jun 18, 2018 in Electronics Engineering by Shimroz123
1 answer 6 views

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

asked Sep 6, 2018 by Shimroz123
1 answer 36 views

What are the advantages of using Linux?

asked Dec 16, 2017 in Embedded System Design by Quiz
1 answer 28 views

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

asked Apr 26, 2018 in Control System by Shimroz123
1 answer 85 views

The average time required to reach a storage location in the memory to read or retrieve the contents of memory is called as A) Turnaround time B) Latency time C) Access time D) Response time

asked Jun 18, 2018 in Electronics Engineering by Shimroz123
1 answer 35 views

What is the size of memory which can be accessed by direct accessing in 8085 microprocessor? A) 64 kB B) 4 kB C) 128 kB D) 128 MB 

asked Jun 18, 2018 in Microprocessors and Microcontrollers by Shimroz123
2 answers 61 views

Standard Commands for Programmable Instruments (SCPI)

asked Aug 25, 2017 in Digital Instrumentation by Zeeshan
2 answers 15 views

Draw and explain temperature measurement using RTD. State its advantages and disadvantages.

asked Sep 12, 2018 by Shimroz123
1 answer 24 views

Explain any four advantages of amorphous transformer.

asked Sep 22, 2018 in Energy Conservation And Audit by Shimroz123
1 answer 9 views

What are the disadvantages of Open loop control system?

asked Jul 4 by Shimroz123
1 answer 22 views

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

asked May 8, 2018 in Switchgear And Protection by Shimroz123
1 answer 37 views

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

asked Feb 11, 2018 in Unit 2 by Quiz
2 answers 201 views

what are the disadvantages of thyristor?

asked Dec 6, 2017 in Power Electronics by Quiz
1 answer 20 views

A material for good magnetic memory should have?

asked Mar 25, 2018 in Electrical Engineering by Shimroz123
1 answer 331 views

EEPROM VS FLASH MEMORY

asked Aug 9, 2017 in Embedded System Design by Zeeshan
1 answer 10 views

Write any two disadvantages of hydro power plant.

asked Sep 7, 2018 by Shimroz123
1 answer 6 views

Write any two disadvantages of ammeter shunts.

asked Sep 6, 2018 by Shimroz123
1 answer 73 views

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

asked Sep 6, 2018 by Shimroz123
1 answer 28 views

What are some disadvantages of hydroelectric power plant?

asked Dec 19, 2017 in Renewable energy sources by Quiz
0 answers 19 views

Explain space vector transformation and space vector switching with the help of diagram. What are the advantages of SVM?

asked Mar 10, 2018 in Power Electronics by Quiz
1 answer 12 views

In 8085 microprocessor with memory mapped I/O which of the following is true?  (1) I/O devices have 16 bit addresses (2) I/O devices are accessed during IN and OUT instructions (3) There can be a maximum of 256 input and 256 output devices (4) Logic operations can not be performed

asked Apr 9, 2018 in Electronics Engineering by Shimroz123
1 answer 6 views

List the advantages of RC coupled amplifier.

asked Sep 4, 2018 by Shimroz123
0 answers 50 views

What are the advantages of DC series motor?

asked Mar 15, 2018 in Electrical Engineering by Quiz
1 answer 42 views

What are the advantages of CMOS over NMOS?

asked Mar 11, 2018 in VLSI Design by Quiz
1 answer 35 views

What are the advantages of a digital signal?

asked Mar 10, 2018 in Digital Signal Processing by Quiz
1 answer 29 views

What are the advantages of open loop control system?

asked Mar 10, 2018 in Control System by Quiz
0 answers 329 views

What are the advantages of high voltage transmission?

asked Mar 10, 2018 in High voltage engineering by Quiz
0 answers 28 views

What are the advantages of an interconnected system?

asked Mar 10, 2018 in Advanced electrical power system by Quiz
2 answers 157 views

What are the advantages of hydroelectric power?

asked Dec 19, 2017 in Renewable energy sources by Quiz
3 answers 16 views

Draw and explain the working principle of ultrasonic level measurement system. Also give advantages, disadvantages and applications of it.

asked Sep 12, 2018 by Shimroz123
1 answer 26 views

Explain how a Programmable Logic Controller (PLC) is different from an ordinary personal computer. Also write the advantages and disadvantages of PLC.

asked Sep 2, 2018 by Shimroz123
1 answer 105 views

The microprocessor can read/write 16 bit data from or to ________ A. memory B. I /O device C. processor D. register

asked Sep 28, 2018 in Microprocessors and Microcontrollers by Shimroz123

Welcome to electronics2electrical.com here you can ask questions related to electrical, electronics, mechanical, telecommunication, instrumentation, computer, mathematics, physics etc.
Be respectful to all the members. Do not copy and paste the answers from other websites which have copyright content. While asking question give full details about it.

Categories

Most popular tags

power motor dc circuit transformer voltage current used system phase resistance factor synchronous load ac energy induction electric generator series frequency between speed capacitor use electrical meter line difference control type mosfet transmission magnetic plant high single instrument bjt unit source advantages function diode and machine winding field define torque parallel amplifier supply shunt thyristor motors electricity arduino maximum time relay armature problem value on transformers types coil diagram state flow ratio material three formula starting direction theorem method emf operating efficiency digital wave microprocessor test instruments inductance loss measure operation connected signal low applications effect single-phase network temperature working constant losses different law wattmeter measuring compare controlled breaker drive device logic rc full switch flux wire resistivity disadvantages free of materials machines angle force converter conductor transistor gain open protection scr core measurement number bridge principle generators reactance circuits negative the friction iron loop short pole battery conservation steam resistors hysteresis computer using analog lines secondary station gate a rectifier inverter linear induced relays nuclear capacitance basic characteristics design direct work rotor electronics ammeter forces diesel damping rlc connection factors capacitors minimum insulation moving regulation running self systems air fault range main stability quality starter igbt eddy alternator ideal rl average 3-phase plants arc thermal error fuzzy biasing dielectric pressure balanced superposition errors copper rotation feedback impedance measured electronic electrons charge inductive transfer explain start off back curve over solar is three-phase tariff locomotive peak bias zener engineering commutator surge conductors rating universal potentiometer density permanent mechanical transducer capacity memory adc excitation two fuse pure harmonics application semiconductor inductor internal pmmc reaction welding resonance traction permeability breakers rms designed electromagnetic si generation brushes switching capacitive shaded rate 1 distribution resistor methods delta star oscillator reluctance simplification algebra 8085 boolean weston dynamometer insulating strength installation definition fuel heating earth units

8,530 questions

7,130 answers

135 comments

3,090 users

...