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

正文內(nèi)容

微機原理與接口技術課程設計--四則運算(文件)

2025-02-05 15:00 上一頁面

下一頁面
 

【正文】 r1和Number2的數(shù)值 mov bh,0 mov dx,040ah int 10h mov bx,offset Number1 call GetInterger mov ah,2 mov bh,0 mov dx,060ah int 10h mov bx,offset Number2 call GetInterger call AddInterger push ax mov ah,2 mov bh,0 mov dx,080ah int 10h pop ax call OutInterger pop dx pop cx pop bx pop ax retReloadExe endp。 39。參數(shù):無。 39。 39。 int 21h pop ax sub ax,1 not ax r3:xor cx,cx r4:xor dx,dx push bx mov bx,10 div bx pop bx add dl,30h push dx inc cx cmp ax,0 jnz r4 mov ah,2 r5:pop dx int 21h loop r5 pop dx pop cx retOutInterger endp?!禣utInterger》。039。《GetInterger》。返回:endaxMulInterger proc near push si push bx lea si,Number1 mov ax,[si] lea si,Number2 mov bx,[si] mul bx pop bx pop si retMulInterger endp。參數(shù):無?!禔ddInterger》。ShowMouse int 33h mov ax,0ffffh false: retMouseInit endp。返回:ax=0h false。點中按鈕4并放開左鍵 mov cx,0d1eh mov dx,1024h call DrawRect mov bh,0f1h dec ch dec cl dec dh dec dl call DrawRect mov ah,2 mov bh,0 mov dx,0e1fh int 10h mov ah,9 mov dx,offset Menu4 int 21h call DivInterger call CleanFinally call OutInterger jmp regetMouseState1 btn5:。點中按鈕4,設置bx=4 push bx mov bh,8fh mov cx,0c1dh mov dx,0f23h call DrawRect mov bh,0f1h inc ch inc cl inc dh inc dl call DrawRect mov ah,2 mov bh,0 mov dx,0f20h int 10h mov ah,9 mov dx,offset Menu4 int 21h jmp regetMouseState2 regetMouseState2:call GetMouse cmp bx,0 jne regetMouseState2 pop bx cmp bx,1 je btn1 cmp bx,2 je btn2 cmp bx,3 je btn3 cmp bx,4 je btn4 cmp bx,5 je btn5 jmp regetMouseState1 btn1:mov bh,01h。點中按鈕外圍,設置bx=0 push bx jmp regetMouseState2 button1:mov bx,1。點中按鈕外圍,設置bx=0 push bx jmp regetMouseState2 n2:mov ax,cx mov cl,9 div cl cmp ah,2 jae n3 mov bx,0。點中按鈕外圍,設置bx=0 push bx jmp regetMouseState2 m2:mov ax,cx cmp cx,2h jae m3 mov bx,0。參數(shù):si?!禗rawRect》?!禨howMainWindow》。 Number1 dw 0 Number2 dw 0 data endsstack segment dw 512 dup(0)stack endscode segment 。 ErrorString db 39。 Menu5 db 39。 Menu4 db 39。 Menu3 db 39。 Menu2 db 39。 Menu1 db 39。 String3 db 39。 String2 db 39。 String1 db 39。附錄data segment Notice db 39。不能進行小數(shù)運算,加減乘除都不能進行小數(shù)的運算。這次的課程設計老師給我們降低了難度,只要能進行加減乘除四則運算就行了。心得體會 設計體會 我們這學期初步地學習了匯編語言程序設計,一開始覺得該門課程相對于C語言比較難,匯編語言是利用一個又一個寄存器來實現(xiàn)。返回:光標位置Finally輸出框CleanFinally proc near push ax push bx push cx push dx mov ah,2 mov bh,0 mov dx,080ah int 10h mov cx,6 mov dl,’ ‘ clean:int 21h loop clean mov dx,080ah int 10h pop dx pop cx pop bx pop ax retCleanFinally endpcode ends end start程序調試 運行界面分析加法運算:減法運算: 乘法運算: 除法運算: 調試過程與分析 進行運算首先是進行加法運算,運算玩呈現(xiàn)的是加法運算的結果。返回:interger[bx] 。參數(shù):無?!禡ulInterger》。初始化窗口模式 int 10h mov bh,8fh xor cx,cx mov dx,1827h call DrawRect mov bh,0fh mov cx,202h mov dx,0a27h call DrawRect int 10h mov ah,9 mov dx,offset String1 int 21h mov ah,2 mov dx,0602h int 10h
點擊復制文檔內(nèi)容
范文總結相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1