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

正文內(nèi)容

微機原理與匯編語言課程設(shè)計-多功能定時器設(shè)計(編輯修改稿)

2025-07-07 22:52 本頁面
 

【文章內(nèi)容簡介】 表 freq0 dw 262,294,330,262 dw 330,349,392 dw 392,440,392,349,330,262 dw 294,196,262 time0 dw 1600,800,800,1600 dw 400,400,400,400,800,800 dw 800,800,1600 。兩只老虎音樂 menu db 39。 ***************ELECTRONIC CLOCK*************** 39。,0ah,0dh db 39。 a to change the time 1224 ! 39。,0ah,0dh db 39。 39。,0ah,0dh db 39。 c to edit the alarm time ! (press s to stop)39。,0ah,0dh db 39。 39。,0ah,0dh db 39。 x to edit the final countdown !(press s to stop) 39。,0ah,0dh db 39。 39。,0ah,0dh db 39。 Q ~ t to change color !39。,0ah,0dh db 39。 39。,0ah,0dh db 39。 b to reset39。,0ah,0dh db 39。 39。,0ah,0dh db 39。 ESC to exit39。,0ah,0dh,39。$39。 tc db 39。Please input the alarmtime (hh:mm:ss):39。,39。$39。 tc_buff db 40 db ? db 40 dup (?) temp_h db ? temp_m db ? temp_s db ? tx db 39。Please input the final countdown time(0099):39。,39。$39。 tx_buff db 40 db ? db 40 dup (?) txtemp db ? msg db 39。Current time is: 39。 time_h db ?,? db 39。:39。 time_m db ?,? db 39。:39。 time_s db ?,?,0,0 hours db ? seconds db 0 flag1 db 0 flag2 db 0 flag3 db 0 oldint1c dd ? newint1c proc push ax push bx push cx push dx push si push di push es cmp flag1,01h jnz acd call showtxtemp acd: mov ax,0200h 。獲取系統(tǒng)時間, ch→hours cl→minutes DH→seconds,均為 BCD碼格式 int 1ah mov hours,ch 。把小時送到 hours中,以防變換 12和 24進制后出現(xiàn)異常 cmp flag2,01h jnz notchg cmp ch,12h jc notchg mov al,ch pushf sub al,12h das popf mov ch,al notchg: cmp flag1,01h 。判斷是 否開始倒計時 jnz notdo cmp dh,seconds jz notdo mov seconds,dh cmp txtemp,0h jz notdo mov al,txtemp pushf sub al,01h das mov txtemp,al popf notdo: mov al,ch lea si,time_h call bcd mov al,cl lea si,time_m call bcd mov al,dh lea si,time_s call bcd mov ax,0b800h 。顯存地址 采用直接寫顯存的方法輸出字符 mov es,ax 。es:di 指向顯存地址 mov di,160*12+108d lea si,msg disp: mov al,cs:[si] inc si or al,al jz disp0 。cs=ds cld stosb inc di 。將 cs:si指向的一個字節(jié)傳送到 es:di jmp disp disp0: pop es pop di pop si pop dx pop cx pop bx pop ax jmp cs:oldint1c 。新 1CH中斷的事情做完后調(diào)用原 來的 1CH中斷 iret 。中斷返回 bcd: mov ah,al shr ah,1 shr ah,1 shr ah,1 shr ah,1 and al,0fh add ax,39。0039。 xchg ah,al mov cs:[si],ax ret newint1c endp 。中斷結(jié)束 showtxtemp proc push ax push es push di p
點擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1