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

正文內(nèi)容

微機(jī)原理與應(yīng)用實(shí)驗(yàn)手冊(cè)lzw-資料下載頁(yè)

2025-06-29 12:27本頁(yè)面
  

【正文】 21h pop ax sub al,30h and ax,0fh mov cl,12 shl ax,cl or si,axre2: mov ax,0 。輸入百位數(shù) int 16h cmp al,30h jb re2 cmp al,39h jg re2 push ax mov inbuf,al lea DX,inbuf mov AH,09h int 21h pop ax sub al,30h and ax,0fh mov cl,8 shl ax,cl or si,axre3: mov ax,0 。輸入十位數(shù) int 16h cmp al,30h jb re3 cmp al,39h jg re3 push ax mov inbuf,al lea DX,inbuf mov AH,09h int 21h pop ax sub al,30h and ax,0fh mov cl,4 shl ax,cl or si,axre4: mov ax,0 。輸入個(gè)位數(shù) int 16h cmp al,30h jb re4 cmp al,39h jg re4 push ax mov inbuf,al lea DX,inbuf mov AH,09h int 21h pop ax sub al,30h and ax,0fh or si,ax retinp endpEND Start 附錄III 。DOS 16位 實(shí)模式 EXE 程序.MODEL SMALL.8086。 堆棧段 .STACK 300H 。堆棧大小為 300H。 數(shù)據(jù)段 .DATA。 請(qǐng)?jiān)谙旅娑x變量 MESSAGE DB Wele to use AASM !$ L_MESSAGE EQU $MESSAGE p8255a EQU 288h p8255b EQU 289h p8255c EQU 28ah p8255 EQU 28bh xianshi db 0dh,0ah, ,0dh,0ah,$ asc1 db 30h,31h,32h,33h,34h,35h,36h,37h,38h,39h,41h,42h,43h,44h,45h,46h old0b dw 0,0 intnum dw 0 tishi1 db 0dh,0ah,Press Esc key to quit the program,0dh,0ah,$ tishi2 db 0dh,0ah,k0 k1 k2 k3 k4 k5 k6 k7 ,0dh,0ah,$ tishi3 db 0dh,0ah,1 1 1 1 1 1 1 1 ,0dh,0ah,$。 請(qǐng)?jiān)谏厦娑x變量 。 代碼段 .CODEStart: mov AX,@DATA mov DS,AX。 請(qǐng)將您的代碼寫(xiě)在下面 Main PROC FAR。調(diào)用不同子程序,實(shí)現(xiàn)不同的實(shí)驗(yàn)內(nèi)容 call main1 。實(shí)驗(yàn)內(nèi)容1的子程序。 call main2 。 實(shí)驗(yàn)內(nèi)容2的子程序 mov ah,07h int 21h mov AH,4ch int 21hMain ENDP。 ****************************************int0b proc far 。 中斷服務(wù)程序 push ax push bx push cx push dx push si push di push ds push es mov ax,@DATA mov ds,ax mov dx,p8255a in al,dx mov bx,2 mov cx,8ir2: mov tishi3[bx],30h test al,01 jz ir1 mov tishi3[bx],31hir1: add bx,3 shr al,1 loop ir2 lea DX,tishi3 mov AH,09h int 21h pop es pop ds pop di pop si pop dx pop cx pop bx mov al,20h out 20h,al pop ax sti iretint0b endp。 ****************************************xsax proc 。 顯示ax中的內(nèi)容 push ax mov AX,@DATA mov DS,AX pop ax push ax and al,0fh mov bx,offset asc1 xlat mov xianshi[9],al pop ax push ax and al,0f0h mov cl,4 shr al,cl mov bx,offset asc1 xlat mov xianshi[8],al pop ax push ax and ax,0f00h mov cl,8 shr ax,cl mov bx,offset asc1 xlat mov xianshi[7],al pop ax and ax,0f000h mov cl,12 shr ax,cl mov bx,offset asc1 xlat mov xianshi[6],al lea DX,xianshi mov AH,09h int 21h retxsax endp。 ****************************************main1 proc 。 實(shí)驗(yàn)一程序 lea DX,tishi1 mov AH,09h int 21h lea DX,tishi2 mov AH,09h int 21h mov al,90h mov dx,p8255 out dx,alrrr: mov DX,1901h mov bx,0 mov AH,02 int 10h lea DX,tishi3 mov AH,09h int 21h mov dx,p8255a in al,dx mov dx,p8255c out dx,al mov bx,2 mov cx,8rr2: mov tishi3[bx],30h test al,01 jz rr1 mov tishi3[bx],31hrr1: add bx,3 shr al,1 loop rr2 mov ax,100h int 16h jz rrr mov ax,00h int 16h cmp al,1bh jnz rrr push ds mov dx,offset old0b mov ax,old0b[2] mov ds,ax mov ax,250bh int 21h pop ds retmain1 endp。 ****************************************main2 proc 。 實(shí)驗(yàn)二程序 lea DX,tishi1 mov AH,09h int 21h lea DX,tishi2 mov AH,09h int 21h mov al,0b6h mov dx,p8255。 out dx,al。 mov al,13h。 out 20h,al。 mov al,8。 out 21h,al。 mov al,0dh。 out 21h,al。 mov al,0。 out 21h,al in al,21h and al,0f7h out 21h,al mov ah,35h mov al,0bh int 21h mov old0b,dx mov ax,es mov old0b[2],ax push ds mov ax,seg int0b mov ds,ax mov dx,offset int0b mov ax,250bh int 21h pop dsrrr2: mov ax,100h int 16h jz rrr2 mov ax,0 int 16h cmp al,1bh jnz rrr2 push ds mov dx,offset old0b mov ax,old0b[2] mov ds,ax mov ax,250bh int 21h pop ds retmain2 endp。 請(qǐng)將您的代碼寫(xiě)在上面 。END Start 附錄IV 。DOS 16位 實(shí)模式 EXE 程序.MODEL SMALL.8086。 堆棧段 .STACK 300H 。堆棧大小為 300H。 數(shù)據(jù)段 .DATA MESSAGE DB Wele to use AASM !$ L_MESSAGE EQU $MESSAGE p8259a EQU 20h p8259b EQU 21h xianshi db 0dh,0ah, ,0dh,0ah,$ asc1 db 30h,31h,32h,33h,34h,35h,36h,37h,38h,39h,41h,42h,43h,44h,45h,46h old0b dw 0,0 intnum dw 0。 代碼段 .CODEStart: mov AX,@DATA mov DS,AX。 請(qǐng)將您的代碼寫(xiě)在下面 Main PROC FAR mov ah,35h mov al,0bh 。串行口2中斷 int 21h mov old0b,dx mov ax,es mov old0b[2],ax
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1