1 Star 1 Fork 0

徐宇华/ASM程序整体逻辑艺术效应设计试验

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
pros2.asm 503 Bytes
一键复制 编辑 原始数据 按行查看 历史
徐宇华 提交于 2021-06-10 16:30 . asm平时代码练习。。
code segment
assume cs:code
org 100h
main proc far
push ds
mov ax,0h
push ax
start:
mov ah,7
int 21h
p0:
cmp al,30h
js exit
cmp al,39h
ja p1
jmp outa
p1:
cmp al,41h
js exit
cmp al,46h
ja p2
sub al,11h
jmp aute
p2:
cmp al,61h
js exit
cmp al,66h
ja exit
sub al,31h
jmp aute
aute:
push ax
mov dl,31h
mov ah,2
int 21h
pop ax
outa:
mov dl,al
mov ah,2
int 21h
mov al,'.'
mov dl,al
mov ah,2
int 21h
jmp start
exit:
ret
main endp
code ends
end main
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
汇编
1
https://gitee.com/xu-yuhua202-ZJdomc_dgcsz/asm_star_romtiyer.git
git@gitee.com:xu-yuhua202-ZJdomc_dgcsz/asm_star_romtiyer.git
xu-yuhua202-ZJdomc_dgcsz
asm_star_romtiyer
ASM程序整体逻辑艺术效应设计试验
master

搜索帮助