Other methods of implementing inl/outl
Posted: Fri Aug 19, 2011 12:06 pm
Hi,
Sometimes do you need to output more then a byte (e.g. when you configure PCI). Now you can use the Pentium i386+ 'outsd' instruction to archive that. Now is my question, are there other ways to archive that data output? Could you do 4 consecutive outb's, or does the CPU expect the data at once and not in several shots? Or is that defined by the device listening to the specific port (I mean, some device could be waiting until the buffer is full, and some other just return an error or something)..
Greets,
Bietje
Sometimes do you need to output more then a byte (e.g. when you configure PCI). Now you can use the Pentium i386+ 'outsd' instruction to archive that. Now is my question, are there other ways to archive that data output? Could you do 4 consecutive outb's, or does the CPU expect the data at once and not in several shots? Or is that defined by the device listening to the specific port (I mean, some device could be waiting until the buffer is full, and some other just return an error or something)..
Greets,
Bietje