Bilal Maqsood Bilal Maqsood - 2 months ago 20
C Question

What is difference between inportb() and inport() function?

I've newly started learning

System Programming
. I got confused with these two functions. could any one tell me what are the differences between these Functions

inportb()
and
inport()


outportb()
and
outport()

??

Answer

inportb() and outportb() are macros. Plus, outportb() accepts an int port and a char byte whereas outport() has int port and int word as parameters.

Please see this link for some more details.

Comments