freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內容

微機原理與接口技術實驗講義-資料下載頁

2025-06-07 00:09本頁面
  

【正文】 。檢查是否為memory基址信息 mov eax,dword ptr memory_base_address and eax,0fffffff0h mov dword ptr memory_base_address,eax 。去除memory指示位并保存 mov dx,io_port_addre mov eax,ebx add eax,3ch out dx,eax 。寫地址口 mov dx,io_port_data in eax,dx 。讀數(shù)據口 and eax,0ffh mov word ptr interrupt_line,ax 。去除interrupt其它指示位并保存 mov dx,offset io9054baseaddress 。顯示i/o提示信息 mov ah,09h int 21h mov ax,word ptr io_9054base_address call disp 。顯示i/o基地址 mov dx,offset iobaseaddress 。顯示i/o提示信息 mov ah,09h int 21h mov ax,word ptr io_base_address call disp 。顯示i/o基地址 mov dx,offset memorybaseaddress 。顯示memory提示信息 mov ah,09h int 21h mov ax,word ptr memory_base_address+2 call disp 。顯示memory基地址高16位 mov ax,word ptr memory_base_address shr ax,16 call disp 。顯示memory基地址低16位 mov dx,offset intnumber 。顯示interrupt提示信息 mov ah,09h int 21h mov ax,word ptr interrupt_line call disp 。顯示interrupt號 mov dx,offset enter_return 。加回車符,換行符 mov ah,09h int 21h mov ah,4ch int 21h 。退出disp proc near 。顯示子程序 push dx push cx push bx mov cx,4 mov bx,16loop1: push ax push cx sub bx,4 mov cx,bx shr ax,cl and al,0fh 。首先取低四位 mov dl,al cmp dl,9 。判斷是否=9 jle num 。若是則為39。039。39。939。,ASCII碼加30H add dl,7 。否則為39。A39。39。F39。,ASCII碼加37Hnum: add dl,30h mov ah,02h 。顯示 int 21h pop cx pop ax loop loop1 pop bx pop cx pop dx ret 。子程序返回disp endp code ends end start附錄二 中斷方式讀PCI配置空間的參考程序:。386以上微機適用。win9x/me/dos下可以用。tasm611或以上編譯。***********************。* PCI端口讀 *。* PCI BIOS INT 方式讀 *。***********************。data segmentio_plx_device_id equ 05406h 。TPC卡設備IDio_plx_vendor_id equ 010b5h 。TPC卡廠商IDIO_PLX_SUB_ID EQU 0905410B5H 。TPC卡子設備及廠商IDio_9054base_address db 4 DUP(0) 。TPC卡9054芯片I/O基地址暫存空間io_base_address db 4 DUP(0) 。TPC卡I/O基地址暫存空間memory_base_address db 4 DUP(0) 。TPC卡MEMORY基地址暫存空間interrupt_line db 2 DUP(0) 。TPC卡中斷號暫存空間pcicardnotfind db 0dh,0ah,39。TPC pci card not find or address/interrupt error !!!39。,0dh,0ah,39。$39。io9054baseaddress db 0dh,0ah,39。TPC pci card 9054 Chip I/O Base Address : 39。,39。$39。iobaseaddress db 0dh,0ah,39。TPC pci card I/O Base Address : 39。,39。$39。memorybaseaddress db 0dh,0ah,39。TPC pci card Memory Base Address : 39。,39。$39。intnumber db 0dh,0ah,39。TPC pci card Interrupt Line : 39。,39。$39。enter_return db 0dh,0ah,39。$39。data endsstacks segment db 100 dup(?)stacks endscode segment assume cs:code,ds:data,es:data,ss:stacksstart:.386 。386模式編譯 mov ax,data mov ds,ax mov es,ax mov ax,stacks mov ss,ax call findtpc 。查找TPC卡資源并顯示 mov ax,4c00h int 21h 。退出findtpc proc near 。查找TPC卡資源并顯示 pushad pushfd MOV AX,0B101H INT 1AH JC findtpc_notfind 。檢查PCI BIOS是否存在 MOV AX,0B102H MOV CX,io_plx_device_id MOV DX,io_plx_vendor_id MOV SI,0 INT 1AH JC findtpc_notfind 。檢查TPC卡是否安裝,設備號、廠商號 MOV AX,0B10AH MOV DI,02CH INT 1AH JC findtpc_notfind CMP ECX,IO_PLX_SUB_ID JNZ findtpc_notfind 。檢查TPC卡是否安裝,子設備號、廠商號 MOV AX,0B10AH MOV DI,14H INT 1AH JC findtpc_notfind 。讀TPC卡9054芯片I/O基址信息 mov dword ptr io_9054base_address,ecx and ecx,1 jz findtpc_notfind 。檢查是否為i/o基址信息 mov ecx,dword ptr io_9054base_address and ecx,0fffffffeh mov dword ptr io_9054base_address,ecx 。去除i/o指示位并保存 MOV AX,0B10AH MOV DI,18H INT 1AH JC findtpc_notfind 。讀TPC卡I/O基址信息 mov dword ptr io_base_address,ecx and ecx,1 jz findtpc_notfind 。檢查是否為i/o基址信息 mov ecx,dword ptr io_base_address and ecx,0fffffffeh mov dword ptr io_base_address,ecx 。去除i/o指示位并保存 MOV AX,0B10AH MOV DI,1CH INT 1AH JC findtpc_notfind 。讀TPC卡MEMORY基址信息 mov dword ptr memory_base_address,ecx and ecx,1h jnz findtpc_notfind 。檢查是否為memory基址信息 mov ecx,dword ptr memory_base_address and ecx,0fffffff0h mov dword ptr memory_base_address,ecx 。去除memory指示位并保存 MOV AX,0B10AH MOV DI,3CH INT 1AH JC findtpc_notfind 。讀TPC卡中斷信息 and cx,0ffh mov word ptr interrupt_line,cx 。去除interrupt其它指示位并保存 mov dx,offset io9054baseaddress 。顯示i/o提示信息 mov ah,09h int 21h mov ax,word ptr io_9054base_address call dispword 。顯示i/o基地址 mov dx,offset iobaseaddress 。顯示i/o提示信息 mov ah,09h int 21h mov ax,word ptr io_base_address call dispword 。顯示i/o基地址 mov dx,offset memorybaseaddress 。顯示memory提示信息 mov ah,09h int 21h mov ax,word ptr memory_base_address+2 call dispword 。顯示memory基地址高16位 mov ax,word ptr memory_base_address shr ax,16 call dispword 。顯示memory基地址低16位 mov dx,offset intnumber 。顯示interrupt提示信息 mov ah,09h int 21h mov ax,word ptr interrupt_line call dispword 。顯示中斷號 mov dx,offset enter_return 。加回車符,換行符 mov ah,09h int 21h popfd popad retfindtpc_notfind: mov dx,offset pcicardnotfind 。顯示未找到tpc卡提示信息 mov ah,09h int 21h mov ax,4c00h int 21h 。退出findtpc endpdispword proc near 。顯示子程序 push dx push cx push bx mov cx,4 mov bx,16dispword_loop1: push ax push cx sub bx,4 mov cx,bx shr ax,cl and al,0fh 。首先取低四位 mov dl,al cmp dl,9 。判斷是否=9 jle dispword_num 。若是則為39。039。39。939。,ASCII碼加30H add dl,7 。否則為39。A39。39。F39。,ASCII碼加37Hdispword_num: add dl,30h mov ah,02h 。顯示 int 21h pop cx pop ax loop dispword_loop1 pop bx pop cx pop dx ret 。子程序返回dispword endpcode endsend start
點擊復制文檔內容
公司管理相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1