王爽汇编语言 实验4

编程,向内存0:200~0:23F依次传送数据0~63(3FH)。程序中只能使用9条指令,9条指令中包括”mov ax, 4c00h"和"int 21h"。

        include io.inc
        .model small
        .stack
        .data
        .code
        .startup
        mov ax, 200h
        mov bx, 0
        mov cx, 3fh
        mov ds, ax
s:      mov [bx], bx
        inc bx
        loop s
        .exit 0
        end

猜你喜欢

转载自blog.csdn.net/lalala_HFUT/article/details/89811832