汇编语言(王爽第三版)检测点9.2
(2017-04-18 16:11:59)
标签:
汇编王爽it教育 |
分类: 汇编语言(王爽第三版)检测点 |
检测点9.2
assume cs:code
code segment
start: mov ax,2000h
mov ds,ax
mov bx,0
s:
jmp short s
ok: mov dx,bx
mov ax ,4c00h
int 21h code ends
end start
assume cs:code
code segment
start:
mov ax,2000h
mov ds,ax
mov bx,0
,[bx] s: mov cl
, 0 mov ch
jcxz ok
inc bx
jmp short s
ok: mov dx,bx
mov ax ,4c00h
int 21h code ends
end start