摘要: .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 阅读全文
posted @ 2011-04-11 15:19 Andy_Boy 阅读(778) 评论(0) 推荐(0) 编辑
摘要: 这是弹出一个最简单的消息框:.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 阅读全文
posted @ 2011-04-11 14:48 Andy_Boy 阅读(417) 评论(0) 推荐(0) 编辑