(6)assume cs:code
a segment
dw 1,2,3,4,5,6,7,8,9,0ah,0bh,0ch,0dh,0eh,0fh,0ffh
a ends
b segment
dw 0,0,0,0,0,0,0,0
b ends
code segment
start:mov ax,a
mov ds,ax
mov ax,b
mov ss,ax
mov sp,10h
mov bx,0
mov cx,8
s: push [bx]
inc bx
inc bx
loop s
mov ax,4c00h
int 21h
code ends
end start
- [fpamc] 天地皆阴阳…… 多数看得懂……但是不懂做…… 05/22 13:10
- [游客] 嗯,再重新看一遍,博主的学习应该扎实了不少。 10/05 12:53
- [tomato] 正确! 10/05 12:04
- [tomato] 正确! 10/05 12:04
- [tomato] 怎么两个loop s?是不是多写了一个? 10/05 10:46
- [musicvs] 恩恩~都对了 09/23 09:45
- [游客] 正确,第二题可以在学完中断那章之后明白! 09/19 15:25
- [游客] YES! 09/19 15:21
- [游客] 对! 09/19 15:21
- [游客] 对! 09/19 15:20