

```
assume cs:codesg,ds: datasg
datasg segment
db "BasiCr"
db "MinIX"
datasg ends
codesg segment
start:mov ax,datasg
mov ds, ax
mov bx,0
mov cx,5
s:mov al,[bx]
and al,11011111b
mov [bx],al
mov al,[5+bx]
or al,00100000b
mov [5+bx],al
inc bx
loop s
mov ax, 4c00H
int 21H
codesg ends
end start
```

c语言数组操作和上面汇编方式有异曲同工之妙

