[C] 输出字节到硬件端口中 →→→→→进入此内容的聊天室

来自 , 2019-10-16, 写在 C, 查看 109 次.
URL http://www.code666.cn/view/5b8e4fd3
  1. #include <stdio.h>
  2. #include <dos.h>
  3.  
  4. int main(void)
  5. {
  6.    int value = 64;
  7.    int port = 0;
  8.  
  9.    outportb(port, value);
  10.    printf("Value %d sent to port number %d\n", value, port);
  11.    return 0;
  12. }
  13.  

回复 " 输出字节到硬件端口中"

这儿你可以回复上面这条便签

captcha