1、
data segment
x dw 1234H
data ends
code segment
assume cs:code,ds:data
start:mov ax,data
mov ds,ax
mov dx,x
mov cl,4
rol dx,cl
and dx,000fh
mov al,dl
mov dx,x
mov cl,8
rol dx,cl
and dx,000fh
mov bl,dl
mov dx,x
mov cl,12
rol dx,cl
and dx,000fh
mov cl,dl
mov dx,x
and dx,000fh
mov ah,4ch
int 21h
code ends
end start