assume cs:code,ds:data
data segment
db 'BaSic'
db 'INFORMaTION'
data ends
code segment
start:
mov ax,data
mov ds,ax
mov bx,0
mov cx,5
s: mov al,[bx]
and al,01001111b
mov [bx],al
inc bx ; bx+1
loop s
mov cx,11
s0:
mov al,[bx]
or al,01100000b
mov [bx],al
inc bx
loop s0
mov ax,4c00h
int 21h
code ends
end start
标签:汇编,8086,code,data,mov,al,大小写,ax,bx
From: https://www.cnblogs.com/pphboy/p/17183026.html