建立一個(gè)01.asm文件。文件鍵入如下內(nèi)容:assume cs:codesgcodesg segment
start: mov ax,0123h mov bx,0456h add ax,bx add ax,ax
mov ax,4c00h int 21h
codesg endsend然后鍵入 masm 01;link 01;記住一定鍵入分號(hào),調(diào)試 debug 01.exe-u反匯編-t單步執(zhí)行-t看到int21 -p停止
posted on 2008-06-17 07:55 AlanTop 閱讀(225) 評(píng)論(0) 編輯 收藏 引用
Powered by: C++博客 Copyright © AlanTop