lt307.asm
来自「钱晓杰汇编语言的很多例子 非常经典 我从微辅网上下载的 希望对大家有用」· 汇编 代码 · 共 24 行
ASM
24 行
;lt307.asm
dseg segment word public 'data'
org 100h
dw 200 dup(?)
topsp equ this word
array dw 100 dup(5868h)
dseg ends
cseg segment 'code'
assume cs:cseg,ds:dseg,ss:dseg
start: mov ax,dseg
mov ds,ax
mov ss,ax
mov sp,offset topsp
mov cx,100
xor si,si
again: push array[si]
inc si
inc si
loop again
mov ah,4ch
int 21h
cseg ends
end start
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?