刚刚找了金山奶爸,还剩下一个问题,为什么out前面加了下划线就过了呢?告诉了大大的有赏滴干活...
I have not failed completely
assume cs:code , es:data , ss:stack data segment db 'welcome to masm!' data ends stack segment dw 8 dup (0) code segment start: mov ax,0b800h mov ds,ax mov ax,data mov es,ax mov bx,0 mov si,40h mov cx,16 mov ah,00000010b call print mov ah,00100100b call print mov ah,01111001b call print mov ax,4c00h int 21h print: push bx push si push cx go: mov al,es:[bx] mov ds:0f00h[si],al mov byte ptr ds:0f00h[si+1],ah add si,2 inc bx loop go pop cx pop si add si,00A0h pop bx ret code ends end start