继续说invoke伪指令
                                                            生活随笔
收集整理的這篇文章主要介紹了
                                继续说invoke伪指令
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.                        
                                
                            
                            
                            	
.data ;數據段
titleS		db	'helloworld',0
messageS	db	'hello,welcome to win32',0.code ;代碼段
start:
invoke	MessageBox,NULL,offset messageS,offset titleS,MB_OK
invoke	ExitProcess,NULL
end start
 
MASM編譯下邊invoke 會把參數從右向左入棧并調用CALLinvoke MessageBox,NULL,offset messageS,offset titleS,MB_OK那么這條語句用純匯編寫 如下: 
.data ;數據段
titleS		db	'helloworld',0
messageS	db	'hello,welcome to win32',0.code
start:mov eax ,offset titleS    mov ebx ,offset messageS   push MB_OK          ;將參數依次入棧push eaxpush ebxpush NULLcall MessageBox    ;調用MessageBox函數invoke	ExitProcess,NULLend	start
                            
                        
                        
                        總結
以上是生活随笔為你收集整理的继续说invoke伪指令的全部內容,希望文章能夠幫你解決所遇到的問題。
 
                            
                        - 上一篇: 条件转移指令和无条件转移指令练习
- 下一篇: 外贸盒x96x6pro质量如何
