include io32.inc
.data
space byte 0
.code
mov bl,0
start:mov al,0
call readc
cmp al,0dh
jz output
cmp al,' '
jnz start
inc bl
jmp start
output:mov space[0],bl
mov al,bl
call dispcrlf
call dispuib
exit 0
end start
汇编-32位-计算空格个数
最新推荐文章于 2021-06-08 23:06:24 发布