showmem.asm

来自「独孤剑客 ASM Source Code 1998-2001 for DOS」· 汇编 代码 · 共 30 行

ASM
30
字号
code    segment
        org     100h
        assume  cs:code
Start:  mov     ax,0a000h
        mov     es,ax
        mov     ax,0012h
        int     10h
        mov     ax,0
Loop0:
        mov     ds,ax
        mov     si,0
        mov     di,0
        mov     cx,80*480
        cld
        repnz   movsb
        add     ax,10
;       inc     ax
        push    ax
        mov     ah,01h
        int     16h
        pop     ax
        jz      Loop0

        mov     ax,0003h
        int     10h
        mov     ah,4ch
        int     21h
code    ends
        end     Start

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?