masm汇编字符串输出演示
assume cs:code, ds:datadata segmentmassage db 'zhouzunjie', 0dh, 0ah, '$'
data endscode segmentstart:mov ax, datamov ds, axmov ah, 09hlea dx, massageint 21hmov ax, 4c00hint 21hcode ends
end start
效果演示:
assume cs:code, ds:datadata segmentmassage db 'zhouzunjie', 0dh, 0ah, '$'
data endscode segmentstart:mov ax, datamov ds, axmov ah, 09hlea dx, massageint 21hmov ax, 4c00hint 21hcode ends
end start
效果演示: