1.

2.assume cs:code, ds:data
data segment
     db 12,35,96,55,67
data ends
code segment
start:
     mov ax,data
     mov ds,ax
     mov bx,0
     mov cx,5
    mov ax,2200
s:
mov ah,0
   mov al,ds:[bx]
   mov dl,10
   div dl

mov ds:[5],al
mov ds:[6],ah

mov ah,2
mov dl,ds:[5]
or dl,30h
int 21h
mov ah,2
mov dl,ds:[6]
add dl,30h
int 21h
mov ah,2
mov dl,20h
int 21h
inc bx
loop s

      mov ax,4c00h
      int 21h
code ends
end start

3.

assume ds:data, cs:code
data segment
       db 'welcome to masm!'  
       db 2H,24H,71H          ;字符串属性值
data ends

code segment
start:  mov ax,data
        mov ds,ax            ;字符串及属性值所在段的段地址送入ds
        
        mov ax,0b800H
        mov es,ax            ;80×25彩色字符模式显示缓冲区段地址送入es
        
      mov bx,0720h
mov si,0
mov cx,16
s:mov ax,ds:[si]
mov ah,02h
mov word ptr es:[bx],ax
mov ah,24h
mov word ptr es:[bx+0a0h],ax
mov ah,71h
mov word ptr es:[bx+0a0h+0a0h],ax
inc si;
add bx,2
loop s

        mov ax,4c00h
        int 21h
code ends
end start