1.Memory mapped:
•A Memory Map is the processor's "address book."
•It shows what these devices look like to the processor.
•The memory map contains one entry for each of the memories and peripherals that are accessible from the processor's memory space.
2.I/O mapped I/O:
•Port-mapped I/O often uses a special class of CPU instructions designed specifically for performing I/O, such as the IN and OUT instructions found on microprocessors based on the x86 andx86-64 architectures.
•These two instructions can copy one, two or four bytes (outb, outw, outl) between the EAX register or one of that register's subdivisions on the CPU and a specified I/O port which is assigned to an I/O device.
•I/O devices have a separate address space from general memory, either accomplished by an extra "I/O" pin on the CPU's physical interface, or an entire bus dedicated to I/O.
•A Memory Map is the processor's "address book."
•It shows what these devices look like to the processor.
•The memory map contains one entry for each of the memories and peripherals that are accessible from the processor's memory space.
2.I/O mapped I/O:
•Port-mapped I/O often uses a special class of CPU instructions designed specifically for performing I/O, such as the IN and OUT instructions found on microprocessors based on the x86 andx86-64 architectures.
•These two instructions can copy one, two or four bytes (outb, outw, outl) between the EAX register or one of that register's subdivisions on the CPU and a specified I/O port which is assigned to an I/O device.
•I/O devices have a separate address space from general memory, either accomplished by an extra "I/O" pin on the CPU's physical interface, or an entire bus dedicated to I/O.
Comments
Post a Comment