请输入您要查询的百科知识:

 

词条 outportb
释义

函数名: outportb

功 能: 输出字节到硬件端口中

用 法: void outportb(int port, char byte);

程序例:

#include <stdio.h>

#include <dos.h>

int main(void)

{

int value = 64;

int port = 0;

outportb(port, value);

printf("Value %d sent to port number %d\", value, port);

return 0;

}

随便看

 

百科全书收录4421916条中文百科知识,基本涵盖了大多数领域的百科知识,是一部内容开放、自由的电子版百科全书。

 

Copyright © 2004-2023 Cnenc.net All Rights Reserved
更新时间:2025/3/1 21:17:00