-
-
[旧帖] [原创]mov cs:0,cs:[bx] 这样写可以吗 0.00雪花
-
发表于: 2008-11-11 15:04 2900
-
assume cs:codesg
codesg segment
dw 0123h,0456h,0789h,0abch,0defh,0feah,0cbah,0987h
dw 0,0,0,0,0,0,0,0,0,0
start: mov ax,cs
mov ss,ax
mov sp,18
mov ax,0
mov ds,ax
mov bx,0
mov cx,8
s: push [bx]
mov cs:[0],cs:[bx]
add bx,2
loop s
mov ax,4c00h
int 21h
eodesg ends
emd start
codesg segment
dw 0123h,0456h,0789h,0abch,0defh,0feah,0cbah,0987h
dw 0,0,0,0,0,0,0,0,0,0
start: mov ax,cs
mov ss,ax
mov sp,18
mov ax,0
mov ds,ax
mov bx,0
mov cx,8
s: push [bx]
mov cs:[0],cs:[bx]
add bx,2
loop s
mov ax,4c00h
int 21h
eodesg ends
emd start
赞赏
他的文章
- [求助]会有这个可能性吗 大家分析一下 2117
- [求助]请问这是什么意思? 3022
- [原创]mov cs:0,cs:[bx] 这样写可以吗 2901
看原图
赞赏
雪币:
留言: