I/O Controller
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
I/O Controller

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Computer Architecture
Author Message
Computer Freak
Guest





Posted: Tue Dec 27, 2005 5:15 pm    Post subject: I/O Controller Reply with quote

On a typical microprocessor, a distinct I/O address is used to refer to
the I/O data registers and a distinct address for the control and
status registers in an I/O controller for a given device. Such
registers are refered to as ports. In intel 8088, two I/O instruction
formats are used. In one format, the 8-bit opcode specifies an dI/O
operation; this is followed by an 8-bit port address. Other I/O opcodes
imply that the port address is in the 16-bit DX register. How many
ports can the 8088 address in each I/O addressing mode???
Thank you!
Back to top
Eric P.
Guest





Posted: Tue Dec 27, 2005 5:15 pm    Post subject: Re: I/O Controller Reply with quote

Computer Freak wrote:
Quote:

On a typical microprocessor, a distinct I/O address is used to refer to
the I/O data registers and a distinct address for the control and
status registers in an I/O controller for a given device. Such
registers are refered to as ports. In intel 8088, two I/O instruction
formats are used. In one format, the 8-bit opcode specifies an dI/O
operation; this is followed by an 8-bit port address. Other I/O opcodes
imply that the port address is in the 16-bit DX register. How many
ports can the 8088 address in each I/O addressing mode???
Thank you!

If it is a serial port, then obviously just one at a time.
However on a parallel port, it can control up to 7 or 15
devices simultaneously (device 0 is reserved as the cpu id).

Eric
Back to top
Del Cecchi
Guest





Posted: Wed Dec 28, 2005 1:15 am    Post subject: Re: I/O Controller Reply with quote

"Computer Freak" <nivine.dalleh@gmail.com> wrote in message
news:1135692298.276122.236080@g49g2000cwa.googlegroups.com...
Quote:
On a typical microprocessor, a distinct I/O address is used to refer to
the I/O data registers and a distinct address for the control and
status registers in an I/O controller for a given device. Such
registers are refered to as ports. In intel 8088, two I/O instruction
formats are used. In one format, the 8-bit opcode specifies an dI/O
operation; this is followed by an 8-bit port address. Other I/O opcodes
imply that the port address is in the 16-bit DX register. How many
ports can the 8088 address in each I/O addressing mode???
Thank you!


In the former case, the processor can address 8 ports, one for each bit.
The ports are enabled by setting a bit corresponding to the port.

In the second case, which works much the same, 64 ports can be addressed.
The first byte on the bus selects one of eight groups of eight ports.
The second byte selects the port within the group.

del cecchi
Back to top
Peter Dickerson
Guest





Posted: Thu Dec 29, 2005 5:09 pm    Post subject: Re: I/O Controller Reply with quote

"Computer Freak" <nivine.dalleh@gmail.com> wrote in message
news:1135692298.276122.236080@g49g2000cwa.googlegroups.com...
Quote:
On a typical microprocessor, a distinct I/O address is used to refer to
the I/O data registers and a distinct address for the control and
status registers in an I/O controller for a given device. Such
registers are refered to as ports. In intel 8088, two I/O instruction
formats are used. In one format, the 8-bit opcode specifies an dI/O
operation; this is followed by an 8-bit port address. Other I/O opcodes
imply that the port address is in the 16-bit DX register. How many
ports can the 8088 address in each I/O addressing mode???
Thank you!

This is a trick question. Obviously each addressing mode addresses one port.

P
Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Computer Architecture All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB