?? 時(shí)間顯示.asm
字號(hào):
include Irvine32.inc
.data
time byte "time:",0
output byte "in order to output 3:45:33",0
.code
main proc
mov edx,offset output
call writestring
call crlf
mov edx,offset time
call writestring
mov eax,0
mov dx,0011101101100001b
mov al,dh
ror al,4
and al,00001111b
.if al<13
call writedec
mov al,'-'
call writechar
.elseif al>12
exit
.endif
mov ax,dx
ror ax,6
mov ah,0
and al,00111111b
.if al<61
call writedec
mov al,'-'
call writechar
.elseif al>60
exit
.endif
mov eax,0
mov al,dl
and al,00111111b
.if al<61
call writedec
.elseif al>60
exit
.endif
exit
main endp
end main
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -