數據段和代碼段沒有分開,怎麼設置IP,彙編程序怎麼寫?

如果程序沒有分段,例如沒有單獨的數據段,數據就在代碼段的最開始。 assume cs:code code segment dw 0123h,0456h,0789h mov bx,0 mov ax,0 mov cx,3 s: add ax,cs:[bx] add bx,2 loop s mov ax, 4c00h int 31h code ends end dw :define word, 程序剛開
相關文章
相關標籤/搜索