谨以此作为汇编学习之路也是大学成长之路上的一个小小纪念。
assume cs:codeseg,ds:dataseg
dataseg segment
db 'Hello World'
dataseg ends
codeseg segment
start: mov ax,dataseg
mov ds,ax
mov bx,0
mov ax,0B800H
mov es,ax
mov si,0F20H
mov cx,11
f: mov al,[bx]
mov es:[bx],al
inc si
mov al,02H
mov es:[bx],al
inc bx
inc si
loop f
mov ax,4C00H
int 21H
codeseg ends
end start