谢谢请指教

解决方案 »

  1.   

    好象是BIOS输入输出端口方面的吧,我都忘记了
      

  2.   

    对IO端口进行操作,比如扬声器,CMOS等
      

  3.   

    有,inportb,outportb 相当于ASM里的in  和out
    outportb 是向指定端口写一个字节,相同也有outportw() 写一个字
    inportb  ..从指定端口读一个字节,........inportw() 读一个字
    在MS C 中提供:int _outp(unsigned port,int abyte);
    unsigend _outpw(unsigned port,unsigend aword);
    _inp(unsigned port);
    _inpw(unsigned port);
    Broland提供:outportb,outportw,宏outpw,inportb,inportw,宏inpw