str.asm
资源名称:huibian.rar [点击查看]
上传用户:xinbaokeji
上传日期:2022-07-05
资源大小:295k
文件大小:0k
源码类别:
汇编语言
开发平台:
Visual C++
- STACK SEGMENT PARA STACK 'STACK'
- DW 10 DUP(?)
- STACK ENDS
- CODE SEGMENT
- ASSUME CS:CODE,SS:STACK
- START: MOV CX,10
- MOV SP,20
- LP1: MOV AH,01H
- INT 21H
- MOV AH,0
- PUSH AX
- LOOP LP1
- MOV CX,10
- LP2: POP DX
- MOV AH,02H
- INT 21H
- LOOP LP2
- MOV AH,4CH
- INT 21H
- CODE ENDS
- END START