摘要:
.386.model flat,stdcalloption casemap:noneinclude windows.incinclude kernel32.incinclude user32.incincludelib kernel32.libincludelib user32.lib.data szCaption db 'Show resolution ratio',0 szMetrics db 'Screen Resolution Ration: %dx%d',0.data? metricsx dd ? metricsy dd ? szBuffer db 5 阅读全文
摘要:
这是弹出一个最简单的消息框:.model flat,stdcalloption casemap:noneinclude windows.incinclude kernel32.incinclude user32.incincludelib kernel32.libincludelib user32.lib.data szCaption db 44h,6ch,67h,4dh,73h,67h,0;此处用十六进制的ASCII码表示DlgMsg szText db 'Hello win32 asm!',0.code main proc invoke MessageBox,NULL,ad 阅读全文