读取PCI配置空间的问题

proghua 2010-03-14 10:02:02
这段程序来自微机接口实验
.386	;386模式编译
mov ebx,080000000h
next:
add ebx,100h ;PCI总线配置空间容量为256个字节,及100H
cmp ebx,081000000h
jnz continue
mov dx,offset pcicardnotfind ;显示未找到tpc卡提示信息
mov ah,09h
int 21h
mov ah,4ch
int 21h ;退出

不明白之处在于mov ebx,080000000h,为什么是080000000h
...全文
186 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
xtdumpling 2010-03-14
  • 打赏
  • 举报
回复
看PCI规范
Bit 31 is an enable flag for determining when accesses
to CONFIG_DATA are to be translated to configuration transactions on the PCI bus.

Bit31为访问PCI配置空间的使能位.

21,458

社区成员

发帖
与我相关
我的任务
社区描述
汇编语言(Assembly Language)是任何一种用于电子计算机、微处理器、微控制器或其他可编程器件的低级语言,亦称为符号语言。
社区管理员
  • 汇编语言
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧